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

/freebsd-13-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-13-stable/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_util.h58 int check_rep, boolean_t replacing, boolean_t dryrun, int argc,
H A Dzpool_vdev.c578 * If this is a replacing or spare vdev, then
580 * in a loop because replacing and spare vdevs
1094 boolean_t replacing, boolean_t isspare)
1119 if (replacing) {
1141 if (is_device_in_use(config, child[c], force, replacing,
1148 if (is_device_in_use(config, child[c], force, replacing,
1155 if (is_device_in_use(config, child[c], force, replacing,
1811 boolean_t replacing, boolean_t dryrun, int argc, char **argv)
1836 if (is_device_in_use(poolconfig, newroot, force, replacing, B_FALSE)) {
1093 is_device_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force, boolean_t replacing, boolean_t isspare) argument
1810 make_root_vdev(zpool_handle_t *zhp, nvlist_t *props, int force, int check_rep, boolean_t replacing, boolean_t dryrun, int argc, char **argv) argument
H A Dzpool_main.c6380 zpool_do_attach_or_replace(int argc, char **argv, int replacing) argument
6445 if (!replacing) {
6491 nvroot = make_root_vdev(zhp, props, force, B_FALSE, replacing, B_FALSE,
6499 ret = zpool_vdev_attach(zhp, old_disk, new_disk, nvroot, replacing,
6504 replacing ? ZPOOL_WAIT_REPLACE : ZPOOL_WAIT_RESILVER);
6519 * -w Wait for replacing to complete before returning
10213 /* Whether any vdevs are 'spare' or 'replacing' vdevs */
10338 * 'replacing' vdevs and a resilver is happening, then a replace is in
/freebsd-13-stable/sys/kern/
H A Dkern_acct.c208 int error, flags, replacing; local
258 replacing = (acct_vp != NULL && uap->path != NULL);
268 error = acct_disable(td, !replacing);
304 if (!replacing)
/freebsd-13-stable/usr.sbin/manctl/
H A Dmanctl.sh169 echo replacing $fname with a hard link
/freebsd-13-stable/cddl/usr.sbin/zfsd/
H A Dcase_file.cc516 * Don't activate spares for members of a "replacing" vdev.
1010 Vdev replacing(NonexistentVdev);
1037 if (replacing.DoesNotExist() || child.IsResilvering()
1039 replacing = child;
1042 return (replacing);
/freebsd-13-stable/sys/dev/sfxge/common/
H A Def10_filter.c645 boolean_t replacing = B_FALSE; local
732 replacing = B_TRUE;
748 * On replacing the filter handle may change after after a successful
751 if (replacing) {
771 if (replacing) {
794 if (!replacing) {
/freebsd-13-stable/tools/regression/zfs/
H A Dmisc.sh426 ${ZPOOL} status ${1} | grep replacing >/dev/null
/freebsd-13-stable/contrib/bmake/unit-tests/
H A Ddirective-for.mk114 # Until 2008-12-21, the .for loop was expanded by replacing the variable
H A Dvarmod-sysv.mk139 # It's also possible to modify each word by replacing the prefix and adding
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dvdev_mirror.c344 * 1) We are a replacing vdev (ie our name is "replacing-1" or
365 boolean_t replacing = (vd->vdev_ops == &vdev_replacing_ops || local
369 mm = vdev_mirror_map_alloc(vd->vdev_children, replacing,
766 * XXX -- for replacing vdevs, there's no great answer.
H A Dspa.c6657 * If 'replacing' is specified, the new device is intended to replace the
6659 * mirror using the 'replacing' vdev, which is functionally identical to
6670 spa_vdev_attach(spa_t *spa, uint64_t guid, nvlist_t *nvroot, int replacing, argument
6730 if ((error = vdev_create(newrootvd, txg, replacing)) != 0)
6764 if (!replacing) {
6787 * want to create a replacing vdev. The user is not allowed to
6836 * If the parent is not a mirror, or if we're replacing, insert the new
6837 * mirror/replacing/spare vdev above oldvd.
6922 replacing && newvd_isspare ? "spare in" :
6923 replacing
[all...]
H A Dzfs_ioctl.c104 * caller's buffer, by removing some entries and replacing them with a
1937 int replacing = zc->zc_cookie; local
1946 error = spa_vdev_attach(spa, zc->zc_guid, config, replacing,
/freebsd-13-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-13-stable/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_pool.c3251 * If 'replacing' is specified, the new disk will replace the old one.
3255 const char *new_disk, nvlist_t *nvroot, int replacing, boolean_t rebuild)
3269 if (replacing)
3288 zc.zc_cookie = replacing;
3315 if (replacing &&
3343 if (replacing) {
3360 "already in replacing/spare config; wait "
3364 "cannot replace a replacing device"));
3461 "applicable to mirror and replacing vdevs"));
3254 zpool_vdev_attach(zpool_handle_t *zhp, const char *old_disk, const char *new_disk, nvlist_t *nvroot, int replacing, boolean_t rebuild) argument
/freebsd-13-stable/sys/contrib/openzfs/cmd/ztest/
H A Dztest.c3602 int replacing; local
3634 replacing = ztest_random(2);
3744 * unless it's a replace; in that case any non-replacing parent is OK.
3754 pvd->vdev_ops != &vdev_root_ops && (!replacing ||
3758 else if (newvd_is_spare && (!replacing || oldvd_is_log))
3761 expected_error = replacing ? 0 : EBUSY;
3790 error = spa_vdev_attach(spa, oldguid, root, replacing, rebuilding);
3795 * If our parent was the replacing vdev, but the replace completed,
3819 newsize, replacing, error, expected_error);
/freebsd-13-stable/sys/contrib/openzfs/include/sys/
H A Dspa.h813 int replacing, int rebuild);
/freebsd-13-stable/contrib/libevent/
H A Dconfigure1464 disable support for replacing the memory mgt
/freebsd-13-stable/contrib/ntp/sntp/libevent/
H A Dconfigure1464 disable support for replacing the memory mgt

Completed in 278 milliseconds