Lines Matching refs:force
135 check_slice(const char *path, int force, boolean_t wholedisk, boolean_t isspare) in check_slice() argument
141 if (force) in check_slice()
164 if (!wholedisk && !force && in check_slice()
187 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare) in check_disk() argument
244 if (check_slice(name, force, B_TRUE, isspare) != 0) in check_disk()
258 check_device(const char *path, boolean_t force, boolean_t isspare) in check_device() argument
271 err = check_disk(path, desc, force, isspare); in check_device()
276 return (check_slice(path, force, B_FALSE, isspare)); in check_device()
284 check_file(const char *file, boolean_t force, boolean_t isspare) in check_file() argument
333 state == POOL_STATE_SPARE || !force) { in check_file()
1159 is_device_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force, in is_device_in_use() argument
1195 ret = check_device(path, force, isspare); in is_device_in_use()
1197 ret = check_file(path, force, isspare); in is_device_in_use()
1203 if (is_device_in_use(config, child[c], force, replacing, in is_device_in_use()
1210 if (is_device_in_use(config, child[c], force, replacing, in is_device_in_use()
1217 if (is_device_in_use(config, child[c], force, replacing, in is_device_in_use()
1638 make_root_vdev(zpool_handle_t *zhp, nvlist_t *props, int force, int check_rep, in make_root_vdev() argument
1644 is_force = force; in make_root_vdev()
1663 if (is_device_in_use(poolconfig, newroot, force, replacing, B_FALSE)) { in make_root_vdev()