Lines Matching refs:blocks

40 	struct list_head blocks;  member
288 list_for_each_entry(block, &vres->blocks, link) in amdgpu_vram_mgr_bo_visible_size()
304 list_for_each_entry_safe(rsv, temp, &mgr->reservations_pending, blocks) { in amdgpu_vram_mgr_do_reserve()
322 list_move(&rsv->blocks, &mgr->reserved_pages); in amdgpu_vram_mgr_do_reserve()
345 INIT_LIST_HEAD(&rsv->blocks); in amdgpu_vram_mgr_reserve_range()
351 list_add_tail(&rsv->blocks, &mgr->reservations_pending); in amdgpu_vram_mgr_reserve_range()
377 list_for_each_entry(rsv, &mgr->reservations_pending, blocks) { in amdgpu_vram_mgr_query_page_status()
385 list_for_each_entry(rsv, &mgr->reserved_pages, blocks) { in amdgpu_vram_mgr_query_page_status()
500 INIT_LIST_HEAD(&vres->blocks); in amdgpu_vram_mgr_new()
550 &vres->blocks, in amdgpu_vram_mgr_new()
577 dcc_block = amdgpu_vram_mgr_first_block(&vres->blocks); in amdgpu_vram_mgr_new()
585 &vres->blocks); in amdgpu_vram_mgr_new()
589 size = max_t(u64, amdgpu_vram_mgr_blocks_size(&vres->blocks), in amdgpu_vram_mgr_new()
591 list_for_each_entry(block, &vres->blocks, link) { in amdgpu_vram_mgr_new()
607 if (amdgpu_is_vram_mgr_blocks_contiguous(&vres->blocks)) in amdgpu_vram_mgr_new()
620 drm_buddy_free_list(mm, &vres->blocks, 0); in amdgpu_vram_mgr_new()
648 list_for_each_entry(block, &vres->blocks, link) in amdgpu_vram_mgr_del()
653 drm_buddy_free_list(mm, &vres->blocks, vres->flags); in amdgpu_vram_mgr_del()
804 list_for_each_entry(block, &mgr->blocks, link) { in amdgpu_vram_mgr_intersects()
837 list_for_each_entry(block, &mgr->blocks, link) { in amdgpu_vram_mgr_compatible()
876 list_for_each_entry(rsv, &mgr->reserved_pages, blocks) in amdgpu_vram_mgr_debug()
957 list_for_each_entry_safe(rsv, temp, &mgr->reservations_pending, blocks) in amdgpu_vram_mgr_fini()
960 list_for_each_entry_safe(rsv, temp, &mgr->reserved_pages, blocks) { in amdgpu_vram_mgr_fini()