| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | cgroup_iter.c | 14 #define CHILD2 3 macro 21 "/", "/parent", "/parent/child1", "/parent/child2" 135 cg_id[PARENT], cg_id[CHILD1], cg_id[CHILD2]); in test_walk_preorder() 146 cg_id[CHILD1], cg_id[CHILD2], cg_id[PARENT]); in test_walk_postorder() 197 cg_id[CHILD2]); in test_walk_dead_self_only() 292 err = join_cgroup(cg_path[CHILD2]); in test_walk_self_only_css_task() 298 PROLOGUE "%8llu\n" EPILOGUE, cg_id[CHILD2]); in test_cgroup_iter() 299 read_from_cgroup_iter(skel->progs.cgroup_id_printer, cg_fd[CHILD2], in test_cgroup_iter()
|
| H A D | cgroup_hierarchical_stats.c | 57 CGROUP_PATH("/test", "child2"), 60 CGROUP_PATH("/test/child2", "child2_1"), 61 CGROUP_PATH("/test/child2", "child2_2"), 234 /* Check that child2 == child2_1 + child2_2 */ in check_attach_counters() 237 /* Check that test == child1 + child2 */ in check_attach_counters()
|
| /linux/tools/include/linux/ |
| H A D | rbtree_augmented.h | 220 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 D | rbtree_augmented.h | 257 struct rb_node *successor = child, *child2; in __rb_erase_augmented() local 271 child2 = successor->rb_right; in __rb_erase_augmented() 294 child2 = successor->rb_right; in __rb_erase_augmented() 295 WRITE_ONCE(parent->rb_left, child2); in __rb_erase_augmented() 311 if (child2) { in __rb_erase_augmented() 312 rb_set_parent_color(child2, parent, RB_BLACK); in __rb_erase_augmented()
|
| /linux/drivers/pinctrl/freescale/ |
| H A D | pinctrl-mxs.c | 459 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/tools/testing/selftests/cgroup/ |
| H A D | test_cpu.c | 42 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 D | test_memcontrol.c | 114 char *parent, *child, *parent2 = NULL, *child2 = NULL; in test_memcg_subtree_control() 138 child2 = cg_name(root, "memcg_test_1/memcg_test_1"); in test_memcg_subtree_control() 139 if (!parent2 || !child2) in test_memcg_subtree_control() 145 if (cg_create(child2)) in test_memcg_subtree_control() 148 if (cg_read(child2, "cgroup.controllers", buf, sizeof(buf))) in test_memcg_subtree_control() 151 if (!cg_read_strstr(child2, "cgroup.controllers", "memory")) in test_memcg_subtree_control() 157 cg_destroy(child2); in test_memcg_subtree_control() 162 free(child2); in test_memcg_subtree_control() 111 char *parent, *child, *parent2 = NULL, *child2 = NULL; test_memcg_subtree_control() local
|
| /linux/Documentation/devicetree/bindings/power/ |
| H A D | power-domain.yaml | 94 child2: power-controller@12341000 {
|
| /linux/security/landlock/ |
| H A D | fs.c | 435 * increasing its access rights (if child2 is set, an additional condition is 436 * that child2 may be used from parent2 to parent1 without increasing its access in no_more_access() 443 const struct layer_access_masks *const child2, in no_more_access() 449 if (!child2) in no_more_access() 452 return may_refer(parent2, child2, parent1, child2_is_dir); 440 no_more_access(const struct layer_access_masks * const parent1,const struct layer_access_masks * const child1,const bool child1_is_dir,const struct layer_access_masks * const parent2,const struct layer_access_masks * const child2,const bool child2_is_dir) no_more_access() argument
|