Home
last modified time | relevance | path

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

1234567891011

/linux-6.3-rc2/tools/testing/selftests/cgroup/
A Dtest_cpu.c240 struct cpu_hogger children[3] = {NULL}; in run_cpucg_weight_test() local
254 if (!children[i].cgroup) in run_cpucg_weight_test()
257 if (cg_create(children[i].cgroup)) in run_cpucg_weight_test()
269 children[i].pid = pid; in run_cpucg_weight_test()
283 children[i].usage = cg_read_key_long(children[i].cgroup, in run_cpucg_weight_test()
286 if (validate(children, ARRAY_SIZE(children))) in run_cpucg_weight_test()
292 cg_destroy(children[i].cgroup); in run_cpucg_weight_test()
293 free(children[i].cgroup); in run_cpucg_weight_test()
328 if (children[i + 1].usage <= children[i].usage) in overprovision_validate()
331 delta = children[i + 1].usage - children[i].usage; in overprovision_validate()
[all …]
A Dtest_memcontrol.c282 char *children[4] = {NULL}; in test_memcg_protection() local
332 for (i = 0; i < ARRAY_SIZE(children); i++) { in test_memcg_protection()
334 if (!children[i]) in test_memcg_protection()
337 if (cg_create(children[i])) in test_memcg_protection()
349 if (cg_write(children[0], attribute, "75M")) in test_memcg_protection()
353 if (cg_write(children[2], attribute, "0")) in test_memcg_protection()
372 for (i = 0; i < ARRAY_SIZE(children); i++) in test_memcg_protection()
396 if (!reclaim_until(children[0], MB(10))) in test_memcg_protection()
424 if (!children[i]) in test_memcg_protection()
427 cg_destroy(children[i]); in test_memcg_protection()
[all …]
/linux-6.3-rc2/tools/perf/Documentation/
A 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'
105 is sorted by its values. The 'children' overhead is disabled by
106 specifying --no-children option on the command line or by adding
[all …]
/linux-6.3-rc2/tools/testing/selftests/arm64/fp/
A 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()
306 child_stop(&children[i]); in handle_exit_signal()
504 children = calloc(sizeof(*children), tests); in main()
505 if (!children) in main()
607 if (children[i].output_seen || in main()
608 children[i].exited) in main()
624 child_tickle(&children[i]); in main()
637 child_stop(&children[i]); in main()
[all …]
/linux-6.3-rc2/drivers/mfd/
A 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()
A Dtwl6040.c640 int irq, ret, children = 0; in twl6040_probe() local
758 cell = &twl6040->cells[children]; in twl6040_probe()
764 children++; in twl6040_probe()
770 cell = &twl6040->cells[children]; in twl6040_probe()
776 children++; in twl6040_probe()
780 cell = &twl6040->cells[children]; in twl6040_probe()
782 children++; in twl6040_probe()
785 cell = &twl6040->cells[children]; in twl6040_probe()
787 children++; in twl6040_probe()
793 ret = mfd_add_devices(&client->dev, -1, twl6040->cells, children, in twl6040_probe()
A Dretu-mfd.c124 const struct mfd_cell *children; member
131 .children = retu_devs,
138 .children = tahvo_devs,
274 ret = mfd_add_devices(rdev->dev, -1, rdat->children, rdat->nchildren, in retu_probe()
/linux-6.3-rc2/lib/
A Dgeneric-radix-tree.c13 struct genradix_node *children[GENRADIX_ARY]; member
71 n = n->children[offset >> genradix_depth_shift(level)]; in __genradix_ptr()
127 new_node->children[0] = n; in __genradix_ptr_alloc()
139 &n->children[offset >> genradix_depth_shift(level)]; in __genradix_ptr_alloc()
186 while (!n->children[i]) { in __genradix_iter_peek()
197 n = n->children[i]; in __genradix_iter_peek()
210 if (n->children[i]) in genradix_free_recurse()
211 genradix_free_recurse(n->children[i], level - 1); in genradix_free_recurse()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_core.h151 struct list_head children; member
326 list_for_each_entry_reverse(pos, &(prio)->node.children, list)
329 list_for_each_entry(pos, (&(prio)->node.children), list)
332 fs_list_for_each_entry(pos, &(ns)->node.children)
335 fs_list_for_each_entry(pos, &(prio)->node.children)
338 fs_list_for_each_entry(pos, &(prio)->node.children)
341 fs_list_for_each_entry_safe(pos, tmp, &(prio)->node.children)
344 fs_list_for_each_entry(pos, &(ft)->node.children)
347 fs_list_for_each_entry(pos, &(fg)->node.children)
350 fs_list_for_each_entry(pos, &(fte)->node.children)
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/abm/
A Dqdisc.c23 return qdisc->children[id] && in nfp_abm_qdisc_child_valid()
114 qdisc->children[i] = NULL; in nfp_abm_qdisc_unlink_children()
201 !qdisc->children[0]; in nfp_abm_offload_compile_red()
311 mq->children[i] = NULL; in nfp_abm_qdisc_clear_mq()
332 kfree(qdisc->children); in nfp_abm_qdisc_free()
341 unsigned int children) in nfp_abm_qdisc_alloc() argument
351 if (children) { in nfp_abm_qdisc_alloc()
352 qdisc->children = kcalloc(children, sizeof(void *), GFP_KERNEL); in nfp_abm_qdisc_alloc()
353 if (!qdisc->children) in nfp_abm_qdisc_alloc()
374 kfree(qdisc->children); in nfp_abm_qdisc_alloc()
[all …]
/linux-6.3-rc2/fs/nfs/blocklayout/
A Ddev.c23 bl_free_device(&dev->children[i]); in bl_free_device()
24 kfree(dev->children); in bl_free_device()
182 struct pnfs_block_dev *child = &dev->children[i]; in bl_map_concat()
220 child = &dev->children[chunk_idx]; in bl_map_stripe()
404 d->children = kcalloc(v->concat.volumes_count, in bl_parse_concat()
406 if (!d->children) in bl_parse_concat()
416 d->children[i].start += len; in bl_parse_concat()
417 len += d->children[i].len; in bl_parse_concat()
433 d->children = kcalloc(v->stripe.volumes_count, in bl_parse_stripe()
435 if (!d->children) in bl_parse_stripe()
[all …]
/linux-6.3-rc2/scripts/
A Dcheck-sysctl-docs97 delete children
146 children[curtable][curentry] = child
152 if (children[tables[1]][table]) {
153 for (entry in entries[children[tables[1]][table]]) {
A Dasn1_compiler.c686 struct element *children; member
942 element->children = alloc_elem(); in parse_type()
943 element = element->children; in parse_type()
1150 struct element *children, **child_p = &children, *element; in parse_compound() local
1193 children->flags &= ~ELEMENT_CONDITIONAL; in parse_compound()
1203 return children; in parse_compound()
1246 for (c = e->children; c; c = c->next) in dump_element()
1406 for (ce = e->children; ce; ce = ce->next) in render_out_of_line_list()
1471 render_element(out, e->children, e); in render_element()
1576 render_element(out, e->children, NULL); in render_element()
[all …]
/linux-6.3-rc2/include/linux/phy/
A Dphy.h173 struct device_node *children; member
202 #define of_phy_provider_register_full(dev, children, xlate) \ argument
203 __of_phy_provider_register(dev, children, THIS_MODULE, xlate)
205 #define devm_of_phy_provider_register_full(dev, children, xlate) \ argument
206 __devm_of_phy_provider_register(dev, children, THIS_MODULE, xlate)
274 struct device_node *children, struct module *owner,
278 struct device_node *children, struct module *owner,
508 struct device *dev, struct device_node *children, struct module *owner, in __of_phy_provider_register() argument
516 *dev, struct device_node *children, struct module *owner, in __devm_of_phy_provider_register() argument
/linux-6.3-rc2/drivers/net/mdio/
A Dmdio-mux.c25 struct mdio_mux_child_bus *children; member
87 struct mdio_mux_child_bus *cb = pb->children; in mdio_mux_uninit_children()
188 cb->next = pb->children; in mdio_mux_init()
189 pb->children = cb; in mdio_mux_init()
192 if (pb->children) { in mdio_mux_init()
/linux-6.3-rc2/drivers/i2c/muxes/
A 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.3-rc2/drivers/iio/multiplexer/
A Diio-mux.c336 int children; in mux_probe() local
366 children = 0; in mux_probe()
369 children++; in mux_probe()
371 if (children <= 0) { in mux_probe()
377 sizeof_priv += sizeof(*mux->child) * children; in mux_probe()
378 sizeof_priv += sizeof(*mux->chan) * children; in mux_probe()
387 mux->chan = (struct iio_chan_spec *)(mux->child + children); in mux_probe()
401 indio_dev->num_channels = children; in mux_probe()
/linux-6.3-rc2/Documentation/devicetree/bindings/mtd/
A 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.3-rc2/drivers/powercap/
A 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.3-rc2/tools/perf/util/
A 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.3-rc2/tools/perf/scripts/python/
A Dflamegraph.py59 self.children = []
66 "c": self.children
88 for child in node.children:
93 node.children.append(child)
/linux-6.3-rc2/drivers/input/misc/
A Dsoc_button_array.c48 struct platform_device *children[BUTTON_TYPES]; member
391 if (priv->children[i]) in soc_button_remove()
392 platform_device_unregister(priv->children[i]); in soc_button_remove()
445 priv->children[i] = pd; in soc_button_probe()
448 if (!priv->children[0] && !priv->children[1]) in soc_button_probe()
/linux-6.3-rc2/tools/power/cpupower/lib/
A Dpowercap.c218 if (zone->children[i] == NULL) { in powercap_read_zone()
219 zone->children[i] = child_zone; in powercap_read_zone()
286 if (zone->children[i] != NULL) in powercap_walk_zones()
287 powercap_walk_zones(zone->children[i], f); in powercap_walk_zones()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_sched.c34 if (!root->children) { in ice_sched_add_root_node()
73 return start_node->children[i]; in ice_sched_find_node_by_teid()
193 if (!node->children) { in ice_sched_add_node()
296 return pi->root->children[i]; in ice_sched_get_tc_node()
340 parent->children[j - 1] = in ice_free_sched_node()
341 parent->children[j]; in ice_free_sched_node()
362 if (node->children) in ice_free_sched_node()
1181 node = node->children[0]; in ice_rm_dflt_leaf_node()
1219 node = node->children[0]; in ice_sched_rm_dflt_nodes()
2203 old_parent->children[j]; in ice_sched_update_parent()
[all …]
/linux-6.3-rc2/drivers/phy/
A Dphy-core.c140 for_each_child_of_node(phy_provider->children, child) in of_phy_provider_lookup()
1092 struct device_node *children, struct module *owner, in __of_phy_provider_register() argument
1103 if (children) { in __of_phy_provider_register()
1104 struct device_node *parent = of_node_get(children), *next; in __of_phy_provider_register()
1120 children = dev->of_node; in __of_phy_provider_register()
1128 phy_provider->children = of_node_get(children); in __of_phy_provider_register()
1155 struct device_node *children, struct module *owner, in __devm_of_phy_provider_register() argument
1165 phy_provider = __of_phy_provider_register(dev, children, owner, in __devm_of_phy_provider_register()
1191 of_node_put(phy_provider->children); in of_phy_provider_unregister()

Completed in 58 milliseconds

1234567891011