Searched refs:newvd (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dspa.c4882 vdev_t *oldvd, *newvd, *newrootvd, *pvd, *tvd; local
4909 newvd = newrootvd->vdev_child[0];
4911 if (!newvd->vdev_ops->vdev_op_leaf)
4920 if (oldvd->vdev_top->vdev_islog && newvd->vdev_isspare)
4940 !spa_has_spare(spa, newvd->vdev_guid))
4955 newvd->vdev_isspare != oldvd->vdev_isspare) {
4959 if (newvd->vdev_isspare)
4968 if (newvd->vdev_asize < vdev_get_min_asize(oldvd))
4975 if (newvd->vdev_ashift > oldvd->vdev_top->vdev_ashift)
4980 * to make it distinguishable from newvd, an
5874 vdev_t *newvd, *oldvd; local
[all...]
/netbsd-current/external/cddl/osnet/dist/cmd/ztest/
H A Dztest.c2750 vdev_t *oldvd, *newvd, *pvd; local
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
[all...]

Completed in 103 milliseconds