Lines Matching defs:new
71 * - old's parent and color get assigned to new
72 * - old gets assigned new as a parent and 'color' as a color.
75 __rb_rotate_set_parents(struct rb_node *old, struct rb_node *new,
79 new->__rb_parent_color = old->__rb_parent_color;
80 rb_set_parent_color(old, new, color);
81 __rb_change_child(old, new, parent, root);
86 void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
228 void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
411 void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
425 static inline void dummy_copy(struct rb_node *old, struct rb_node *new) {}
426 static inline void dummy_rotate(struct rb_node *old, struct rb_node *new) {}
457 void (*augment_rotate)(struct rb_node *old, struct rb_node *new))
553 void rb_replace_node(struct rb_node *victim, struct rb_node *new,
559 *new = *victim;
563 rb_set_parent(victim->rb_left, new);
565 rb_set_parent(victim->rb_right, new);
566 __rb_change_child(victim, new, parent, root);
570 void rb_replace_node_rcu(struct rb_node *victim, struct rb_node *new,
576 *new = *victim;
580 rb_set_parent(victim->rb_left, new);
582 rb_set_parent(victim->rb_right, new);
584 /* Set the parent's pointer to the new node last after an RCU barrier
588 __rb_change_child_rcu(victim, new, parent, root);