/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() 282 err = join_cgroup(cg_path[CHILD2]); in test_walk_self_only_css_task() 288 PROLOGUE "%8llu\n" EPILOGUE, cg_id[CHILD2]); in test_walk_self_only_css_task() 289 read_from_cgroup_iter(skel->progs.cgroup_id_printer, cg_fd[CHILD2], in test_walk_self_only_css_task()
|
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/gpu/drm/i915/gvt/ |
H A D | opregion.c | 129 struct efp_child_device_config child2; member 192 v->child2.handle = DEVICE_TYPE_EFP3; in virt_vbt_generation() 193 v->child2.device_type = DEVICE_TYPE_DP; in virt_vbt_generation() 194 v->child2.dvo_port = DVO_PORT_DPC; in virt_vbt_generation() 195 v->child2.aux_channel = DP_AUX_C; in virt_vbt_generation() 196 v->child2.dp_compat = true; in virt_vbt_generation() 197 v->child2.integrated_encoder = true; in virt_vbt_generation()
|
/linux/scripts/kconfig/ |
H A D | gconf.c | 1213 GtkTreeIter *child2 = &iter; in update_tree() local 1222 valid = gtk_tree_model_iter_children(model2, child2, dst); in update_tree() 1230 gtk_tree_model_get(model2, child2, COL_MENU, in update_tree() 1241 memcpy(&tmp, child2, sizeof(GtkTreeIter)); in update_tree() 1243 child2); in update_tree() 1258 sibling = child2; in update_tree() 1260 child2, in update_tree() 1262 set_node(child2, menu1, fill_row(menu1)); in update_tree() 1266 memcpy(&tmp, child2, sizeof(GtkTreeIter)); in update_tree() 1268 child2); in update_tree() [all …]
|
/linux/tools/testing/selftests/cgroup/ |
H A D | test_cpu.c | 40 char *parent = NULL, *child = NULL, *parent2 = NULL, *child2 = NULL; in test_cpucg_subtree_control() 72 child2 = cg_name(parent2, "cpucg_test_child"); in test_cpucg_subtree_control() 73 if (!child2) in test_cpucg_subtree_control() 76 if (cg_create(child2)) in test_cpucg_subtree_control() 79 if (!cg_read_strstr(child2, "cgroup.controllers", "cpu")) in test_cpucg_subtree_control() 87 cg_destroy(child2); in test_cpucg_subtree_control() 88 free(child2); in test_cpucg_subtree_control() 38 char *parent = NULL, *child = NULL, *parent2 = NULL, *child2 = NULL; test_cpucg_subtree_control() local
|
H A D | test_memcontrol.c | 33 char *parent, *child, *parent2 = NULL, *child2 = NULL; in test_memcg_subtree_control() local 57 child2 = cg_name(root, "memcg_test_1/memcg_test_1"); in test_memcg_subtree_control() 58 if (!parent2 || !child2) in test_memcg_subtree_control() 64 if (cg_create(child2)) in test_memcg_subtree_control() 67 if (cg_read(child2, "cgroup.controllers", buf, sizeof(buf))) in test_memcg_subtree_control() 70 if (!cg_read_strstr(child2, "cgroup.controllers", "memory")) in test_memcg_subtree_control() 76 cg_destroy(child2); in test_memcg_subtree_control() 81 free(child2); in test_memcg_subtree_control()
|
/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/Documentation/devicetree/bindings/power/ |
H A D | power-domain.yaml | 94 child2: power-controller@12341000 {
|
/linux/scripts/dtc/ |
H A D | checks.c | 279 struct node *child, *child2; in check_duplicate_node_names() local 282 for (child2 = child->next_sibling; in check_duplicate_node_names() 283 child2; in check_duplicate_node_names() 284 child2 = child2->next_sibling) in check_duplicate_node_names() 285 if (streq(child->name, child2->name)) in check_duplicate_node_names() 286 FAIL(c, dti, child2, "Duplicate node name"); in check_duplicate_node_names()
|
/linux/security/landlock/ |
H A D | fs.c | 450 * restrictions(parent1) >= restrictions(child2) in no_more_access()
|