Lines Matching defs:drm_mm_node

66  * reuse the most recent eviction that fits. When allocating the &drm_mm_node
99 * (&drm_mm_node.start).
149 * struct drm_mm_node - allocated block in the DRM allocator
157 struct drm_mm_node {
200 void (*color_adjust)(const struct drm_mm_node *node,
209 struct drm_mm_node head_node;
247 * @node: drm_mm_node to check
258 static inline bool drm_mm_node_allocated(const struct drm_mm_node *node)
283 * @node: drm_mm_node to check
285 * Holes are embedded into the drm_mm using the tail of a drm_mm_node.
293 static inline bool drm_mm_hole_follows(const struct drm_mm_node *node)
298 static inline u64 __drm_mm_hole_node_start(const struct drm_mm_node *hole_node)
305 * @hole_node: drm_mm_node which implicitly tracks the following hole
314 static inline u64 drm_mm_hole_node_start(const struct drm_mm_node *hole_node)
320 static inline u64 __drm_mm_hole_node_end(const struct drm_mm_node *hole_node)
327 * @hole_node: drm_mm_node which implicitly tracks the following hole
336 static inline u64 drm_mm_hole_node_end(const struct drm_mm_node *hole_node)
357 * @entry: &struct drm_mm_node to assign to in each iteration step
368 * @entry: &struct drm_mm_node to assign to in each iteration step
369 * @next: &struct drm_mm_node to store the next step
380 * @pos: &drm_mm_node used internally to track progress
387 * internally and will not reflect a real drm_mm_node for the very first hole.
406 int drm_mm_reserve_node(struct drm_mm *mm, struct drm_mm_node *node);
408 struct drm_mm_node *node,
434 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node,
459 struct drm_mm_node *node,
465 void drm_mm_remove_node(struct drm_mm_node *node);
466 void drm_mm_replace_node(struct drm_mm_node *old, struct drm_mm_node *new);
483 struct drm_mm_node *
489 * @node__: drm_mm_node structure to assign to in each iteration step
546 struct drm_mm_node *node);
548 struct drm_mm_node *node);
549 struct drm_mm_node *drm_mm_scan_color_evict(struct drm_mm_scan *scan);