Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.4/tools/testing/selftests/cgroup/
Dtest_memcontrol.c268 char *children[4] = {NULL}; in test_memcg_min() local
315 for (i = 0; i < ARRAY_SIZE(children); i++) { in test_memcg_min()
316 children[i] = cg_name_indexed(parent[1], "child_memcg", i); in test_memcg_min()
317 if (!children[i]) in test_memcg_min()
320 if (cg_create(children[i])) in test_memcg_min()
326 cg_run_nowait(children[i], alloc_pagecache_50M_noexit, in test_memcg_min()
334 if (cg_write(children[0], "memory.min", "75M")) in test_memcg_min()
336 if (cg_write(children[1], "memory.min", "25M")) in test_memcg_min()
338 if (cg_write(children[2], "memory.min", "500M")) in test_memcg_min()
340 if (cg_write(children[3], "memory.min", "0")) in test_memcg_min()
[all …]
/Linux-v5.4/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-v5.4/drivers/mfd/
Dwl1273-core.c165 int children = 0; in wl1273_core_probe() local
175 if (!(pdata->children & WL1273_RADIO_CHILD)) { in wl1273_core_probe()
192 cell = &core->cells[children]; in wl1273_core_probe()
196 children++; in wl1273_core_probe()
204 if (pdata->children & WL1273_CODEC_CHILD) { in wl1273_core_probe()
205 cell = &core->cells[children]; in wl1273_core_probe()
211 children++; in wl1273_core_probe()
215 __func__, children); in wl1273_core_probe()
218 children, NULL, 0, NULL); in wl1273_core_probe()
Dtwl6040.c642 int irq, ret, children = 0; in twl6040_probe() local
762 cell = &twl6040->cells[children]; in twl6040_probe()
768 children++; in twl6040_probe()
774 cell = &twl6040->cells[children]; in twl6040_probe()
780 children++; in twl6040_probe()
784 cell = &twl6040->cells[children]; in twl6040_probe()
786 children++; in twl6040_probe()
789 cell = &twl6040->cells[children]; in twl6040_probe()
791 children++; in twl6040_probe()
797 ret = mfd_add_devices(&client->dev, -1, twl6040->cells, children, in twl6040_probe()
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-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.h124 struct list_head children; member
284 list_for_each_entry_reverse(pos, &(prio)->node.children, list)
287 list_for_each_entry(pos, (&(prio)->node.children), list)
290 fs_list_for_each_entry(pos, &(ns)->node.children)
293 fs_list_for_each_entry(pos, &(prio)->node.children)
296 fs_list_for_each_entry(pos, &(prio)->node.children)
299 fs_list_for_each_entry_safe(pos, tmp, &(prio)->node.children)
302 fs_list_for_each_entry(pos, &(ft)->node.children)
305 fs_list_for_each_entry(pos, &(fg)->node.children)
308 fs_list_for_each_entry(pos, &(fte)->node.children)
/Linux-v5.4/lib/
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-v5.4/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-v5.4/drivers/platform/x86/
Dsurface3_button.c65 struct platform_device *children[BUTTON_TYPES]; member
167 if (priv->children[i]) in surface3_button_remove()
168 platform_device_unregister(priv->children[i]); in surface3_button_remove()
220 priv->children[i] = pd; in surface3_button_probe()
223 if (!priv->children[0] && !priv->children[1]) in surface3_button_probe()
/Linux-v5.4/arch/s390/numa/
Dtoptree.h21 struct list_head children; member
37 list_for_each_entry(child, &ptree->children, sibling)
40 list_for_each_entry_safe(child, ptmp, &ptree->children, sibling)
44 (ptree->parent->children.prev == &ptree->sibling))
Dtoptree.c41 INIT_LIST_HEAD(&res->children); in toptree_alloc()
105 list_for_each_entry(child, &cand->children, sibling) in toptree_update_mask()
128 list_add_tail(&cand->sibling, &target->children); in toptree_insert()
264 if (!list_empty(&context->children)) { in toptree_first()
265 list_for_each_entry(child, &context->children, sibling) { in toptree_first()
287 if (cur == list_last_entry(&cur->parent->children, in toptree_next_sibling()
/Linux-v5.4/include/linux/phy/
Dphy.h151 struct device_node *children; member
180 #define of_phy_provider_register_full(dev, children, xlate) \ argument
181 __of_phy_provider_register(dev, children, THIS_MODULE, xlate)
183 #define devm_of_phy_provider_register_full(dev, children, xlate) \ argument
184 __devm_of_phy_provider_register(dev, children, THIS_MODULE, xlate)
248 struct device_node *children, struct module *owner,
252 struct device_node *children, struct module *owner,
463 struct device *dev, struct device_node *children, struct module *owner, in __of_phy_provider_register() argument
471 *dev, struct device_node *children, struct module *owner, in __devm_of_phy_provider_register() argument
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_sched.c31 root->children = devm_kcalloc(ice_hw_to_dev(hw), hw->max_children[0], in ice_sched_add_root_node()
33 if (!root->children) { in ice_sched_add_root_node()
71 if (ICE_TXSCHED_GET_NODE_TEID(start_node->children[i]) == teid) in ice_sched_find_node_by_teid()
72 return start_node->children[i]; in ice_sched_find_node_by_teid()
78 tmp = ice_sched_find_node_by_teid(start_node->children[i], in ice_sched_find_node_by_teid()
185 node->children = devm_kcalloc(ice_hw_to_dev(hw), in ice_sched_add_node()
188 if (!node->children) { in ice_sched_add_node()
197 parent->children[parent->num_children++] = node; in ice_sched_add_node()
290 if (pi->root->children[i]->tc_num == tc) in ice_sched_get_tc_node()
291 return pi->root->children[i]; in ice_sched_get_tc_node()
[all …]
/Linux-v5.4/fs/nfs/blocklayout/
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()
424 d->children = kcalloc(v->concat.volumes_count, in bl_parse_concat()
426 if (!d->children) in bl_parse_concat()
430 ret = bl_parse_deviceid(server, &d->children[i], in bl_parse_concat()
436 d->children[i].start += len; in bl_parse_concat()
437 len += d->children[i].len; in bl_parse_concat()
453 d->children = kcalloc(v->stripe.volumes_count, in bl_parse_stripe()
[all …]
/Linux-v5.4/drivers/net/phy/
Dmdio-mux.c25 struct mdio_mux_child_bus *children; member
174 cb->next = pb->children; in mdio_mux_init()
175 pb->children = cb; in mdio_mux_init()
178 if (pb->children) { in mdio_mux_init()
196 struct mdio_mux_child_bus *cb = pb->children; in mdio_mux_uninit()
/Linux-v5.4/drivers/i2c/muxes/
Di2c-mux-gpmux.c77 int children; in i2c_mux_probe() local
101 children = of_get_child_count(np); in i2c_mux_probe()
103 muxc = i2c_mux_alloc(parent, dev, children, 0, 0, in i2c_mux_probe()
136 dev_info(dev, "%d-port mux on %s adapter\n", children, parent->name); in i2c_mux_probe()
/Linux-v5.4/drivers/iio/multiplexer/
Diio-mux.c348 int children; in mux_probe() local
369 children = 0; in mux_probe()
372 children++; in mux_probe()
374 if (children <= 0) { in mux_probe()
380 sizeof_priv += sizeof(*mux->child) * children; in mux_probe()
381 sizeof_priv += sizeof(*mux->chan) * children; in mux_probe()
390 mux->chan = (struct iio_chan_spec *)(mux->child + children); in mux_probe()
402 indio_dev->num_channels = children; in mux_probe()
/Linux-v5.4/Documentation/devicetree/bindings/mtd/
Dingenic,jz4780-nand.txt6 be children of the NEMC node.
22 Optional children nodes:
23 - Individual NAND chips are children of the NAND controller node.
25 Required children node properties:
28 Optional children node properties:
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-v5.4/drivers/input/misc/
Dsoc_button_array.c41 struct platform_device *children[BUTTON_TYPES]; member
314 if (priv->children[i]) in soc_button_remove()
315 platform_device_unregister(priv->children[i]); in soc_button_remove()
368 priv->children[i] = pd; in soc_button_probe()
371 if (!priv->children[0] && !priv->children[1]) in soc_button_probe()
/Linux-v5.4/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-v5.4/scripts/
Dasn1_compiler.c686 struct element *children; member
942 element->children = alloc_elem(cursor); 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-v5.4/drivers/phy/
Dphy-core.c140 for_each_child_of_node(phy_provider->children, child) in of_phy_provider_lookup()
980 struct device_node *children, struct module *owner, in __of_phy_provider_register() argument
991 if (children) { in __of_phy_provider_register()
992 struct device_node *parent = of_node_get(children), *next; in __of_phy_provider_register()
1008 children = dev->of_node; in __of_phy_provider_register()
1016 phy_provider->children = of_node_get(children); in __of_phy_provider_register()
1042 struct device_node *children, struct module *owner, in __devm_of_phy_provider_register() argument
1052 phy_provider = __of_phy_provider_register(dev, children, owner, in __devm_of_phy_provider_register()
1078 of_node_put(phy_provider->children); in of_phy_provider_unregister()
/Linux-v5.4/arch/c6x/platforms/
Dpll.c98 list_for_each_entry(clk, &root->children, childnode) { in propagate_rate()
142 list_add(&clk->childnode, &clk->parent->children); in clk_set_parent()
168 list_add_tail(&clk->childnode, &clk->parent->children); in clk_register()
325 INIT_LIST_HEAD(&clk->children); in __init_clk()
399 list_for_each_entry(clk, &parent->children, childnode) { in dump_clock()
/Linux-v5.4/Documentation/devicetree/bindings/display/
Dste,mcde.txt24 - #address-cells: should be <1> (for the DSI hosts that will be children)
25 - #size-cells: should be <1> (for the DSI hosts that will be children)
45 Display panels and bridges will appear as children on the DSI hosts, and
50 If a DSI host is unused (not connected) it will have no children defined.

1234567891011