Lines Matching defs:new
652 * drm_mm_replace_node - move an allocation from @old to @new
654 * @new: drm_mm_node which should inherit @old's allocation
660 void drm_mm_replace_node(struct drm_mm_node *old, struct drm_mm_node *new)
666 *new = *old;
668 __set_bit(DRM_MM_NODE_ALLOCATED_BIT, &new->flags);
669 list_replace(&old->node_list, &new->node_list);
670 rb_replace_node_cached(&old->rb, &new->rb, &mm->interval_tree);
673 list_replace(&old->hole_stack, &new->hole_stack);
675 &new->rb_hole_size,
678 &new->rb_hole_addr,
690 * evicting objects to make space for a new one it is therefore not most