Lines Matching defs:newvd
2750 vdev_t *oldvd, *newvd, *pvd;
2834 newvd = sav->sav_vdevs[ztest_random(sav->sav_count)];
2836 (void) strcpy(newpath, newvd->vdev_path);
2843 newvd = vdev_lookup_by_path(rvd, newpath);
2846 if (newvd) {
2847 newsize = vdev_get_min_asize(newvd);
2862 * If newvd is already part of the pool, it should fail with EBUSY.
2864 * If newvd is too small, it should fail with EOVERFLOW.
2873 else if (newvd == oldvd)
2889 root = make_vdev_root(newpath, NULL, NULL, newvd == NULL ? newsize : 0,