Lines Matching defs:child
587 nvlist_t **child;
616 &child, &children) != 0) {
656 nvlist_t *cnv = child[c];
670 * get the real first child of the vdev.
835 nvlist_t **child;
857 &child, &children) != 0) || (children == 0)) {
928 nvlist_t **child;
941 &child, &children) != 0) {
1001 if ((ret = make_disks(zhp, child[c])) != 0)
1005 &child, &children) == 0)
1007 if ((ret = make_disks(zhp, child[c])) != 0)
1011 &child, &children) == 0)
1013 if ((ret = make_disks(zhp, child[c])) != 0)
1076 nvlist_t **child;
1087 &child, &children) != 0) {
1119 if (is_device_in_use(config, child[c], force, replacing,
1124 &child, &children) == 0)
1126 if (is_device_in_use(config, child[c], force, replacing,
1131 &child, &children) == 0)
1133 if (is_device_in_use(config, child[c], force, replacing,
1230 nvlist_t **child = NULL;
1289 child = realloc(child,
1291 if (child == NULL)
1296 child[children - 1] = nv;
1317 spares = child;
1321 l2cache = child;
1337 ZPOOL_CONFIG_CHILDREN, child,
1341 nvlist_free(child[c]);
1342 free(child);
1411 nvlist_t *newroot = NULL, **child;
1430 ZPOOL_CONFIG_CHILDREN, &child, &children) == 0);
1436 verify(nvlist_lookup_string(child[c],