Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_vamgr.c52 list_inithead(&mgr->va_holes); in amdgpu_vamgr_init()
58 list_add(&n->list, &mgr->va_holes); in amdgpu_vamgr_init()
65 LIST_FOR_EACH_ENTRY_SAFE(hole, tmp, &mgr->va_holes, list) { in amdgpu_vamgr_deinit()
87 LIST_FOR_EACH_ENTRY_SAFE_REV(hole, n, &mgr->va_holes, list) { in amdgpu_vamgr_find_va()
144 hole = container_of(&mgr->va_holes, hole, list); in amdgpu_vamgr_free_va()
145 LIST_FOR_EACH_ENTRY(next, &mgr->va_holes, list) { in amdgpu_vamgr_free_va()
151 if (&hole->list != &mgr->va_holes) { in amdgpu_vamgr_free_va()
158 &next->list != &mgr->va_holes && in amdgpu_vamgr_free_va()
169 if (next != hole && &next->list != &mgr->va_holes && in amdgpu_vamgr_free_va()
Damdgpu_internal.h53 struct list_head va_holes; member
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c214 LIST_FOR_EACH_ENTRY_SAFE(hole, n, &rws->va_holes, list) { in radeon_bomgr_find_va()
255 list_add(&n->list, &rws->va_holes); in radeon_bomgr_find_va()
274 if (!LIST_IS_EMPTY(&rws->va_holes)) { in radeon_bomgr_free_va()
275 hole = container_of(rws->va_holes.next, hole, list); in radeon_bomgr_free_va()
285 hole = container_of(&rws->va_holes, hole, list); in radeon_bomgr_free_va()
286 LIST_FOR_EACH_ENTRY(next, &rws->va_holes, list) { in radeon_bomgr_free_va()
292 if (&hole->list != &rws->va_holes) { in radeon_bomgr_free_va()
298 if (next != hole && &next->list != &rws->va_holes && in radeon_bomgr_free_va()
309 if (next != hole && &next->list != &rws->va_holes && in radeon_bomgr_free_va()
Dradeon_drm_winsys.h83 struct list_head va_holes; member
Dradeon_drm_winsys.c822 list_inithead(&ws->va_holes); in radeon_drm_winsys_create()