Lines Matching refs:drm_mm_node

48 struct drm_mm_node {
68 struct drm_mm_node head_node;
81 struct drm_mm_node *prev_scanned_node;
83 void (*color_adjust)(struct drm_mm_node *node, unsigned long color,
87 static inline bool drm_mm_node_allocated(struct drm_mm_node *node)
93 extern unsigned long __drm_mm_hole_node_start(struct drm_mm_node *hole_node);
94 extern unsigned long drm_mm_hole_node_start(struct drm_mm_node *hole_node);
95 extern unsigned long __drm_mm_hole_node_end(struct drm_mm_node *hole_node);
96 extern unsigned long drm_mm_hole_node_end(struct drm_mm_node *hole_node);
103 struct drm_mm_node, node_list) : NULL; \
106 struct drm_mm_node, node_list) : NULL) \
113 for (entry = list_entry((mm)->hole_stack.next, struct drm_mm_node, hole_stack); \
118 entry = list_entry(entry->hole_stack.next, struct drm_mm_node, hole_stack))
123 extern struct drm_mm_node *drm_mm_create_block(struct drm_mm *mm,
127 extern struct drm_mm_node *drm_mm_get_block_generic(struct drm_mm_node *node,
132 extern struct drm_mm_node *drm_mm_get_block_range_generic(
133 struct drm_mm_node *node,
140 extern struct drm_mm_node *drm_mm_get_block(struct drm_mm_node *parent,
144 extern struct drm_mm_node *drm_mm_get_block_atomic(struct drm_mm_node *parent,
148 extern struct drm_mm_node *drm_mm_get_block_range(
149 struct drm_mm_node *parent,
155 extern struct drm_mm_node *drm_mm_get_block_atomic_range(
156 struct drm_mm_node *parent,
163 struct drm_mm_node *node,
167 struct drm_mm_node *node,
173 struct drm_mm_node *node,
178 struct drm_mm_node *node,
184 extern void drm_mm_put_block(struct drm_mm_node *cur);
185 extern void drm_mm_remove_node(struct drm_mm_node *node);
186 extern void drm_mm_replace_node(struct drm_mm_node *old, struct drm_mm_node *new);
187 extern struct drm_mm_node *drm_mm_search_free_generic(const struct drm_mm *mm,
192 extern struct drm_mm_node *drm_mm_search_free_in_range_generic(
200 extern struct drm_mm_node *drm_mm_search_free(const struct drm_mm *mm,
204 extern struct drm_mm_node *drm_mm_search_free_in_range(
217 static inline struct drm_mm *drm_get_mm(struct drm_mm_node *block)
232 int drm_mm_scan_add_block(struct drm_mm_node *node);
233 int drm_mm_scan_remove_block(struct drm_mm_node *node);