Home
last modified time | relevance | path

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

/linux/tools/include/linux/
H A Drbtree_augmented.h220 struct rb_node *successor = child, *child2; in __rb_erase_augmented() local
234 child2 = successor->rb_right; in __rb_erase_augmented()
257 child2 = successor->rb_right; in __rb_erase_augmented()
258 WRITE_ONCE(parent->rb_left, child2); in __rb_erase_augmented()
274 if (child2) { in __rb_erase_augmented()
276 rb_set_parent_color(child2, parent, RB_BLACK); in __rb_erase_augmented()
/linux/include/linux/
H A Drbtree_augmented.h278 struct rb_node *successor = child, *child2; in __rb_erase_augmented() local
292 child2 = successor->rb_right; in __rb_erase_augmented()
315 child2 = successor->rb_right; in __rb_erase_augmented()
316 WRITE_ONCE(parent->rb_left, child2); in __rb_erase_augmented()
332 if (child2) { in __rb_erase_augmented()
333 rb_set_parent_color(child2, parent, RB_BLACK); in __rb_erase_augmented()
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c42 char *parent = NULL, *child = NULL, *parent2 = NULL, *child2 = NULL; in test_cpucg_subtree_control() local
74 child2 = cg_name(parent2, "cpucg_test_child"); in test_cpucg_subtree_control()
75 if (!child2) in test_cpucg_subtree_control()
78 if (cg_create(child2)) in test_cpucg_subtree_control()
81 if (!cg_read_strstr(child2, "cgroup.controllers", "cpu")) in test_cpucg_subtree_control()
89 cg_destroy(child2); in test_cpucg_subtree_control()
90 free(child2); in test_cpucg_subtree_control()
H A Dtest_memcontrol.c131 char *parent, *child, *parent2 = NULL, *child2 = NULL; in test_memcg_subtree_control() local
155 child2 = cg_name(root, "memcg_test_1/memcg_test_1"); in test_memcg_subtree_control()
156 if (!parent2 || !child2) in test_memcg_subtree_control()
162 if (cg_create(child2)) in test_memcg_subtree_control()
165 if (cg_read(child2, "cgroup.controllers", buf, sizeof(buf))) in test_memcg_subtree_control()
168 if (!cg_read_strstr(child2, "cgroup.controllers", "memory")) in test_memcg_subtree_control()
174 cg_destroy(child2); in test_memcg_subtree_control()
179 free(child2); in test_memcg_subtree_control()
/linux/drivers/pinctrl/freescale/
H A Dpinctrl-mxs.c459 struct device_node *child2; in mxs_pinctrl_probe_dt() local
475 for (child2 = of_get_next_child(np, child); in mxs_pinctrl_probe_dt()
476 child2 != NULL; in mxs_pinctrl_probe_dt()
477 child2 = of_get_next_child(np, child2)) { in mxs_pinctrl_probe_dt()
478 if (!strcmp(child2->name, fn)) in mxs_pinctrl_probe_dt()
/linux/security/landlock/
H A Dfs.c486 const struct layer_masks *const child2, in no_more_access() argument
492 if (!child2) in no_more_access()
495 return may_refer(parent2, child2, parent1, child2_is_dir); in no_more_access()