Home
last modified time | relevance | path

Searched refs:va_holes (Results 1 – 3 of 3) sorted by relevance

/external/libdrm/amdgpu/
Damdgpu_vamgr.c54 list_inithead(&mgr->va_holes); in amdgpu_vamgr_init()
61 LIST_FOR_EACH_ENTRY_SAFE(hole, tmp, &mgr->va_holes, list) { in amdgpu_vamgr_deinit()
84 LIST_FOR_EACH_ENTRY_SAFE(hole, n, &mgr->va_holes, list) { in amdgpu_vamgr_find_va()
148 list_add(&n->list, &mgr->va_holes); in amdgpu_vamgr_find_va()
171 if (!LIST_IS_EMPTY(&mgr->va_holes)) { in amdgpu_vamgr_free_va()
172 hole = container_of(mgr->va_holes.next, hole, list); in amdgpu_vamgr_free_va()
182 hole = container_of(&mgr->va_holes, hole, list); in amdgpu_vamgr_free_va()
183 LIST_FOR_EACH_ENTRY(next, &mgr->va_holes, list) { in amdgpu_vamgr_free_va()
189 if (&hole->list != &mgr->va_holes) { in amdgpu_vamgr_free_va()
196 && &next->list != &mgr->va_holes in amdgpu_vamgr_free_va()
[all …]
Damdgpu_internal.h58 struct list_head va_holes; member
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c124 struct list_head va_holes; member
206 LIST_FOR_EACH_ENTRY_SAFE(hole, n, &mgr->va_holes, list) { in radeon_bomgr_find_va()
253 list_add(&n->list, &mgr->va_holes); in radeon_bomgr_find_va()
271 list_add(&hole->list, &mgr->va_holes); in radeon_bomgr_force_va()
281 LIST_FOR_EACH_ENTRY_SAFE(hole, n, &mgr->va_holes, list) { in radeon_bomgr_force_va()
309 if (!LIST_IS_EMPTY(&mgr->va_holes)) { in radeon_bomgr_free_va()
310 hole = container_of(mgr->va_holes.next, hole, list); in radeon_bomgr_free_va()
320 hole = container_of(&mgr->va_holes, hole, list); in radeon_bomgr_free_va()
321 LIST_FOR_EACH_ENTRY(next, &mgr->va_holes, list) { in radeon_bomgr_free_va()
327 if (&hole->list != &mgr->va_holes) { in radeon_bomgr_free_va()
[all …]