Home
last modified time | relevance | path

Searched refs:ids_lru (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ids.c221 list_for_each_entry((*idle), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_idle()
233 if (&(*idle)->list == &id_mgr->ids_lru) { in amdgpu_vmid_grab_idle()
350 list_for_each_entry_reverse((*id), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_used()
434 list_move_tail(&id->list, &id_mgr->ids_lru); in amdgpu_vmid_grab()
486 id = list_first_entry(&id_mgr->ids_lru, struct amdgpu_vmid, in amdgpu_vmid_alloc_reserved()
505 list_add(&id_mgr->reserved->list, &id_mgr->ids_lru); in amdgpu_vmid_free_reserved()
574 INIT_LIST_HEAD(&id_mgr->ids_lru); in amdgpu_vmid_mgr_init()
584 list_add_tail(&id_mgr->ids[j].list, &id_mgr->ids_lru); in amdgpu_vmid_mgr_init()
H A Damdgpu_ids.h68 struct list_head ids_lru; member