Lines Matching refs:force
56 * devices are also in use. Some can be overridden using the 'force'
58 * 3. Check for replication errors if the 'force' flag is not specified.
134 check_slice(const char *path, int force, boolean_t wholedisk, boolean_t isspare)
140 if (force)
163 if (!wholedisk && !force &&
186 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare)
243 if (check_slice(name, force, B_TRUE, isspare) != 0)
257 check_device(const char *path, boolean_t force, boolean_t isspare)
270 err = check_disk(path, desc, force, isspare);
275 return (check_slice(path, force, B_FALSE, isspare));
283 check_file(const char *file, boolean_t force, boolean_t isspare)
332 state == POOL_STATE_SPARE || !force) {
1035 is_device_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force,
1071 ret = check_device(path, force, isspare);
1073 ret = check_file(path, force, isspare);
1079 if (is_device_in_use(config, child[c], force, replacing,
1086 if (is_device_in_use(config, child[c], force, replacing,
1093 if (is_device_in_use(config, child[c], force, replacing,
1420 * new pool. The 'force' flag controls whether devices should be forcefully
1424 make_root_vdev(zpool_handle_t *zhp, int force, int check_rep,
1429 is_force = force;
1444 * subsystem. We do this even if 'force' is set, because there are some
1448 if (is_device_in_use(poolconfig, newroot, force, replacing, B_FALSE)) {