Home
last modified time | relevance | path

Searched full:child2 (Results 1 – 21 of 21) sorted by relevance

/openbmc/u-boot/test/py/tests/
H A Dtest_bind.py34 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'generic_simple_bus', 1, True)
42 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'generic_simple_bus', 1, True)
50 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'generic_simple_bus', 1, False)
52 #Unbind child #2. No error expected and all devices should be there except for bind-test-child2
53 response = u_boot_console.run_command('unbind /bind-test/bind-test-child2')
58 assert 'bind-test-child2' not in tree
62 response = u_boot_console.run_command('bind /bind-test/bind-test-child2 generic_simple_bus')
67 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'generic_simple_bus', 1, True)
75 assert 'bind-test-child2' not in tree
95 assert in_tree(tree, 'bind-test-child2', 'simple_bus', 'generic_simple_bus', 1, True)
[all …]
/openbmc/libbej/test/
H A Dbej_tree_test.cpp65 struct RedfishPropertyLeafInt child2; in TEST() local
77 bejTreeAddInteger(&parent, &child2, nullptr, 20); in TEST()
80 EXPECT_THAT(parent.lastChild, &child2); in TEST()
82 // child2 should be a sibling of child1. in TEST()
83 EXPECT_THAT(child1.leaf.nodeAttr.sibling, &child2); in TEST()
212 struct RedfishPropertyLeafReal child2; in TEST() local
216 bejTreeAddReal(&parent, &child2, nullptr, 10.5); in TEST()
220 EXPECT_THAT(bejTreeIsParentType(&child2.leaf.nodeAttr), false); in TEST()
/openbmc/u-boot/include/linux/
H A Drbtree_augmented.h146 struct rb_node *successor = child, *child2; in __rb_erase_augmented() local
159 child2 = successor->rb_right; in __rb_erase_augmented()
181 parent->rb_left = child2 = successor->rb_right; in __rb_erase_augmented()
194 if (child2) { in __rb_erase_augmented()
196 rb_set_parent_color(child2, parent, RB_BLACK); in __rb_erase_augmented()
/openbmc/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()
/openbmc/linux/include/linux/
H A Drbtree_augmented.h257 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()
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dopregion.c129 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()
/openbmc/sdeventplus/test/source/
H A Dchild.cpp174 auto child2 = std::make_unique<Child>(*child); in TEST_F() local
187 *child2 = child3; in TEST_F()
193 child2.swap(child); in TEST_F()
195 child2.reset(); in TEST_F()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_hierarchical_stats.c57 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()
H A Dcgroup_iter.c13 #define CHILD2 3 macro
20 "/", "/parent", "/parent/child1", "/parent/child2"
134 cg_id[PARENT], cg_id[CHILD1], cg_id[CHILD2]); in test_walk_preorder()
145 cg_id[CHILD1], cg_id[CHILD2], cg_id[PARENT]); in test_walk_postorder()
/openbmc/linux/scripts/kconfig/
H A Dgconf.c1249 GtkTreeIter *child2 = &iter; in update_tree() local
1258 valid = gtk_tree_model_iter_children(model2, child2, dst); in update_tree()
1266 gtk_tree_model_get(model2, child2, COL_MENU, in update_tree()
1283 memcpy(&tmp, child2, sizeof(GtkTreeIter)); in update_tree()
1285 child2); in update_tree()
1300 sibling = child2; in update_tree()
1302 child2, in update_tree()
1304 set_node(child2, menu1, fill_row(menu1)); in update_tree()
1308 memcpy(&tmp, child2, sizeof(GtkTreeIter)); in update_tree()
1310 child2); in update_tree()
[all …]
/openbmc/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c40 char *parent = NULL, *child = NULL, *parent2 = NULL, *child2 = NULL; in test_cpucg_subtree_control() local
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()
H A Dtest_memcontrol.c33 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()
/openbmc/u-boot/scripts/kconfig/
H A Dgconf.c1252 GtkTreeIter *child2 = &iter; in update_tree() local
1261 valid = gtk_tree_model_iter_children(model2, child2, dst); in update_tree()
1269 gtk_tree_model_get(model2, child2, COL_MENU, in update_tree()
1286 memcpy(&tmp, child2, sizeof(GtkTreeIter)); in update_tree()
1288 child2); in update_tree()
1303 sibling = child2; in update_tree()
1305 child2, in update_tree()
1307 set_node(child2, menu1, fill_row(menu1)); in update_tree()
1311 memcpy(&tmp, child2, sizeof(GtkTreeIter)); in update_tree()
1313 child2); in update_tree()
[all …]
/openbmc/linux/drivers/pinctrl/freescale/
H A Dpinctrl-mxs.c454 struct device_node *child2; in mxs_pinctrl_probe_dt() local
470 for (child2 = of_get_next_child(np, child); in mxs_pinctrl_probe_dt()
471 child2 != NULL; in mxs_pinctrl_probe_dt()
472 child2 = of_get_next_child(np, child2)) { in mxs_pinctrl_probe_dt()
473 if (!strcmp(child2->name, fn)) in mxs_pinctrl_probe_dt()
/openbmc/qemu/util/
H A Dinterval-tree.c563 RBNode *successor = child, *child2; in rb_erase_augmented() local
576 child2 = successor->rb_right; in rb_erase_augmented()
599 child2 = successor->rb_right; in rb_erase_augmented()
600 qatomic_set(&parent->rb_left, child2); in rb_erase_augmented()
616 if (child2) { in rb_erase_augmented()
617 rb_set_parent_color(child2, parent, RB_BLACK); in rb_erase_augmented()
/openbmc/u-boot/scripts/dtc/
H A Dchecks.c251 struct node *child, *child2; in check_duplicate_node_names() local
254 for (child2 = child->next_sibling; in check_duplicate_node_names()
255 child2; in check_duplicate_node_names()
256 child2 = child2->next_sibling) in check_duplicate_node_names()
257 if (streq(child->name, child2->name)) in check_duplicate_node_names()
/openbmc/linux/Documentation/devicetree/bindings/power/
H A Dpower-domain.yaml93 child2: power-controller@12341000 {
/openbmc/linux/scripts/dtc/
H A Dchecks.c278 struct node *child, *child2; in check_duplicate_node_names() local
281 for (child2 = child->next_sibling; in check_duplicate_node_names()
282 child2; in check_duplicate_node_names()
283 child2 = child2->next_sibling) in check_duplicate_node_names()
284 if (streq(child->name, child2->name)) in check_duplicate_node_names()
285 FAIL(c, dti, child2, "Duplicate node name"); in check_duplicate_node_names()
/openbmc/qemu/tests/unit/
H A Dtest-xs-node.c166 XsNode *child2 = g_hash_table_lookup(cw->parent_2->children, childname); in compare_child() local
169 if (!child2) { in compare_child()
178 compare_nodes(cw, child1, child2); in compare_child()
/openbmc/u-boot/arch/sandbox/dts/
H A Dtest.dts118 bind-test-child2 {
/openbmc/linux/security/landlock/
H A Dfs.c391 * restrictions(parent1) >= restrictions(child2) in no_more_access()