Lines Matching defs: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.
133 check_slice(const char *path, int force, boolean_t wholedisk, boolean_t isspare)
139 if (force)
162 if (!wholedisk && !force &&
185 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare)
242 if (check_slice(name, force, B_TRUE, isspare) != 0)
256 check_device(const char *path, boolean_t force, boolean_t isspare)
269 err = check_disk(path, desc, force, isspare);
274 return (check_slice(path, force, B_FALSE, isspare));
283 check_file(const char *file, boolean_t force, boolean_t isspare)
334 state == POOL_STATE_SPARE || !force) {
356 check_device(const char *name, boolean_t force, boolean_t isspare)
365 return (check_file(path, force, isspare));
1088 is_device_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force,
1126 ret = check_device(path, force, isspare);
1128 ret = check_file(path, force, isspare);
1134 if (is_device_in_use(config, child[c], force, replacing,
1141 if (is_device_in_use(config, child[c], force, replacing,
1148 if (is_device_in_use(config, child[c], force, replacing,
1477 * new pool. The 'force' flag controls whether devices should be forcefully
1481 make_root_vdev(zpool_handle_t *zhp, int force, int check_rep,
1486 is_force = force;
1501 * subsystem. We do this even if 'force' is set, because there are some
1505 if (is_device_in_use(poolconfig, newroot, force, replacing, B_FALSE)) {