Lines Matching defs:new_child
335 struct rb_node * const new_child = old_father;
351 new_child->rb_nodes[which] = old_child->rb_nodes[other];
352 new_father->rb_nodes[other] = new_child;
358 RB_SET_FATHER(new_child, new_father);
361 * Exchange properties between new_father and new_child. The only
362 * change is that new_child's position is now on the other side.
370 RB_COPY_PROPERTIES(new_child, &tmp);
373 RB_SWAP_PROPERTIES(new_father, new_child);
375 RB_SET_POSITION(new_child, other);
380 if (!RB_SENTINEL_P(new_child->rb_nodes[which])) {
381 RB_SET_FATHER(new_child->rb_nodes[which], new_child);
382 RB_SET_POSITION(new_child->rb_nodes[which], which);
386 KASSERT(rb_tree_check_node(rbt, new_child, NULL, false));