Lines Matching refs:hole_stack
278 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()
883 DRM_MM_BUG_ON(list_empty(&mm->hole_stack)); in drm_mm_scan_color_evict()
893 list_for_each_entry(hole, &mm->hole_stack, hole_stack) { in drm_mm_scan_color_evict()
903 DRM_MM_BUG_ON(&hole->hole_stack == &mm->hole_stack); in drm_mm_scan_color_evict()
904 if (unlikely(&hole->hole_stack == &mm->hole_stack)) in drm_mm_scan_color_evict()
934 INIT_LIST_HEAD(&mm->hole_stack); in drm_mm_init()