Home
last modified time | relevance | path

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

/linux-6.1.9/tools/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/arch/powerpc/platforms/powermac/
Dpfunc_base.c98 struct device_node *gparent, *gp; in macio_gpio_init_one() local
104 for_each_child_of_node(macio->of_node, gparent) in macio_gpio_init_one()
105 if (of_node_name_eq(gparent, "gpio")) in macio_gpio_init_one()
107 if (gparent == NULL) in macio_gpio_init_one()
117 for_each_child_of_node(gparent, gp) { in macio_gpio_init_one()
136 for_each_child_of_node(gparent, gp) in macio_gpio_init_one()
139 of_node_put(gparent); in macio_gpio_init_one()