Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 262) sorted by relevance

1234567891011

/linux-6.12.1/tools/net/sunrpc/xdrgen/
Dxdr_ast.py271 def identifier(self, children): argument
273 return _XdrIdentifier(children[0].value)
275 def value(self, children): argument
277 if isinstance(children[0], _XdrIdentifier):
278 return _XdrValue(children[0].symbol)
279 return _XdrValue(children[0].children[0].value)
281 def constant(self, children): argument
283 match children[0].data:
285 value = int(children[0].children[0].value, base=10)
287 value = int(children[0].children[0].value, base=16)
[all …]
/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_cpu.c236 int (*validate)(const struct cpu_hogger *children, int num_children)) in run_cpucg_weight_test() argument
240 struct cpu_hogger children[3] = {}; in run_cpucg_weight_test() local
252 for (i = 0; i < ARRAY_SIZE(children); i++) { in run_cpucg_weight_test()
253 children[i].cgroup = cg_name_indexed(parent, "cpucg_child", i); in run_cpucg_weight_test()
254 if (!children[i].cgroup) in run_cpucg_weight_test()
257 if (cg_create(children[i].cgroup)) in run_cpucg_weight_test()
260 if (cg_write_numeric(children[i].cgroup, "cpu.weight", in run_cpucg_weight_test()
265 for (i = 0; i < ARRAY_SIZE(children); i++) { in run_cpucg_weight_test()
266 pid_t pid = spawn_child(&children[i]); in run_cpucg_weight_test()
269 children[i].pid = pid; in run_cpucg_weight_test()
[all …]
Dtest_memcontrol.c404 char *children[4] = {NULL}; in test_memcg_protection() local
455 for (i = 0; i < ARRAY_SIZE(children); i++) { in test_memcg_protection()
456 children[i] = cg_name_indexed(parent[1], "child_memcg", i); in test_memcg_protection()
457 if (!children[i]) in test_memcg_protection()
460 if (cg_create(children[i])) in test_memcg_protection()
466 cg_run_nowait(children[i], alloc_pagecache_50M_noexit, in test_memcg_protection()
472 if (cg_write(children[0], attribute, "75M")) in test_memcg_protection()
474 if (cg_write(children[1], attribute, "25M")) in test_memcg_protection()
476 if (cg_write(children[2], attribute, "0")) in test_memcg_protection()
478 if (cg_write(children[3], attribute, "500M")) in test_memcg_protection()
[all …]
/linux-6.12.1/tools/perf/Documentation/
Dcallchain-overhead-calculation.txt9 The 'children' overhead is calculated by adding all period values of
15 It might be confusing that the sum of all the 'children' overhead
19 spread over the children.
64 When the --children option is enabled, the 'self' overhead values of
66 calculate the 'children' overhead. In this case the report could be
96 'children' overhead of 'bar', 'main' and '\_\_libc_start_main'.
98 'children' overhead of 'main' and '\_\_libc_start_main'.
101 same (100%) 'children' overhead (even though they have zero 'self'
104 Since v3.16 the 'children' overhead is shown by default and the output
105 is sorted by its values. The 'children' overhead is disabled by
[all …]
/linux-6.12.1/tools/testing/selftests/arm64/fp/
Dfp-stress.c41 static struct child_data *children; variable
276 if (children[i].pid == info->si_pid) { in handle_child_signal()
277 children[i].exited = true; in handle_child_signal()
278 children[i].exit_status = info->si_status; in handle_child_signal()
306 child_stop(&children[i]); in handle_exit_signal()
512 children = calloc(sizeof(*children), tests); in main()
513 if (!children) in main()
553 start_fpsimd(&children[num_children++], i, 0); in main()
554 start_kernel(&children[num_children++], i, 0); in main()
557 start_sve(&children[num_children++], sve_vls[j], i); in main()
[all …]
/linux-6.12.1/lib/
Dgeneric-radix-tree.c49 new_node->children[0] = n; in __genradix_ptr_alloc()
57 new_node->children[0] = NULL; in __genradix_ptr_alloc()
63 &n->children[offset >> genradix_depth_shift(level)]; in __genradix_ptr_alloc()
114 while (!n->children[i]) { in __genradix_iter_peek()
132 n = n->children[i]; in __genradix_iter_peek()
173 while (!n->children[i]) { in __genradix_iter_peek_prev()
190 n = n->children[i]; in __genradix_iter_peek_prev()
203 if (n->children[i]) in genradix_free_recurse()
204 genradix_free_recurse(n->children[i], level - 1); in genradix_free_recurse()
/linux-6.12.1/drivers/mfd/
Dwl1273-core.c164 int children = 0; in wl1273_core_probe() local
174 if (!(pdata->children & WL1273_RADIO_CHILD)) { in wl1273_core_probe()
191 cell = &core->cells[children]; in wl1273_core_probe()
195 children++; in wl1273_core_probe()
203 if (pdata->children & WL1273_CODEC_CHILD) { in wl1273_core_probe()
204 cell = &core->cells[children]; in wl1273_core_probe()
210 children++; in wl1273_core_probe()
214 __func__, children); in wl1273_core_probe()
217 children, NULL, 0, NULL); in wl1273_core_probe()
Dtwl6040.c638 int irq, ret, children = 0; in twl6040_probe() local
756 cell = &twl6040->cells[children]; in twl6040_probe()
762 children++; in twl6040_probe()
768 cell = &twl6040->cells[children]; in twl6040_probe()
774 children++; in twl6040_probe()
778 cell = &twl6040->cells[children]; in twl6040_probe()
780 children++; in twl6040_probe()
783 cell = &twl6040->cells[children]; in twl6040_probe()
785 children++; in twl6040_probe()
791 ret = mfd_add_devices(&client->dev, -1, twl6040->cells, children, in twl6040_probe()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.h161 struct list_head children; member
243 struct list_head children; member
346 list_for_each_entry_reverse(pos, &(prio)->node.children, list)
349 list_for_each_entry(pos, (&(prio)->node.children), list)
352 fs_list_for_each_entry(pos, &(ns)->node.children)
355 fs_list_for_each_entry(pos, &(prio)->node.children)
358 fs_list_for_each_entry(pos, &(prio)->node.children)
361 fs_list_for_each_entry_safe(pos, tmp, &(prio)->node.children)
364 fs_list_for_each_entry(pos, &(ft)->node.children)
367 fs_list_for_each_entry(pos, &(fg)->node.children)
[all …]
/linux-6.12.1/tools/perf/ui/browsers/
Dannotate-data.c26 struct list_head children; member
104 INIT_LIST_HEAD(&entry->children); in add_child_entries()
106 parent_list = &parent->children; in add_child_entries()
112 list_for_each_entry(pos, &member->children, node) { in add_child_entries()
120 if (!list_empty(&member->children)) { in add_child_entries()
132 INIT_LIST_HEAD(&bracket->children); in add_child_entries()
133 list_add_tail(&bracket->node, &entry->children); in add_child_entries()
182 if (list_empty(&entry->children)) in get_first_child()
185 return list_first_entry(&entry->children, struct browser_entry, node); in get_first_child()
190 if (list_empty(&entry->children)) in get_last_child()
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/abm/
Dqdisc.c23 return qdisc->children[id] && in nfp_abm_qdisc_child_valid()
24 qdisc->children[id] != NFP_QDISC_UNTRACKED; in nfp_abm_qdisc_child_valid()
80 nfp_abm_stats_update_red(alink, qdisc->children[i], i); in nfp_abm_stats_update_mq()
113 qdisc->children[i]->use_cnt--; in nfp_abm_qdisc_unlink_children()
114 qdisc->children[i] = NULL; in nfp_abm_qdisc_unlink_children()
201 !qdisc->children[0]; in nfp_abm_offload_compile_red()
236 struct nfp_qdisc *child = qdisc->children[i]; in nfp_abm_offload_compile_mq()
310 if (mq->children[i] == qdisc) { in nfp_abm_qdisc_clear_mq()
311 mq->children[i] = NULL; in nfp_abm_qdisc_clear_mq()
332 kfree(qdisc->children); in nfp_abm_qdisc_free()
[all …]
/linux-6.12.1/fs/nfs/blocklayout/
Ddev.c57 bl_unregister_dev(&dev->children[i]); in bl_unregister_dev()
71 if (!bl_register_dev(&dev->children[i])) { in bl_register_dev()
73 bl_unregister_dev(&dev->children[--i]); in bl_register_dev()
94 bl_free_device(&dev->children[i]); in bl_free_device()
95 kfree(dev->children); in bl_free_device()
242 struct pnfs_block_dev *child = &dev->children[i]; in bl_map_concat()
280 child = &dev->children[chunk_idx]; in bl_map_stripe()
463 d->children = kcalloc(v->concat.volumes_count, in bl_parse_concat()
465 if (!d->children) in bl_parse_concat()
469 ret = bl_parse_deviceid(server, &d->children[i], in bl_parse_concat()
[all …]
/linux-6.12.1/fs/bcachefs/
Dsnapshot.c214 le32_to_cpu(s.v->children[0]), in bch2_snapshot_to_text()
215 le32_to_cpu(s.v->children[1]), in bch2_snapshot_to_text()
247 bkey_fsck_err_on(le32_to_cpu(s.v->children[0]) < le32_to_cpu(s.v->children[1]), in bch2_snapshot_validate()
251 bkey_fsck_err_on(s.v->children[0] && s.v->children[0] == s.v->children[1], in bch2_snapshot_validate()
256 id = le32_to_cpu(s.v->children[i]); in bch2_snapshot_validate()
321 t->children[0] = le32_to_cpu(s.v->children[0]); in __bch2_mark_snapshot()
322 t->children[1] = le32_to_cpu(s.v->children[1]); in __bch2_mark_snapshot()
407 child[0] = le32_to_cpu(snap.v->children[0]); in bch2_snapshot_set_equiv()
408 child[1] = le32_to_cpu(snap.v->children[1]); in bch2_snapshot_set_equiv()
436 return snapshot_t(c, id)->children[child]; in bch2_snapshot_child()
[all …]
/linux-6.12.1/include/linux/phy/
Dphy.h180 struct device_node *children; member
209 #define of_phy_provider_register_full(dev, children, xlate) \ argument
210 __of_phy_provider_register(dev, children, THIS_MODULE, xlate)
212 #define devm_of_phy_provider_register_full(dev, children, xlate) \ argument
213 __devm_of_phy_provider_register(dev, children, THIS_MODULE, xlate)
283 struct device_node *children, struct module *owner,
287 struct device_node *children, struct module *owner,
531 struct device *dev, struct device_node *children, struct module *owner, in __of_phy_provider_register() argument
539 *dev, struct device_node *children, struct module *owner, in __devm_of_phy_provider_register() argument
/linux-6.12.1/drivers/i2c/muxes/
Di2c-mux-gpmux.c77 int children; in i2c_mux_probe() local
97 children = of_get_child_count(np); in i2c_mux_probe()
99 muxc = i2c_mux_alloc(parent, dev, children, 0, 0, in i2c_mux_probe()
132 dev_info(dev, "%d-port mux on %s adapter\n", children, parent->name); in i2c_mux_probe()
/linux-6.12.1/net/ieee802154/
Dpan.c36 is_assoc = !list_empty(&wpan_dev->children) || wpan_dev->parent; in cfg802154_device_is_associated()
59 list_for_each_entry(child, &wpan_dev->children, node) in cfg802154_device_is_child()
86 list_for_each_entry(child, &wpan_dev->children, node) in cfg802154_get_free_short_addr()
/linux-6.12.1/drivers/iio/multiplexer/
Diio-mux.c335 int children; in mux_probe() local
365 children = 0; in mux_probe()
368 children++; in mux_probe()
370 if (children <= 0) { in mux_probe()
376 sizeof_priv += sizeof(*mux->child) * children; in mux_probe()
377 sizeof_priv += sizeof(*mux->chan) * children; in mux_probe()
386 mux->chan = (struct iio_chan_spec *)(mux->child + children); in mux_probe()
400 indio_dev->num_channels = children; in mux_probe()
/linux-6.12.1/Documentation/devicetree/bindings/mtd/
Dnvidia-tegra20-nand.txt17 Optional children nodes:
18 Individual NAND chips are children of the NAND controller node. Currently
21 Required children node properties:
24 Optional children node properties:
/linux-6.12.1/drivers/net/mdio/
Dmdio-mux.c25 struct mdio_mux_child_bus *children; member
130 struct mdio_mux_child_bus *cb = pb->children; in mdio_mux_uninit_children()
237 cb->next = pb->children; in mdio_mux_init()
238 pb->children = cb; in mdio_mux_init()
241 if (pb->children) { in mdio_mux_init()
/linux-6.12.1/drivers/powercap/
Ddtpm.c72 list_for_each_entry(child, &dtpm->children, sibling) { in __get_power_uw()
91 list_for_each_entry(child, &dtpm->children, sibling) { in __dtpm_rebalance_weight()
174 if (!list_empty(&dtpm->children)) in dtpm_release_zone()
231 list_for_each_entry(child, &dtpm->children, sibling) { in __set_power_limit_uw()
322 INIT_LIST_HEAD(&dtpm->children); in dtpm_init()
398 list_add_tail(&dtpm->sibling, &parent->children); in dtpm_register()
622 list_for_each_entry_safe(child, aux, &dtpm->children, sibling) in __dtpm_destroy_hierarchy()
/linux-6.12.1/scripts/
Dasn1_compiler.c686 struct element *children; member
942 element->children = alloc_elem(); in parse_type()
943 element = element->children; in parse_type()
1027 element->children = parse_compound(&cursor, end, 1); in parse_type()
1041 element->children = parse_type(&cursor, end, NULL); in parse_type()
1043 element->children = parse_compound(&cursor, end, 0); in parse_type()
1058 element->children = parse_type(&cursor, end, NULL); in parse_type()
1060 element->children = parse_compound(&cursor, end, 1); in parse_type()
1150 struct element *children, **child_p = &children, *element; in parse_compound() local
1193 children->flags &= ~ELEMENT_CONDITIONAL; in parse_compound()
[all …]
/linux-6.12.1/fs/xfs/scrub/
Dnlinks.h79 xfs_nlink_t children; member
106 return ret + live->children; in xchk_nlink_total()
/linux-6.12.1/tools/perf/scripts/python/
Dflamegraph.py59 self.children = []
66 "c": self.children
88 for child in node.children:
93 node.children.append(child)
/linux-6.12.1/tools/perf/util/
Dcall-path.c23 cp->children = RB_ROOT; in call_path__init()
92 p = &parent->children.rb_node; in call_path__findnew()
111 rb_insert_color(&cp->rb_node, &parent->children); in call_path__findnew()
/linux-6.12.1/tools/power/cpupower/lib/
Dpowercap.c235 if (zone->children[i] == NULL) { in powercap_read_zone()
236 zone->children[i] = child_zone; in powercap_read_zone()
303 if (zone->children[i] != NULL) in powercap_walk_zones()
304 powercap_walk_zones(zone->children[i], f); in powercap_walk_zones()

1234567891011