Home
last modified time | relevance | path

Searched refs:hole_stack (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/include/drm/
Ddrm_mm.h165 struct list_head hole_stack; member
204 struct list_head hole_stack; member
276 return READ_ONCE(mm->hole_stack.next); in drm_mm_initialized()
393 for (pos = list_first_entry(&(mm)->hole_stack, \
394 typeof(*pos), hole_stack); \
395 &pos->hole_stack != &(mm)->hole_stack ? \
399 pos = list_next_entry(pos, hole_stack))
/Linux-v5.10/drivers/gpu/drm/
Ddrm_mm.c281 list_add(&node->hole_stack, &mm->hole_stack); in add_hole()
288 list_del(&node->hole_stack); in rm_hole()
375 return list_first_entry_or_null(&mm->hole_stack, in first_hole()
377 hole_stack); in first_hole()
434 node = list_next_entry(node, hole_stack); in DECLARE_NEXT_HOLE_ADDR()
435 return &node->hole_stack == &mm->hole_stack ? NULL : node; in DECLARE_NEXT_HOLE_ADDR()
676 list_replace(&old->hole_stack, &new->hole_stack); in drm_mm_replace_node()
921 DRM_MM_BUG_ON(list_empty(&mm->hole_stack)); in drm_mm_scan_color_evict()
931 list_for_each_entry(hole, &mm->hole_stack, hole_stack) { in drm_mm_scan_color_evict()
941 DRM_MM_BUG_ON(&hole->hole_stack == &mm->hole_stack); in drm_mm_scan_color_evict()
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_mman.c636 list_for_each_entry_safe(hole, next, &mm->hole_stack, hole_stack) { in igt_mmap_offset_exhaustion()
665 GEM_BUG_ON(!list_is_singular(&mm->hole_stack)); in igt_mmap_offset_exhaustion()
/Linux-v5.10/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c1080 struct drm_mm_node *a = list_entry(A, typeof(*a), hole_stack); in sort_holes()
1081 struct drm_mm_node *b = list_entry(B, typeof(*b), hole_stack); in sort_holes()
1101 list_sort(NULL, &ggtt->vm.mm.hole_stack, sort_holes); in exercise_ggtt()