Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/gpu/drm/
Ddrm_mm.c104 static inline unsigned long drm_mm_hole_node_start(struct drm_mm_node *hole_node) in drm_mm_hole_node_start() argument
106 return hole_node->start + hole_node->size; in drm_mm_hole_node_start()
109 static inline unsigned long drm_mm_hole_node_end(struct drm_mm_node *hole_node) in drm_mm_hole_node_end() argument
112 list_entry(hole_node->node_list.next, struct drm_mm_node, in drm_mm_hole_node_end()
118 static void drm_mm_insert_helper(struct drm_mm_node *hole_node, in drm_mm_insert_helper() argument
122 struct drm_mm *mm = hole_node->mm; in drm_mm_insert_helper()
124 unsigned long hole_start = drm_mm_hole_node_start(hole_node); in drm_mm_insert_helper()
125 unsigned long hole_end = drm_mm_hole_node_end(hole_node); in drm_mm_insert_helper()
127 BUG_ON(!hole_node->hole_follows || node->allocated); in drm_mm_insert_helper()
133 hole_node->hole_follows = 0; in drm_mm_insert_helper()
[all …]