Lines Matching defs:children
648 * Check one top-level vdev and its children to ensure we don't mix devices
652 check_tvdevs(libzfs_handle_t *hdl, nvlist_t **child, uint_t children,
676 for (c = 0; c < children; c++) {
865 uint_t children;
893 &child, &children) != 0) {
909 if (!check_tvdevs(hdl, child, children, &rep, fatal,
944 uint_t children;
963 * for spares there may be no children, and therefore no
967 &child, &children) != 0) || (children == 0))
1003 uint_t c, children;
1016 &child, &children) != 0) {
1076 for (c = 0; c < children; c++) {
1082 &child, &children) == 0) {
1083 for (c = 0; c < children; c++) {
1090 &child, &children) == 0) {
1091 for (c = 0; c < children; c++) {
1157 uint_t c, children;
1161 &child, &children) != 0) {
1207 for (c = 0; c < children; c++) {
1213 &child, &children) == 0) {
1214 for (c = 0; c < children; c++) {
1221 &child, &children) == 0) {
1222 for (c = 0; c < children; c++) {
1326 int c, children = 0;
1376 child = zfs_realloc(hdl, child, children *
1377 sizeof (nvlist_t *), (children + 1) *
1381 for (int i = 0; i < children; i++)
1386 child[children] = nv;
1387 children++;
1389 if (children < mindev) {
1394 for (int i = 0; i < children; i++)
1400 if (children > maxdev) {
1405 for (int i = 0; i < children; i++)
1417 nspares = children;
1421 nl2cache = children;
1437 children) == 0);
1439 for (c = 0; c < children; c++)
1514 uint_t c, children;
1533 ZPOOL_CONFIG_CHILDREN, &child, &children) == 0);
1534 for (c = 0; c < children; c++) {