Lines Matching refs:va_holes
54 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()
207 if (next != hole && &next->list != &mgr->va_holes && in amdgpu_vamgr_free_va()