Home
last modified time | relevance | path

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

1234567

/f-stack/freebsd/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c491 uint_t c, children; in get_replication() local
798 uint_t children; in check_replication() local
820 &child, &children) != 0) || (children == 0)) { in check_replication()
938 uint_t c, children; in make_disks() local
1097 uint_t c, children; in is_device_in_use() local
1476 int c, children = 0; in construct_spec() local
1554 children++; in construct_spec()
1596 nspares = children; in construct_spec()
1600 nl2cache = children; in construct_spec()
1641 children) == 0); in construct_spec()
[all …]
H A Dzpool_util.c71 uint_t c, children; in num_logs() local
75 &child, &children) != 0) in num_logs()
78 for (c = 0; c < children; c++) { in num_logs()
H A Dzpool_main.c712 &child, &children) == 0 && children > 0) { in print_cache_list()
736 &child, &children) == 0 && children > 0) { in print_spare_list()
2180 children = 0; in print_status_config()
4611 children: in print_vdev_stats()
4627 children = MIN(oldchildren, children); in print_vdev_stats()
4711 children = MIN(oldchildren, children); in print_vdev_stats()
6047 &child, &children) == 0 && children > 0) { in print_list_stats()
6060 &children) == 0 && children > 0) { in print_list_stats()
7513 children = 0; in print_rebuild_status()
7580 children = 0; in check_rebuilding()
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.list_children.ksh46 for s in zfs.list.children("$TESTPOOL/$TESTFS") do
55 for s in zfs.list.children("$TESTPOOL") do
68 for s in zfs.list.children("$TESTPOOL/$TESTFS") do
88 for s in zfs.list.children("$TESTPOOL/$TESTFS") do
103 zfs.list.children("$TESTPOOL/not-a-fs")
108 zfs.list.children("not-a-pool/$TESTFS")
114 zfs.list.children("rpool")
120 zfs.list.children("$TESTPOOL/$TESTFS@$TESTSNAP")
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/draid/
H A Ddraid.c416 map->dm_children = children; in alloc_new_map()
496 uint64_t children = map->dm_children; in eval_resilver() local
498 uint64_t ndisks = children - nspares; in eval_resilver()
605 uint64_t children = map->dm_children; in eval_decluster() local
869 for (uint64_t children = min_children; in draid_generate() local
870 children <= max_children; children++) { in draid_generate()
981 children++) { in draid_verify()
1103 (u_longlong_t)children); in draid_verify()
1181 for (uint64_t children = min_children; in draid_dump() local
1182 children <= max_children; children++) { in draid_dump()
[all …]
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list_003_pos.ksh58 children="$TESTPOOL/$TESTFS"
61 children="$children $TESTPOOL/$TESTFS/$fs"
68 for fs in $children ; do
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_draid_001_pos.ksh58 for children in {$((parity + 2))..24}; do
59 vdevs=$(echo $TESTDIR/file.{01..${children}})
68 for children in $children_counts; do
69 vdevs=$(echo $TESTDIR/file.{01..${children}})
H A Dzpool_create_draid_003_pos.ksh61 children=$(random_int_between $min_children 32)
63 draid="draid${parity}:${data}d:${children}c:${spares}s"
65 draid_vdevs=$(echo $TESTDIR/file.{01..$children})
75 children=32
76 draid_vdevs=$(echo $TESTDIR/file.{01..$children})
/f-stack/freebsd/contrib/openzfs/module/zcommon/
H A Dzfs_comutil.c51 uint_t children; in zfs_allocatable_devs() local
54 &child, &children) != 0) { in zfs_allocatable_devs()
57 for (c = 0; c < children; c++) { in zfs_allocatable_devs()
76 uint_t children; in zfs_special_devs() local
79 &child, &children) != 0) { in zfs_special_devs()
82 for (c = 0; c < children; c++) { in zfs_special_devs()
/f-stack/freebsd/arm/altera/socfpga/
H A Dsocfpga_rstmgr.c186 struct sysctl_oid_list *children; in rstmgr_add_sysctl() local
190 children = SYSCTL_CHILDREN(device_get_sysctl_tree(sc->dev)); in rstmgr_add_sysctl()
192 SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "fpga2hps", in rstmgr_add_sysctl()
196 SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "lwhps2fpga", in rstmgr_add_sysctl()
200 SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "hps2fpga", in rstmgr_add_sysctl()
/f-stack/freebsd/contrib/ck/src/
H A Dck_barrier_mcs.c61 barrier[i].children[0] = ((i << 1) + 1 >= nthr) ? in ck_barrier_mcs_init()
65 barrier[i].children[1] = ((i << 1) + 2 >= nthr) ? in ck_barrier_mcs_init()
136 ck_pr_store_uint(barrier[state->vpid].children[0], state->sense); in ck_barrier_mcs()
137 ck_pr_store_uint(barrier[state->vpid].children[1], state->sense); in ck_barrier_mcs()
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_status.c160 uint_t c, vsc, children; in find_vdev_problem() local
178 &children) == 0) { in find_vdev_problem()
179 for (c = 0; c < children; c++) in find_vdev_problem()
194 &children) == 0) { in find_vdev_problem()
195 for (c = 0; c < children; c++) in find_vdev_problem()
258 uint_t c, i, children; in check_status() local
261 &child, &children) == 0) { in check_status()
262 for (c = 0; c < children; c++) { in check_status()
/f-stack/freebsd/contrib/openzfs/cmd/zed/agents/
H A Dzfs_agents.c80 uint_t c, children; in zfs_agent_iter_vdev() local
87 &child, &children) == 0) { in zfs_agent_iter_vdev()
88 for (c = 0; c < children; c++) { in zfs_agent_iter_vdev()
99 &child, &children) == 0) { in zfs_agent_iter_vdev()
100 for (c = 0; c < children; c++) { in zfs_agent_iter_vdev()
108 &child, &children) == 0) { in zfs_agent_iter_vdev()
109 for (c = 0; c < children; c++) { in zfs_agent_iter_vdev()
H A Dzfs_retire.c102 uint_t c, children; in find_vdev() local
113 &child, &children) != 0) in find_vdev()
116 for (c = 0; c < children; c++) { in find_vdev()
122 &child, &children) != 0) in find_vdev()
125 for (c = 0; c < children; c++) { in find_vdev()
131 &child, &children) != 0) in find_vdev()
134 for (c = 0; c < children; c++) { in find_vdev()
H A Dzfs_mod.c474 uint_t c, children; in zfs_iter_vdev() local
481 &child, &children) == 0) { in zfs_iter_vdev()
482 for (c = 0; c < children; c++) in zfs_iter_vdev()
490 &child, &children) == 0) { in zfs_iter_vdev()
491 for (c = 0; c < children; c++) in zfs_iter_vdev()
495 &child, &children) == 0) { in zfs_iter_vdev()
496 for (c = 0; c < children; c++) in zfs_iter_vdev()
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_spare2.ksh44 children=10
45 draid="draid${parity}:${data}d:${children}c:${spares}s"
47 setup_test_env $TESTPOOL $draid $children
H A Dredundancy_draid_spare1.ksh58 children=$(random_int_between $min_children 16)
60 draid="draid${parity}:${data}d:${children}c:${spares}s"
62 setup_test_env $TESTPOOL $draid $children
H A Dredundancy_draid_spare3.ksh72 children=10
73 draid="draid${parity}:${data}d:${children}c:${spares}s"
75 setup_test_env $TESTPOOL $draid $children
/f-stack/freebsd/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c198 uint_t c, children; in fix_paths() local
204 &child, &children) == 0) { in fix_paths()
205 for (c = 0; c < children; c++) in fix_paths()
467 uint_t children = 0; in get_configs() local
606 if (id >= children) { in get_configs()
619 children = id + 1; in get_configs()
634 if (max_id < children) { in get_configs()
637 children = max_id; in get_configs()
651 children = max_id; in get_configs()
741 children = 0; in get_configs()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/mtd/
H 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:
H A Dnand-macronix.txt14 in children nodes.
16 Required NAND chip properties in children mode:
/f-stack/freebsd/kern/
H A Dsubr_smp.c812 int children; in smp_topo_find() local
822 children = cg->cg_children; in smp_topo_find()
823 for (i = 0, cg = cg->cg_child; i < children; cg++, i++) in smp_topo_find()
1071 TAILQ_INIT(&node->children); in topo_init_node()
1092 TAILQ_FOREACH_REVERSE(node, &parent->children, in topo_add_node_by_hwid()
1106 TAILQ_INSERT_TAIL(&parent->children, node, siblings); in topo_add_node_by_hwid()
1122 TAILQ_FOREACH(node, &parent->children, siblings) { in topo_find_node_by_hwid()
1147 TAILQ_REMOVE(&parent->children, child, siblings); in topo_promote_child()
1148 TAILQ_INSERT_HEAD(&parent->children, child, siblings); in topo_promote_child()
1153 TAILQ_REMOVE(&parent->children, node, siblings); in topo_promote_child()
[all …]
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_mirror.c146 vdev_mirror_map_size(int children) in vdev_mirror_map_size() argument
148 return (offsetof(mirror_map_t, mm_child[children]) + in vdev_mirror_map_size()
149 sizeof (int) * children); in vdev_mirror_map_size()
153 vdev_mirror_map_alloc(int children, boolean_t resilvering, boolean_t root) in vdev_mirror_map_alloc() argument
157 mm = kmem_zalloc(vdev_mirror_map_size(children), KM_SLEEP); in vdev_mirror_map_alloc()
158 mm->mm_children = children; in vdev_mirror_map_alloc()
162 offsetof(mirror_map_t, mm_child[children])); in vdev_mirror_map_alloc()
629 int c, children; in vdev_mirror_io_start() local
667 children = (c >= 0); in vdev_mirror_io_start()
675 children = mm->mm_children; in vdev_mirror_io_start()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/display/
H A 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.
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_pool_os.c131 uint_t c, children; in find_start_block() local
136 ZPOOL_CONFIG_CHILDREN, &child, &children) != 0) { in find_start_block()
147 for (c = 0; c < children; c++) { in find_start_block()

1234567