/src/common/lib/libc/gen/ |
rb.c | 334 struct rb_node * const new_father = old_child; local in function:rb_tree_reparent_nodes 350 grandpa->rb_nodes[RB_POSITION(old_father)] = new_father; 352 new_father->rb_nodes[other] = new_child; 357 RB_SET_FATHER(new_father, grandpa); 358 RB_SET_FATHER(new_child, new_father); 361 * Exchange properties between new_father and new_child. The only 369 RB_COPY_PROPERTIES(new_father, old_father); 373 RB_SWAP_PROPERTIES(new_father, new_child); 385 KASSERT(rb_tree_check_node(rbt, new_father, NULL, false)); 387 KASSERT(RB_ROOT_P(rbt, new_father) || [all...] |
rb.c | 334 struct rb_node * const new_father = old_child; local in function:rb_tree_reparent_nodes 350 grandpa->rb_nodes[RB_POSITION(old_father)] = new_father; 352 new_father->rb_nodes[other] = new_child; 357 RB_SET_FATHER(new_father, grandpa); 358 RB_SET_FATHER(new_child, new_father); 361 * Exchange properties between new_father and new_child. The only 369 RB_COPY_PROPERTIES(new_father, old_father); 373 RB_SWAP_PROPERTIES(new_father, new_child); 385 KASSERT(rb_tree_check_node(rbt, new_father, NULL, false)); 387 KASSERT(RB_ROOT_P(rbt, new_father) || [all...] |