Searched refs:replacing (Results 1 - 18 of 18) sorted by relevance

/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_util.h47 boolean_t replacing, boolean_t dryrun, zpool_boot_label_t boot_type,
H A Dzpool_vdev.c691 * If this is a replacing or spare vdev, then
714 /* We have a replacing vdev with
1190 boolean_t replacing, boolean_t isspare)
1212 if (replacing) {
1235 if (is_device_in_use(config, child[c], force, replacing,
1242 if (is_device_in_use(config, child[c], force, replacing,
1249 if (is_device_in_use(config, child[c], force, replacing,
1669 boolean_t replacing, boolean_t dryrun, zpool_boot_label_t boot_type,
1693 if (is_device_in_use(poolconfig, newroot, force, replacing, B_FALSE)) {
1189 is_device_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force, boolean_t replacing, boolean_t isspare) argument
1668 make_root_vdev(zpool_handle_t *zhp, int force, int check_rep, boolean_t replacing, boolean_t dryrun, zpool_boot_label_t boot_type, uint64_t boot_size, int argc, char **argv) argument
H A Dzpool_main.c3869 zpool_do_attach_or_replace(int argc, char **argv, int replacing) argument
3913 if (!replacing) {
3948 nvroot = make_root_vdev(zhp, force, B_FALSE, replacing, B_FALSE,
3955 ret = zpool_vdev_attach(zhp, old_disk, new_disk, nvroot, replacing);
/freebsd-12-stable/libexec/rc/rc.d/
H A Dntpd191 $verbose replacing $ntp_db_leapfile with $ntp_src_leapfile
195 $verbose not replacing $ntp_db_leapfile with $ntp_src_leapfile
/freebsd-12-stable/sys/kern/
H A Dkern_acct.c208 int error, flags, i, replacing; local
258 replacing = (acct_vp != NULL && uap->path != NULL);
268 error = acct_disable(td, !replacing);
313 if (!replacing)
/freebsd-12-stable/usr.sbin/manctl/
H A Dmanctl.sh169 echo replacing $fname with a hard link
/freebsd-12-stable/cddl/usr.sbin/zfsd/
H A Dcase_file.cc523 * Don't activate spares for members of a "replacing" vdev.
1017 Vdev replacing(NonexistentVdev);
1044 if (replacing.DoesNotExist() || child.IsResilvering()
1046 replacing = child;
1049 return (replacing);
/freebsd-12-stable/sys/dev/sfxge/common/
H A Def10_filter.c582 boolean_t replacing = B_FALSE; local
673 replacing = B_TRUE;
689 * On replacing the filter handle may change after after a successful
692 if (replacing) {
712 if (replacing) {
735 if (!replacing) {
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_mirror.c254 * 1) We are a replacing vdev (ie our name is "replacing-1" or
275 boolean_t replacing = (vd->vdev_ops == &vdev_replacing_ops || local
279 mm = vdev_mirror_map_alloc(vd->vdev_children, replacing,
624 * XXX -- for replacing vdevs, there's no great answer.
H A Dspa.c6422 * If 'replacing' is specified, the new device is intended to replace the
6424 * mirror using the 'replacing' vdev, which is functionally identical to
6431 spa_vdev_attach(spa_t *spa, uint64_t guid, nvlist_t *nvroot, int replacing) argument
6477 if ((error = vdev_create(newrootvd, txg, replacing)) != 0)
6486 if (!replacing) {
6509 * want to create a replacing vdev. The user is not allowed to
6561 * If the parent is not a mirror, or if we're replacing, insert the new
6562 * mirror/replacing/spare vdev above oldvd.
6628 replacing && newvd_isspare ? "spare in" :
6629 replacing
[all...]
H A Dzfs_ioctl.c94 * caller's buffer, by removing some entries and replacing them with a
2075 int replacing = zc->zc_cookie; local
2084 error = spa_vdev_attach(spa, zc->zc_guid, config, replacing);
/freebsd-12-stable/tools/regression/zfs/
H A Dmisc.sh426 ${ZPOOL} status ${1} | grep replacing >/dev/null
/freebsd-12-stable/usr.sbin/portsnap/portsnap/
H A Dportsnap.sh62 extract -- Extract snapshot of ports tree, replacing existing
64 update -- Update ports tree to match current snapshot, replacing
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_pool.c2881 * If 'replacing' is specified, the new disk will replace the old one.
2885 const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing)
2900 if (replacing)
2919 zc.zc_cookie = replacing;
2938 if (replacing &&
2986 if (replacing) {
2995 "already in replacing/spare config; wait "
2999 "cannot replace a replacing device"));
3094 "applicable to mirror and replacing vdevs"));
2884 zpool_vdev_attach(zpool_handle_t *zhp, const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing) argument
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspa.h685 int replacing);
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c3193 int replacing; local
3222 replacing = ztest_random(2);
3319 * unless it's a replace; in that case any non-replacing parent is OK.
3326 pvd->vdev_ops != &vdev_root_ops && (!replacing ||
3330 else if (newvd_is_spare && (!replacing || oldvd_is_log))
3333 expected_error = replacing ? 0 : EBUSY;
3351 error = spa_vdev_attach(spa, oldguid, root, replacing);
3356 * If our parent was the replacing vdev, but the replace completed,
3379 newsize, replacing, error, expected_error);
/freebsd-12-stable/contrib/ntp/sntp/libevent/
H A Dconfigure1464 disable support for replacing the memory mgt
/freebsd-12-stable/contrib/libevent/
H A Dconfigure1464 disable support for replacing the memory mgt

Completed in 482 milliseconds