Lines Matching defs:child
652 check_tvdevs(libzfs_handle_t *hdl, nvlist_t **child, uint_t children,
677 nvlist_t *cnv = child[c];
690 * get the real first child of the vdev.
864 nvlist_t **child;
893 &child, &children) != 0) {
909 if (!check_tvdevs(hdl, child, children, &rep, fatal,
943 nvlist_t **child;
967 &child, &children) != 0) || (children == 0))
1002 nvlist_t **child;
1016 &child, &children) != 0) {
1077 if ((ret = make_disks(hdl, zhp, child[c],
1082 &child, &children) == 0) {
1084 if ((ret = make_disks(hdl, zhp, child[c],
1090 &child, &children) == 0) {
1092 if ((ret = make_disks(hdl, zhp, child[c],
1156 nvlist_t **child;
1161 &child, &children) != 0) {
1208 if ((ret = check_in_use(hdl, config, child[c], force,
1213 &child, &children) == 0) {
1215 if ((ret = check_in_use(hdl, config, child[c], force,
1221 &child, &children) == 0) {
1223 if ((ret = check_in_use(hdl, config, child[c], force,
1325 nvlist_t **child = NULL;
1376 child = zfs_realloc(hdl, child, children *
1382 nvlist_free(child[i]);
1383 free(child);
1386 child[children] = nv;
1393 if (child) {
1395 nvlist_free(child[i]);
1396 free(child);
1404 if (child) {
1406 nvlist_free(child[i]);
1407 free(child);
1416 spares = child;
1420 l2cache = child;
1436 ZPOOL_CONFIG_CHILDREN, child,
1440 nvlist_free(child[c]);
1441 free(child);
1513 nvlist_t **child;
1533 ZPOOL_CONFIG_CHILDREN, &child, &children) == 0);
1539 verify(nvlist_lookup_string(child[c],