Lines Matching refs:blocks
38 struct list_head blocks; member
262 list_for_each_entry(block, &vres->blocks, link) in amdgpu_vram_mgr_bo_visible_size()
278 list_for_each_entry_safe(rsv, temp, &mgr->reservations_pending, blocks) { in amdgpu_vram_mgr_do_reserve()
296 list_move(&rsv->blocks, &mgr->reserved_pages); in amdgpu_vram_mgr_do_reserve()
319 INIT_LIST_HEAD(&rsv->blocks); in amdgpu_vram_mgr_reserve_range()
325 list_add_tail(&rsv->blocks, &mgr->reservations_pending); in amdgpu_vram_mgr_reserve_range()
351 list_for_each_entry(rsv, &mgr->reservations_pending, blocks) { in amdgpu_vram_mgr_query_page_status()
359 list_for_each_entry(rsv, &mgr->reserved_pages, blocks) { in amdgpu_vram_mgr_query_page_status()
472 INIT_LIST_HEAD(&vres->blocks); in amdgpu_vram_mgr_new()
522 &vres->blocks, in amdgpu_vram_mgr_new()
540 trim_list = &vres->blocks; in amdgpu_vram_mgr_new()
547 if (!list_is_singular(&vres->blocks)) { in amdgpu_vram_mgr_new()
548 block = list_last_entry(&vres->blocks, typeof(*block), link); in amdgpu_vram_mgr_new()
565 list_splice_tail(trim_list, &vres->blocks); in amdgpu_vram_mgr_new()
569 list_for_each_entry(block, &vres->blocks, link) { in amdgpu_vram_mgr_new()
585 if (amdgpu_is_vram_mgr_blocks_contiguous(&vres->blocks)) in amdgpu_vram_mgr_new()
598 drm_buddy_free_list(mm, &vres->blocks); in amdgpu_vram_mgr_new()
626 list_for_each_entry(block, &vres->blocks, link) in amdgpu_vram_mgr_del()
631 drm_buddy_free_list(mm, &vres->blocks); in amdgpu_vram_mgr_del()
782 list_for_each_entry(block, &mgr->blocks, link) { in amdgpu_vram_mgr_intersects()
815 list_for_each_entry(block, &mgr->blocks, link) { in amdgpu_vram_mgr_compatible()
854 list_for_each_entry(rsv, &mgr->reserved_pages, blocks) in amdgpu_vram_mgr_debug()
935 list_for_each_entry_safe(rsv, temp, &mgr->reservations_pending, blocks) in amdgpu_vram_mgr_fini()
938 list_for_each_entry_safe(rsv, temp, &mgr->reserved_pages, blocks) { in amdgpu_vram_mgr_fini()