Home
last modified time | relevance | path

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

/linux-6.1.9/include/drm/
Ddrm_mm.h167 struct list_head hole_stack; member
206 struct list_head hole_stack; member
278 return READ_ONCE(mm->hole_stack.next); in drm_mm_initialized()
395 for (pos = list_first_entry(&(mm)->hole_stack, \
396 typeof(*pos), hole_stack); \
397 &pos->hole_stack != &(mm)->hole_stack ? \
401 pos = list_next_entry(pos, hole_stack))
/linux-6.1.9/drivers/gpu/drm/
Ddrm_mm.c278 list_add(&node->hole_stack, &mm->hole_stack); in add_hole()
285 list_del(&node->hole_stack); in rm_hole()
372 return list_first_entry_or_null(&mm->hole_stack, in first_hole()
374 hole_stack); in first_hole()
431 node = list_next_entry(node, hole_stack); in DECLARE_NEXT_HOLE_ADDR()
432 return &node->hole_stack == &mm->hole_stack ? NULL : node; in DECLARE_NEXT_HOLE_ADDR()
673 list_replace(&old->hole_stack, &new->hole_stack); in drm_mm_replace_node()
918 DRM_MM_BUG_ON(list_empty(&mm->hole_stack)); in drm_mm_scan_color_evict()
928 list_for_each_entry(hole, &mm->hole_stack, hole_stack) { in drm_mm_scan_color_evict()
938 DRM_MM_BUG_ON(&hole->hole_stack == &mm->hole_stack); in drm_mm_scan_color_evict()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_mman.c675 list_for_each_entry_safe(hole, next, &mm->hole_stack, hole_stack) { in igt_mmap_offset_exhaustion()
704 GEM_BUG_ON(!list_is_singular(&mm->hole_stack)); in igt_mmap_offset_exhaustion()
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c1268 struct drm_mm_node *a = list_entry(A, typeof(*a), hole_stack); in sort_holes()
1269 struct drm_mm_node *b = list_entry(B, typeof(*b), hole_stack); in sort_holes()
1289 list_sort(NULL, &ggtt->vm.mm.hole_stack, sort_holes); in exercise_ggtt()