Home
last modified time | relevance | path

Searched refs:gparent (Results 1 – 1 of 1) sorted by relevance

/lib/
Drbtree.c76 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local
92 gparent = rb_red_parent(parent); in __rb_insert()
94 tmp = gparent->rb_right; in __rb_insert()
110 rb_set_parent_color(tmp, gparent, RB_BLACK); in __rb_insert()
111 rb_set_parent_color(parent, gparent, RB_BLACK); in __rb_insert()
112 node = gparent; in __rb_insert()
152 gparent->rb_left = tmp; /* == parent->rb_right */ in __rb_insert()
153 parent->rb_right = gparent; in __rb_insert()
155 rb_set_parent_color(tmp, gparent, RB_BLACK); in __rb_insert()
156 __rb_rotate_set_parents(gparent, parent, root, RB_RED); in __rb_insert()
[all …]