Home
last modified time | relevance | path

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

/Linux-v6.1/tools/include/linux/
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-v6.1/drivers/gpu/drm/i915/gvt/
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()
/Linux-v6.1/include/linux/
Drbtree_augmented.h231 struct rb_node *successor = child, *child2; in __rb_erase_augmented() local
245 child2 = successor->rb_right; in __rb_erase_augmented()
268 child2 = successor->rb_right; in __rb_erase_augmented()
269 WRITE_ONCE(parent->rb_left, child2); in __rb_erase_augmented()
285 if (child2) { in __rb_erase_augmented()
286 rb_set_parent_color(child2, parent, RB_BLACK); in __rb_erase_augmented()
/Linux-v6.1/tools/testing/selftests/cgroup/
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()
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()
/Linux-v6.1/scripts/kconfig/
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 …]
/Linux-v6.1/drivers/pinctrl/freescale/
Dpinctrl-mxs.c451 struct device_node *child2; in mxs_pinctrl_probe_dt() local
467 for (child2 = of_get_next_child(np, child); in mxs_pinctrl_probe_dt()
468 child2 != NULL; in mxs_pinctrl_probe_dt()
469 child2 = of_get_next_child(np, child2)) { in mxs_pinctrl_probe_dt()
470 if (!strcmp(child2->name, fn)) in mxs_pinctrl_probe_dt()
/Linux-v6.1/scripts/dtc/
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()