Lines Matching refs:gparent
88 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()
181 augment_rotate(gparent, parent); in __rb_insert()
184 tmp = gparent->rb_left; in __rb_insert()
187 rb_set_parent_color(tmp, gparent, RB_BLACK); in __rb_insert()
188 rb_set_parent_color(parent, gparent, RB_BLACK); in __rb_insert()
189 node = gparent; in __rb_insert()
211 WRITE_ONCE(gparent->rb_right, tmp); /* == parent->rb_left */ in __rb_insert()
212 WRITE_ONCE(parent->rb_left, gparent); in __rb_insert()
214 rb_set_parent_color(tmp, gparent, RB_BLACK); in __rb_insert()
215 __rb_rotate_set_parents(gparent, parent, root, RB_RED); in __rb_insert()
216 augment_rotate(gparent, parent); in __rb_insert()