Lines Matching refs:newrootvd
4459 vdev_t *oldvd, *newvd, *newrootvd, *pvd, *tvd; in spa_vdev_attach() local
4479 if ((error = spa_config_parse(spa, &newrootvd, nvroot, NULL, 0, in spa_vdev_attach()
4483 if (newrootvd->vdev_children != 1) in spa_vdev_attach()
4484 return (spa_vdev_exit(spa, newrootvd, txg, EINVAL)); in spa_vdev_attach()
4486 newvd = newrootvd->vdev_child[0]; in spa_vdev_attach()
4489 return (spa_vdev_exit(spa, newrootvd, txg, EINVAL)); in spa_vdev_attach()
4491 if ((error = vdev_create(newrootvd, txg, replacing)) != 0) in spa_vdev_attach()
4492 return (spa_vdev_exit(spa, newrootvd, txg, error)); in spa_vdev_attach()
4498 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP)); in spa_vdev_attach()
4507 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP)); in spa_vdev_attach()
4518 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP)); in spa_vdev_attach()
4530 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP)); in spa_vdev_attach()
4533 return (spa_vdev_exit(spa, newrootvd, txg, ENOTSUP)); in spa_vdev_attach()
4546 return (spa_vdev_exit(spa, newrootvd, txg, EOVERFLOW)); in spa_vdev_attach()
4553 return (spa_vdev_exit(spa, newrootvd, txg, EDOM)); in spa_vdev_attach()
4588 vdev_remove_child(newrootvd, newvd); in spa_vdev_attach()
4633 (void) spa_vdev_exit(spa, newrootvd, dtl_max_txg, 0); in spa_vdev_attach()