Lines Matching refs:newrootvd
4589 vdev_t *oldvd, *newvd, *newrootvd, *pvd, *tvd;
4609 if ((error = spa_config_parse(spa, &newrootvd, nvroot, NULL, 0,
4613 if (newrootvd->vdev_children != 1)
4614 return (spa_vdev_exit(spa, newrootvd, txg, EINVAL));
4616 newvd = newrootvd->vdev_child[0];
4619 return (spa_vdev_exit(spa, newrootvd, txg, EINVAL));
4621 if ((error = vdev_create(newrootvd, txg, replacing)) != 0)
4622 return (spa_vdev_exit(spa, newrootvd, txg, error));
4628 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP));
4637 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP));
4648 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP));
4660 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP));
4663 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP));
4676 return (spa_vdev_exit(spa, newrootvd, txg, EOVERFLOW));
4683 return (spa_vdev_exit(spa, newrootvd, txg, EDOM));
4718 vdev_remove_child(newrootvd, newvd);
4768 (void) spa_vdev_exit(spa, newrootvd, dtl_max_txg, 0);