Home
last modified time | relevance | path

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

/linux/include/drm/
A 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/drivers/gpu/drm/
A Ddrm_mm.c278 list_add(&node->hole_stack, &mm->hole_stack); in add_hole()
285 list_del(&node->hole_stack); in rm_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()
939 if (unlikely(&hole->hole_stack == &mm->hole_stack)) in drm_mm_scan_color_evict()
[all …]
/linux/drivers/gpu/drm/i915/gem/selftests/
A Di915_gem_mman.c661 list_for_each_entry_safe(hole, next, &mm->hole_stack, hole_stack) { in igt_mmap_offset_exhaustion()
690 GEM_BUG_ON(!list_is_singular(&mm->hole_stack)); in igt_mmap_offset_exhaustion()
/linux/drivers/gpu/drm/i915/selftests/
A Di915_gem_gtt.c1111 struct drm_mm_node *a = list_entry(A, typeof(*a), hole_stack); in sort_holes()
1112 struct drm_mm_node *b = list_entry(B, typeof(*b), hole_stack); in sort_holes()
1132 list_sort(NULL, &ggtt->vm.mm.hole_stack, sort_holes); in exercise_ggtt()

Completed in 13 milliseconds