Lines Matching defs:newvd
2751 vdev_t *oldvd, *newvd, *pvd;
2835 newvd = sav->sav_vdevs[ztest_random(sav->sav_count)];
2837 (void) strcpy(newpath, newvd->vdev_path);
2844 newvd = vdev_lookup_by_path(rvd, newpath);
2847 if (newvd) {
2848 newsize = vdev_get_min_asize(newvd);
2863 * If newvd is already part of the pool, it should fail with EBUSY.
2865 * If newvd is too small, it should fail with EOVERFLOW.
2874 else if (newvd == oldvd)
2890 root = make_vdev_root(newpath, NULL, NULL, newvd == NULL ? newsize : 0,