Home
last modified time | relevance | path

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

/lib/
Drbtree.c88 struct rb_node *parent = rb_red_parent(node), *gparent, *tmp; in __rb_insert() local
113 gparent = rb_red_parent(parent); in __rb_insert()
115 tmp = gparent->rb_right; in __rb_insert()
131 rb_set_parent_color(tmp, gparent, RB_BLACK); in __rb_insert()
132 rb_set_parent_color(parent, gparent, RB_BLACK); in __rb_insert()
133 node = gparent; in __rb_insert()
176 WRITE_ONCE(gparent->rb_left, tmp); /* == parent->rb_right */ in __rb_insert()
177 WRITE_ONCE(parent->rb_right, gparent); in __rb_insert()
179 rb_set_parent_color(tmp, gparent, RB_BLACK); in __rb_insert()
180 __rb_rotate_set_parents(gparent, parent, root, RB_RED); in __rb_insert()
[all …]