Lines Matching refs:set_child
34 static void set_child(struct rbnode *n, uint8_t side, void *val) in set_child() function
143 set_child(grandparent, get_side(grandparent, parent), child); in rotate()
146 set_child(child, side, a); in rotate()
147 set_child(child, (side == 0U) ? 1U : 0U, parent); in rotate()
148 set_child(parent, side, b); in rotate()
221 set_child(node, 0U, NULL); in rb_insert()
222 set_child(node, 1U, NULL); in rb_insert()
243 set_child(parent, side, node); in rb_insert()
310 set_child(parent, n_side, NULL); in fix_missing_black()
366 set_child(parent, n_side, NULL); in fix_missing_black()
425 set_child(hiparent, get_side(hiparent, node), node2); in rb_remove()
431 set_child(node, 0U, get_child(node2, 0U)); in rb_remove()
432 set_child(node2, 0U, node); in rb_remove()
434 set_child(loparent, get_side(loparent, node2), node); in rb_remove()
436 set_child(node, 0U, get_child(node2, 0U)); in rb_remove()
437 set_child(node2, 0U, tmp); in rb_remove()
440 set_child(node2, 1U, get_child(node, 1U)); in rb_remove()
441 set_child(node, 1U, NULL); in rb_remove()
485 set_child(parent, get_side(parent, node), NULL); in rb_remove()
488 set_child(parent, get_side(parent, node), child); in rb_remove()