/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | test_cpu.c | 236 int (*validate)(const struct cpu_hogger *children, int num_children)) in run_cpucg_weight_test() 240 struct cpu_hogger children[3] = {NULL}; 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[ in run_cpucg_weight_test() 233 run_cpucg_weight_test( const char *root, pid_t (*spawn_child)(const struct cpu_hogger *child), int (*validate)(const struct cpu_hogger *children, int num_children)) run_cpucg_weight_test() argument 321 overprovision_validate(const struct cpu_hogger *children, int num_children) overprovision_validate() argument 367 underprovision_validate(const struct cpu_hogger *children, int num_children) underprovision_validate() argument [all...] |
H A D | test_memcontrol.c | 292 char *children[4] = {NULL}; in test_memcg_protection() local 343 for (i = 0; i < ARRAY_SIZE(children); i++) { in test_memcg_protection() 344 children[i] = cg_name_indexed(parent[1], "child_memcg", i); in test_memcg_protection() 345 if (!children[i]) in test_memcg_protection() 348 if (cg_create(children[i])) in test_memcg_protection() 354 cg_run_nowait(children[i], alloc_pagecache_50M_noexit, in test_memcg_protection() 360 if (cg_write(children[0], attribute, "75M")) in test_memcg_protection() 362 if (cg_write(children[1], attribute, "25M")) in test_memcg_protection() 364 if (cg_write(children[2], attribute, "0")) in test_memcg_protection() 366 if (cg_write(children[ in test_memcg_protection() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
H A D | test_memcontrol.c | 268 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[ in test_memcg_min() 424 char *children[4] = {NULL}; test_memcg_low() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | fp-stress.c | 41 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() 504 children = calloc(sizeof(*children), tests); in main() 505 if (!children) in main() 514 /* Create a pipe which children will block on before execing */ in main() 520 /* Get signal handers ready before we start any children */ in main() [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | wl1273-core.c | 165 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() 214 dev_dbg(&client->dev, "%s: number of children: %d.\n", in wl1273_core_probe() 215 __func__, children); in wl1273_core_probe() 218 children, NUL in wl1273_core_probe() [all...] |
H A D | twl6040.c | 642 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() [all...] |
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | wl1273-core.c | 164 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() 213 dev_dbg(&client->dev, "%s: number of children: %d.\n", in wl1273_core_probe() 214 __func__, children); in wl1273_core_probe() 217 children, NUL in wl1273_core_probe() [all...] |
H A D | twl6040.c | 638 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() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | qdisc.c | 23 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() 295 * MQ's children. in nfp_abm_qdisc_clear_mq() 310 if (mq->children[i] == qdisc) { in nfp_abm_qdisc_clear_mq() 311 mq->children[ in nfp_abm_qdisc_clear_mq() 339 nfp_abm_qdisc_alloc(struct net_device *netdev, struct nfp_abm_link *alink, enum nfp_qdisc_type type, u32 parent_handle, u32 handle, unsigned int children) nfp_abm_qdisc_alloc() argument 387 nfp_abm_qdisc_replace(struct net_device *netdev, struct nfp_abm_link *alink, enum nfp_qdisc_type type, u32 parent_handle, u32 handle, unsigned int children, struct nfp_qdisc **qdisc) nfp_abm_qdisc_replace() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | qdisc.c | 23 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() 295 * MQ's children. in nfp_abm_qdisc_clear_mq() 310 if (mq->children[i] == qdisc) { in nfp_abm_qdisc_clear_mq() 311 mq->children[ in nfp_abm_qdisc_clear_mq() 339 nfp_abm_qdisc_alloc(struct net_device *netdev, struct nfp_abm_link *alink, enum nfp_qdisc_type type, u32 parent_handle, u32 handle, unsigned int children) nfp_abm_qdisc_alloc() argument 387 nfp_abm_qdisc_replace(struct net_device *netdev, struct nfp_abm_link *alink, enum nfp_qdisc_type type, u32 parent_handle, u32 handle, unsigned int children, struct nfp_qdisc **qdisc) nfp_abm_qdisc_replace() argument [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | generic-radix-tree.c | 13 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() 190 while (!n->children[i]) { in __genradix_iter_peek() 208 n = n->children[i]; in __genradix_iter_peek() 221 if (n->children[i]) in genradix_free_recurse() 222 genradix_free_recurse(n->children[i], level - 1); in genradix_free_recurse()
|
/kernel/linux/linux-6.6/lib/ |
H A D | generic-radix-tree.c | 13 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() 190 while (!n->children[i]) { in __genradix_iter_peek() 208 n = n->children[i]; in __genradix_iter_peek() 221 if (n->children[i]) in genradix_free_recurse() 222 genradix_free_recurse(n->children[i], level - 1); in genradix_free_recurse()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.h | 136 struct list_head children; member 165 /* Type of children is mlx5_flow_group */ 209 /* Type of children is mlx5_flow_rule */ 224 /* Type of children is mlx5_flow_table/namespace */ 233 /* Type of children is fs_prio */ 245 /* Type of children is fs_fte */ 299 list_for_each_entry_reverse(pos, &(prio)->node.children, list) 302 list_for_each_entry(pos, (&(prio)->node.children), list) 305 fs_list_for_each_entry(pos, &(ns)->node.children) 308 fs_list_for_each_entry(pos, &(prio)->node.children) [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.h | 158 struct list_head children; member 187 /* Type of children is mlx5_flow_group */ 231 /* Type of children is mlx5_flow_rule */ 247 /* Type of children is mlx5_flow_table/namespace */ 256 /* Type of children is fs_prio */ 268 /* Type of children is fs_fte */ 334 list_for_each_entry_reverse(pos, &(prio)->node.children, list) 337 list_for_each_entry(pos, (&(prio)->node.children), list) 340 fs_list_for_each_entry(pos, &(ns)->node.children) 343 fs_list_for_each_entry(pos, &(prio)->node.children) [all...] |
/kernel/linux/linux-5.10/drivers/platform/x86/ |
H A D | surface3_button.c | 65 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()
|
/kernel/linux/linux-5.10/fs/nfs/blocklayout/ |
H A D | dev.c | 23 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 in bl_parse_stripe() [all...] |
/kernel/linux/linux-6.6/fs/nfs/blocklayout/ |
H A D | dev.c | 23 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() 406 d->children = kcalloc(v->concat.volumes_count, in bl_parse_concat() 408 if (!d->children) in bl_parse_concat() 412 ret = bl_parse_deviceid(server, &d->children[i], in bl_parse_concat() 418 d->children[i].start += len; in bl_parse_concat() 419 len += d->children[i].len; in bl_parse_concat() 435 d->children in bl_parse_stripe() [all...] |
/kernel/linux/linux-5.10/drivers/i2c/muxes/ |
H A D | i2c-mux-gpmux.c | 77 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()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | check-sysctl-docs | 23 # children: maps ctl_table names and procnames to child ctl_table names 97 delete children 146 children[curtable][curentry] = child 152 if (children[tables[1]][table]) { 153 for (entry in entries[children[tables[1]][table]]) {
|
H A D | asn1_compiler.c | 686 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, *elemen in parse_compound() local [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | flamegraph.py | 30 self.children = [] 37 "c": self.children 61 for child in node.children: 66 node.children.append(child)
|
/kernel/linux/linux-6.6/drivers/i2c/muxes/ |
H A D | i2c-mux-gpmux.c | 77 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()
|
/kernel/linux/linux-5.10/include/linux/phy/ |
H A D | phy.h | 152 * @children: can be used to override the default (dev->of_node) child node 159 struct device_node *children; member 188 #define of_phy_provider_register_full(dev, children, xlate) \ 189 __of_phy_provider_register(dev, children, THIS_MODULE, xlate) 191 #define devm_of_phy_provider_register_full(dev, children, xlate) \ 192 __devm_of_phy_provider_register(dev, children, THIS_MODULE, xlate) 257 struct device_node *children, struct module *owner, 261 struct device_node *children, struct module *owner, 476 struct device *dev, struct device_node *children, struct module *owner, in __of_phy_provider_register() 484 *dev, struct device_node *children, struc in __devm_of_phy_provider_register() 475 __of_phy_provider_register( struct device *dev, struct device_node *children, struct module *owner, struct phy * (*of_xlate)(struct device *dev, struct of_phandle_args *args)) __of_phy_provider_register() argument 483 __devm_of_phy_provider_register(struct device *dev, struct device_node *children, struct module *owner, struct phy * (*of_xlate)(struct device *dev, struct of_phandle_args *args)) __devm_of_phy_provider_register() argument [all...] |
/kernel/linux/linux-6.6/include/linux/phy/ |
H A D | phy.h | 168 * @children: can be used to override the default (dev->of_node) child node 175 struct device_node *children; member 204 #define of_phy_provider_register_full(dev, children, xlate) \ 205 __of_phy_provider_register(dev, children, THIS_MODULE, xlate) 207 #define devm_of_phy_provider_register_full(dev, children, xlate) \ 208 __devm_of_phy_provider_register(dev, children, THIS_MODULE, xlate) 276 struct device_node *children, struct module *owner, 280 struct device_node *children, struct module *owner, 510 struct device *dev, struct device_node *children, struct module *owner, in __of_phy_provider_register() 518 *dev, struct device_node *children, struc in __devm_of_phy_provider_register() 509 __of_phy_provider_register( struct device *dev, struct device_node *children, struct module *owner, struct phy * (*of_xlate)(struct device *dev, struct of_phandle_args *args)) __of_phy_provider_register() argument 517 __devm_of_phy_provider_register(struct device *dev, struct device_node *children, struct module *owner, struct phy * (*of_xlate)(struct device *dev, struct of_phandle_args *args)) __devm_of_phy_provider_register() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/mdio/ |
H A D | mdio-mux.c | 24 /* List of our children linked through their next fields. */ 25 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()
|