Lines Matching refs:node2
395 struct rbnode *node2 = get_child(node, 0U); in rb_remove() local
398 stack[stacksz] = node2; in rb_remove()
400 while (get_child(node2, 1U) != NULL) { in rb_remove()
401 node2 = get_child(node2, 1U); in rb_remove()
402 stack[stacksz] = node2; in rb_remove()
425 set_child(hiparent, get_side(hiparent, node), node2); in rb_remove()
427 tree->root = 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()
449 set_color(node, get_color(node2)); in rb_remove()
450 set_color(node2, ctmp); in rb_remove()