Home
last modified time | relevance | path

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

12345678

/linux/tools/net/sunrpc/xdrgen/
H A Dxdr_ast.py624 def identifier(self, children): argument
626 token = children[0]
629 def value(self, children):
631 if isinstance(children[0], _XdrIdentifier):
632 return _XdrValue(children[0].symbol)
633 return _XdrValue(children[0].children[0].value)
635 def constant(self, children):
637 match children[0].data:
639 value = int(children[
554 identifier(self, children) global() argument
559 value(self, children) global() argument
565 constant(self, children) global() argument
576 type_specifier(self, children) global() argument
585 constant_def(self, children) global() argument
591 enum(self, children) global() argument
615 fixed_length_opaque(self, children) global() argument
636 string(self, children) global() argument
646 fixed_length_array(self, children) global() argument
656 variable_length_array(self, children) global() argument
669 optional_data(self, children) global() argument
678 basic(self, children) global() argument
685 void(self, children) global() argument
690 struct(self, children) global() argument
706 typedef(self, children) global() argument
712 case_spec(self, children) global() argument
721 default_spec(self, children) global() argument
727 union(self, children) global() argument
745 procedure_def(self, children) global() argument
761 version_def(self, children) global() argument
771 program_def(self, children) global() argument
781 pragma_def(self, children) global() argument
798 passthru_def(self, children) global() argument
[all...]
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c313 int (*validate)(const struct cpu_hogger *children, int num_children)) in run_cpucg_weight_test() argument
317 struct cpu_hogger children[3] = {}; in run_cpucg_weight_test() local
329 for (i = 0; i < ARRAY_SIZE(children); i++) { in run_cpucg_weight_test()
330 children[i].cgroup = cg_name_indexed(parent, "cpucg_child", i); in run_cpucg_weight_test()
331 if (!children[i].cgroup) in run_cpucg_weight_test()
334 if (cg_create(children[i].cgroup)) in run_cpucg_weight_test()
337 if (cg_write_numeric(children[i].cgroup, "cpu.weight", in run_cpucg_weight_test()
342 for (i = 0; i < ARRAY_SIZE(children); i++) { in run_cpucg_weight_test()
343 pid_t pid = spawn_child(&children[i]); in run_cpucg_weight_test()
346 children[ in run_cpucg_weight_test()
398 overprovision_validate(const struct cpu_hogger * children,int num_children) overprovision_validate() argument
444 underprovision_validate(const struct cpu_hogger * children,int num_children) underprovision_validate() argument
[all...]
H A Dtest_memcontrol.c496 char *children[4] = {NULL}; in test_memcg_protection()
547 for (i = 0; i < ARRAY_SIZE(children); i++) { in test_memcg_protection()
548 children[i] = cg_name_indexed(parent[1], "child_memcg", i); in test_memcg_protection()
549 if (!children[i]) in test_memcg_protection()
552 if (cg_create(children[i])) in test_memcg_protection()
558 cg_run_nowait(children[i], alloc_pagecache_50M_noexit, in test_memcg_protection()
564 if (cg_write(children[0], attribute, "75M")) in test_memcg_protection()
566 if (cg_write(children[1], attribute, "25M")) in test_memcg_protection()
568 if (cg_write(children[2], attribute, "0")) in test_memcg_protection()
570 if (cg_write(children[ in test_memcg_protection()
493 char *children[4] = {NULL}; test_memcg_protection() local
[all...]
/linux/tools/perf/Documentation/
H A Dcallchain-overhead-calculation.txt10 The 'children' overhead is calculated by adding all period values of
16 It might be confusing that the sum of all the 'children' overhead
20 spread over the children.
65 When the --children option is enabled, the 'self' overhead values of
67 calculate the 'children' overhead. In this case the report could be
97 'children' overhead of 'bar', 'main' and '\_\_libc_start_main'.
99 'children' overhead of 'main' and '\_\_libc_start_main'.
102 same (100%) 'children' overhead (even though they have zero 'self'
105 Since v3.16 the 'children' overhead is shown by default and the output
106 is sorted by its values. The 'children' overhea
[all...]
/linux/tools/testing/selftests/arm64/fp/
H A Dfp-stress.c44 static struct child_data *children; variable
278 if (children[i].pid == info->si_pid) { in handle_child_signal()
279 children[i].exited = true; in handle_child_signal()
280 children[i].exit_status = info->si_status; in handle_child_signal()
308 child_stop(&children[i]); in handle_exit_signal()
515 children = calloc(sizeof(*children), tests); in main()
516 if (!children) in main()
556 start_fpsimd(&children[num_children++], i, 0); in main()
557 start_kernel(&children[num_children++], i, 0); in main()
560 start_sve(&children[num_children++], sve_vls[j], i); in main()
[all …]
/linux/tools/testing/selftests/arm64/gcs/
H A Dgcs-stress.c40 static struct child_data *children; variable
294 if (children[i].pid == info->si_pid) { in handle_child_signal()
295 children[i].exited = true; in handle_child_signal()
296 children[i].exit_status = info->si_status; in handle_child_signal()
324 child_stop(&children[i]); in handle_exit_signal()
399 children = calloc(sizeof(*children), tests); in main()
400 if (!children) in main()
440 start_thread(&children[i], i); in main()
490 if (children[i].output_seen || in main()
491 children[i].exited) in main()
[all …]
/linux/fs/nfs/blocklayout/
H A Ddev.c66 bl_unregister_dev(&dev->children[i]); in bl_register_dev()
81 if (!bl_register_dev(&dev->children[i])) { in bl_register_dev()
83 bl_unregister_dev(&dev->children[--i]);
100 if (dev->children) { in bl_free_device()
104 bl_free_device(&dev->children[i]); in bl_free_deviceid_node()
105 kfree(dev->children); in bl_free_deviceid_node()
106 dev->children = NULL; in bl_free_deviceid_node()
254 struct pnfs_block_dev *child = &dev->children[i]; in bl_map_concat()
293 child = &dev->children[chunk_idx];
507 d->children in bl_parse_stripe()
[all...]
/linux/lib/
H A 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/tools/perf/ui/browsers/
H A Dannotate-data.c26 struct list_head children; member
29 bool folded; /* only can be false when it has children */
108 INIT_LIST_HEAD(&entry->children); in add_child_entries()
110 parent_list = &parent->children; in add_child_entries()
116 list_for_each_entry(pos, &member->children, node) { in add_child_entries()
124 if (!list_empty(&member->children)) { in add_child_entries()
136 INIT_LIST_HEAD(&bracket->children); in add_child_entries()
137 list_add_tail(&bracket->node, &entry->children); in add_child_entries()
186 if (list_empty(&entry->children)) in get_first_child()
189 return list_first_entry(&entry->children, struc in get_last_child()
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.h152 struct list_head children; member
228 struct list_head children; member
379 list_for_each_entry_reverse(pos, &(prio)->node.children, list)
382 list_for_each_entry(pos, (&(prio)->node.children), list)
385 fs_list_for_each_entry(pos, &(ns)->node.children)
388 fs_list_for_each_entry(pos, &(prio)->node.children)
391 fs_list_for_each_entry(pos, &(prio)->node.children)
394 fs_list_for_each_entry_safe(pos, tmp, &(prio)->node.children)
397 fs_list_for_each_entry(pos, &(ft)->node.children)
400 fs_list_for_each_entry(pos, &(fg)->node.children)
[all …]
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A 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/drivers/iio/multiplexer/
H A Diio-mux.c340 int children; in mux_probe()
370 children = 0; in mux_probe()
373 children++; in mux_probe()
375 if (children <= 0) { in mux_probe()
381 sizeof_priv += sizeof(*mux->child) * children; in mux_probe()
382 sizeof_priv += sizeof(*mux->chan) * children; in mux_probe()
391 mux->chan = (struct iio_chan_spec *)(mux->child + children); in mux_probe()
405 indio_dev->num_channels = children; in mux_probe()
342 int children; mux_probe() local
/linux/net/ieee802154/
H A 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/drivers/net/mdio/
H A Dmdio-mux.c24 /* List of our children linked through their next fields. */
25 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/drivers/powercap/
H 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()
608 list_for_each_entry_safe(child, aux, &dtpm->children, sibling) in __dtpm_destroy_hierarchy()
/linux/scripts/
H A 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/tools/perf/util/
H 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/tools/power/cpupower/lib/
H A 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()
/linux/tools/perf/scripts/python/
H A Dflamegraph.py
/linux/tools/perf/tests/shell/
H A Dinject-callchain.sh34 perf report -i "${TESTDATA}" --no-children -q --percent-limit=1 > ${TESTDATA}.out
35 perf report -i "${TESTDATA}.new" --no-children -q --percent-limit=1 > ${TESTDATA}.new.out
/linux/drivers/input/misc/
H A Dsoc_button_array.c48 struct platform_device *children[BUTTON_TYPES]; member
433 if (priv->children[i]) in soc_button_remove()
434 platform_device_unregister(priv->children[i]); in soc_button_remove()
485 priv->children[i] = pd; in soc_button_probe()
488 if (!priv->children[0] && !priv->children[1]) in soc_button_probe()
/linux/Documentation/translations/zh_CN/driver-api/phy/
H A Dphy.rst59 #define of_phy_provider_register_full(dev, children, xlate) \
60 __of_phy_provider_register(dev, children, THIS_MODULE, xlate)
62 #define devm_of_phy_provider_register_full(dev, children, xlate) \
63 __devm_of_phy_provider_register_full(dev, children,
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sched.c31 root->children = devm_kzalloc_objs(ice_hw_to_dev(hw), *root->children, in ice_sched_add_root_node()
33 if (!root->children) { in ice_sched_add_root_node()
63 /* The node has no children or is at the max layer */ in ice_sched_find_node_by_teid()
69 /* Check if TEID matches to any of the children nodes */ in ice_sched_find_node_by_teid()
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()
209 node->children = devm_kzalloc_objs(ice_hw_to_dev(hw), in ice_sched_add_node()
210 *node->children, in ice_sched_add_node()
[all...]
/linux/drivers/phy/
H A Dphy-core.c146 for_each_child_of_node_scoped(phy_provider->children, child) in of_phy_provider_lookup()
1226 * @children: device node containing children (if different from dev->of_node) in __devm_of_phy_provider_register()
1234 * If the PHY provider doesn't nest children directly but uses a separate
1235 * child node to contain the individual children, the @children parameter
1242 struct device_node *children, struct module *owner, in of_phy_provider_unregister()
1249 * If specified, the device node containing the children must itself
1253 if (children) {
1254 struct device_node *parent = of_node_get(children), *nex
1146 __of_phy_provider_register(struct device * dev,struct device_node * children,struct module * owner,struct phy * (* of_xlate)(struct device * dev,const struct of_phandle_args * args)) __of_phy_provider_register() argument
1209 __devm_of_phy_provider_register(struct device * dev,struct device_node * children,struct module * owner,struct phy * (* of_xlate)(struct device * dev,const struct of_phandle_args * args)) __devm_of_phy_provider_register() argument
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c51 struct list_head children; member
135 list_add_tail(&node->entry, &parent->children); in esw_qos_node_set_parent()
145 if (!list_empty(&node->children) && in esw_qos_nodes_set_parent()
149 list_for_each_entry(child, &node->children, entry) { in esw_qos_nodes_set_parent()
334 list_for_each_entry(node, &parent->children, entry) in esw_qos_calculate_min_rate_divider()
374 list_for_each_entry(node, &parent->children, entry) { in esw_qos_normalize_min_rate()
383 if (list_empty(&node->children)) in esw_qos_normalize_min_rate()
530 INIT_LIST_HEAD(&node->children); in __esw_qos_alloc_node()
615 list_for_each_entry(vports_tc_node, &tc_arbiter_node->children, entry) { in esw_qos_set_tc_arbiter_bw_shares()
634 &tc_arbiter_node->children, entry) in esw_qos_destroy_vports_tc_nodes()
[all …]

12345678