• Home
  • Raw
  • Download

Lines Matching refs:olist

61 	sa_manager->hole = &sa_manager->olist;  in amdgpu_sa_bo_manager_init()
62 INIT_LIST_HEAD(&sa_manager->olist); in amdgpu_sa_bo_manager_init()
82 if (!list_empty(&sa_manager->olist)) { in amdgpu_sa_bo_manager_fini()
83 sa_manager->hole = &sa_manager->olist, in amdgpu_sa_bo_manager_fini()
85 if (!list_empty(&sa_manager->olist)) { in amdgpu_sa_bo_manager_fini()
89 list_for_each_entry_safe(sa_bo, tmp, &sa_manager->olist, olist) { in amdgpu_sa_bo_manager_fini()
145 if (sa_manager->hole == &sa_bo->olist) { in amdgpu_sa_bo_remove_locked()
146 sa_manager->hole = sa_bo->olist.prev; in amdgpu_sa_bo_remove_locked()
148 list_del_init(&sa_bo->olist); in amdgpu_sa_bo_remove_locked()
158 if (sa_manager->hole->next == &sa_manager->olist) in amdgpu_sa_bo_try_free()
161 sa_bo = list_entry(sa_manager->hole->next, struct amdgpu_sa_bo, olist); in amdgpu_sa_bo_try_free()
162 list_for_each_entry_safe_from(sa_bo, tmp, &sa_manager->olist, olist) { in amdgpu_sa_bo_try_free()
175 if (hole != &sa_manager->olist) { in amdgpu_sa_bo_hole_soffset()
176 return list_entry(hole, struct amdgpu_sa_bo, olist)->eoffset; in amdgpu_sa_bo_hole_soffset()
185 if (hole->next != &sa_manager->olist) { in amdgpu_sa_bo_hole_eoffset()
186 return list_entry(hole->next, struct amdgpu_sa_bo, olist)->soffset; in amdgpu_sa_bo_hole_eoffset()
207 list_add(&sa_bo->olist, sa_manager->hole); in amdgpu_sa_bo_try_alloc()
209 sa_manager->hole = &sa_bo->olist; in amdgpu_sa_bo_try_alloc()
256 if (sa_manager->hole->next == &sa_manager->olist) { in amdgpu_sa_bo_next_hole()
258 sa_manager->hole = &sa_manager->olist; in amdgpu_sa_bo_next_hole()
304 sa_manager->hole = best_bo->olist.prev; in amdgpu_sa_bo_next_hole()
333 INIT_LIST_HEAD(&(*sa_bo)->olist); in amdgpu_sa_bo_new()
435 list_for_each_entry(i, &sa_manager->olist, olist) { in amdgpu_sa_bo_dump_debug_info()
438 if (&i->olist == sa_manager->hole) { in amdgpu_sa_bo_dump_debug_info()