Lines Matching refs:children
596 uint_t c, children; in get_replication() local
626 &child, &children) != 0) { in get_replication()
665 for (c = 0; c < children; c++) { in get_replication()
876 uint_t children; in check_replication() local
898 &child, &children) != 0) || (children == 0)) { in check_replication()
906 if (num_logs(newroot) == children) { in check_replication()
984 uint_t c, children; in make_disks() local
997 &child, &children) != 0) { in make_disks()
1074 if ((strcmp(type, VDEV_TYPE_ROOT) == 0) && children > 1) { in make_disks()
1081 for (c = 0; c < children; c++) { in make_disks()
1088 &child, &children) == 0) in make_disks()
1089 for (c = 0; c < children; c++) { in make_disks()
1096 &child, &children) == 0) in make_disks()
1097 for (c = 0; c < children; c++) { in make_disks()
1163 uint_t c, children; in is_device_in_use() local
1173 &child, &children) != 0) { in is_device_in_use()
1202 for (c = 0; c < children; c++) in is_device_in_use()
1208 &child, &children) == 0) in is_device_in_use()
1209 for (c = 0; c < children; c++) in is_device_in_use()
1215 &child, &children) == 0) in is_device_in_use()
1216 for (c = 0; c < children; c++) in is_device_in_use()
1323 int c, children = 0; in construct_spec() local
1401 children++; in construct_spec()
1403 children * sizeof (nvlist_t *)); in construct_spec()
1408 for (c = 0; c < children - 1; c++) in construct_spec()
1413 child[children - 1] = nv; in construct_spec()
1416 if (children < mindev) { in construct_spec()
1423 if (children > maxdev) { in construct_spec()
1435 nspares = children; in construct_spec()
1439 nl2cache = children; in construct_spec()
1470 children) == 0); in construct_spec()
1472 for (c = 0; c < children; c++) in construct_spec()
1555 uint_t c, children; in split_mirror_vdev() local
1578 ZPOOL_CONFIG_CHILDREN, &child, &children) == 0); in split_mirror_vdev()
1579 for (c = 0; c < children; c++) { in split_mirror_vdev()