Home
last modified time | relevance | path

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

/freebsd/sys/dev/drm2/
H A Ddrm_mm.c100 static inline unsigned long drm_mm_hole_node_start(struct drm_mm_node *hole_node) in drm_mm_hole_node_start() argument
102 return hole_node->start + hole_node->size; in drm_mm_hole_node_start()
105 static inline unsigned long drm_mm_hole_node_end(struct drm_mm_node *hole_node) in drm_mm_hole_node_end() argument
108 list_entry(hole_node->node_list.next, struct drm_mm_node, in drm_mm_hole_node_end()
114 static void drm_mm_insert_helper(struct drm_mm_node *hole_node, in drm_mm_insert_helper() argument
119 struct drm_mm *mm = hole_node->mm; in drm_mm_insert_helper()
120 unsigned long hole_start = drm_mm_hole_node_start(hole_node); in drm_mm_insert_helper()
121 unsigned long hole_end = drm_mm_hole_node_end(hole_node); in drm_mm_insert_helper()
125 BUG_ON(!hole_node->hole_follows || node->allocated); in drm_mm_insert_helper()
128 mm->color_adjust(hole_node, color, &adj_start, &adj_end); in drm_mm_insert_helper()
[all …]