• Home
  • Raw
  • Download

Lines Matching refs:rb_right

84 		tmp = gparent->rb_right;  in __rb_insert()
108 tmp = parent->rb_right; in __rb_insert()
122 parent->rb_right = tmp = node->rb_left; in __rb_insert()
130 tmp = node->rb_right; in __rb_insert()
143 parent->rb_right = gparent; in __rb_insert()
164 parent->rb_left = tmp = node->rb_right; in __rb_insert()
165 node->rb_right = parent; in __rb_insert()
176 gparent->rb_right = tmp; /* == parent->rb_left */ in __rb_insert()
205 sibling = parent->rb_right; in ____rb_erase_color()
217 parent->rb_right = tmp1 = sibling->rb_left; in ____rb_erase_color()
225 tmp1 = sibling->rb_right; in ____rb_erase_color()
268 sibling->rb_left = tmp1 = tmp2->rb_right; in ____rb_erase_color()
269 tmp2->rb_right = sibling; in ____rb_erase_color()
270 parent->rb_right = tmp2; in ____rb_erase_color()
290 parent->rb_right = tmp2 = sibling->rb_left; in ____rb_erase_color()
303 parent->rb_left = tmp1 = sibling->rb_right; in ____rb_erase_color()
304 sibling->rb_right = parent; in ____rb_erase_color()
313 tmp2 = sibling->rb_right; in ____rb_erase_color()
329 sibling->rb_right = tmp1 = tmp2->rb_left; in ____rb_erase_color()
340 parent->rb_left = tmp2 = sibling->rb_right; in ____rb_erase_color()
341 sibling->rb_right = parent; in ____rb_erase_color()
428 while (n->rb_right) in rb_last()
429 n = n->rb_right; in rb_last()
445 if (node->rb_right) { in rb_next()
446 node = node->rb_right; in rb_next()
459 while ((parent = rb_parent(node)) && node == parent->rb_right) in rb_next()
479 while (node->rb_right) in rb_prev()
480 node=node->rb_right; in rb_prev()
504 if (victim->rb_right) in rb_replace_node()
505 rb_set_parent(victim->rb_right, new); in rb_replace_node()
517 else if (node->rb_right) in rb_left_deepest_node()
518 node = node->rb_right; in rb_left_deepest_node()
532 if (parent && node == parent->rb_left && parent->rb_right) { in rb_next_postorder()
535 return rb_left_deepest_node(parent->rb_right); in rb_next_postorder()