Searched refs:mm_node (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/drivers/gpu/drm/sis/ |
D | sis_mm.c | 48 struct drm_mm_node mm_node; member 114 &item->mm_node, in sis_drm_alloc() 116 offset = item->mm_node.start; in sis_drm_alloc() 126 &item->mm_node, in sis_drm_alloc() 128 offset = item->mm_node.start; in sis_drm_alloc() 151 drm_mm_remove_node(&item->mm_node); in sis_drm_alloc() 181 if (drm_mm_node_allocated(&obj->mm_node)) in sis_drm_free() 182 drm_mm_remove_node(&obj->mm_node); in sis_drm_free() 339 if (drm_mm_node_allocated(&entry->mm_node)) in sis_reclaim_buffers_locked() 340 drm_mm_remove_node(&entry->mm_node); in sis_reclaim_buffers_locked()
|
/Linux-v5.15/drivers/gpu/drm/via/ |
D | via_mm.c | 40 struct drm_mm_node mm_node; member 146 &item->mm_node, in via_mem_alloc() 150 &item->mm_node, in via_mem_alloc() 165 ((item->mm_node.start) << VIA_MM_ALIGN_SHIFT); in via_mem_alloc() 171 drm_mm_remove_node(&item->mm_node); in via_mem_alloc() 199 drm_mm_remove_node(&obj->mm_node); in via_mem_free() 233 drm_mm_remove_node(&entry->mm_node); in via_reclaim_buffers_locked()
|
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vram_mgr.c | 36 struct drm_mm_node mm_node; member 250 if (drm_mm_reserve_node(mm, &rsv->mm_node)) in amdgpu_vram_mgr_do_reserve() 254 rsv->mm_node.start, rsv->mm_node.size); in amdgpu_vram_mgr_do_reserve() 256 vis_usage = amdgpu_vram_mgr_vis_size(adev, &rsv->mm_node); in amdgpu_vram_mgr_do_reserve() 258 atomic64_add(rsv->mm_node.size << PAGE_SHIFT, &mgr->usage); in amdgpu_vram_mgr_do_reserve() 283 rsv->mm_node.start = start >> PAGE_SHIFT; in amdgpu_vram_mgr_reserve_range() 284 rsv->mm_node.size = size >> PAGE_SHIFT; in amdgpu_vram_mgr_reserve_range() 315 if ((rsv->mm_node.start <= start) && in amdgpu_vram_mgr_query_page_status() 316 (start < (rsv->mm_node.start + rsv->mm_node.size))) { in amdgpu_vram_mgr_query_page_status() 323 if ((rsv->mm_node.start <= start) && in amdgpu_vram_mgr_query_page_status() [all …]
|
D | amdgpu_gtt_mgr.c | 232 struct drm_mm_node *mm_node; in amdgpu_gtt_mgr_recover() local 237 drm_mm_for_each_node(mm_node, &mgr->mm) { in amdgpu_gtt_mgr_recover() 238 node = container_of(mm_node, typeof(*node), base.mm_nodes[0]); in amdgpu_gtt_mgr_recover()
|
/Linux-v5.15/mm/ |
D | khugepaged.c | 98 struct list_head mm_node; member 499 list_add_tail(&mm_slot->mm_node, &khugepaged_scan.mm_head); in __khugepaged_enter() 538 list_del(&mm_slot->mm_node); in __khugepaged_exit() 1388 list_del(&mm_slot->mm_node); in collect_mm_slot() 2094 struct mm_slot, mm_node); in khugepaged_scan_mm_slot() 2187 if (mm_slot->mm_node.next != &khugepaged_scan.mm_head) { in khugepaged_scan_mm_slot() 2189 mm_slot->mm_node.next, in khugepaged_scan_mm_slot() 2190 struct mm_slot, mm_node); in khugepaged_scan_mm_slot()
|