Lines Matching refs:hole
61 sa_manager->hole = &sa_manager->olist; in radeon_sa_bo_manager_init()
83 sa_manager->hole = &sa_manager->olist, in radeon_sa_bo_manager_fini()
145 if (sa_manager->hole == &sa_bo->olist) { in radeon_sa_bo_remove_locked()
146 sa_manager->hole = sa_bo->olist.prev; in radeon_sa_bo_remove_locked()
158 if (sa_manager->hole->next == &sa_manager->olist) in radeon_sa_bo_try_free()
161 sa_bo = list_entry(sa_manager->hole->next, struct radeon_sa_bo, olist); in radeon_sa_bo_try_free()
172 struct list_head *hole = sa_manager->hole; in radeon_sa_bo_hole_soffset() local
174 if (hole != &sa_manager->olist) { in radeon_sa_bo_hole_soffset()
175 return list_entry(hole, struct radeon_sa_bo, olist)->eoffset; in radeon_sa_bo_hole_soffset()
182 struct list_head *hole = sa_manager->hole; in radeon_sa_bo_hole_eoffset() local
184 if (hole->next != &sa_manager->olist) { in radeon_sa_bo_hole_eoffset()
185 return list_entry(hole->next, struct radeon_sa_bo, olist)->soffset; in radeon_sa_bo_hole_eoffset()
206 list_add(&sa_bo->olist, sa_manager->hole); in radeon_sa_bo_try_alloc()
208 sa_manager->hole = &sa_bo->olist; in radeon_sa_bo_try_alloc()
255 if (sa_manager->hole->next == &sa_manager->olist) { in radeon_sa_bo_next_hole()
257 sa_manager->hole = &sa_manager->olist; in radeon_sa_bo_next_hole()
304 sa_manager->hole = best_bo->olist.prev; in radeon_sa_bo_next_hole()
409 if (&i->olist == sa_manager->hole) { in radeon_sa_bo_dump_debug_info()