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()
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()
969 INIT_LIST_HEAD(&mm->hole_stack); in drm_mm_init()