Lines Matching refs:force
132 check_slice(const char *path, int force, boolean_t wholedisk, boolean_t isspare) in check_slice() argument
138 if (force) in check_slice()
161 if (!wholedisk && !force && in check_slice()
184 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare) in check_disk() argument
241 if (check_slice(name, force, B_TRUE, isspare) != 0) in check_disk()
255 check_device(const char *path, boolean_t force, boolean_t isspare) in check_device() argument
268 err = check_disk(path, desc, force, isspare); in check_device()
273 return (check_slice(path, force, B_FALSE, isspare)); in check_device()
281 check_file(const char *file, boolean_t force, boolean_t isspare) in check_file() argument
330 state == POOL_STATE_SPARE || !force) { in check_file()
1031 check_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force, in check_in_use() argument
1066 ret = check_device(path, force, isspare); in check_in_use()
1069 ret = check_file(path, force, isspare); in check_in_use()
1075 if ((ret = check_in_use(config, child[c], force, in check_in_use()
1082 if ((ret = check_in_use(config, child[c], force, in check_in_use()
1089 if ((ret = check_in_use(config, child[c], force, in check_in_use()
1421 make_root_vdev(zpool_handle_t *zhp, int force, int check_rep, in make_root_vdev() argument
1426 is_force = force; in make_root_vdev()
1445 if (check_in_use(poolconfig, newroot, force, replacing, B_FALSE) != 0) { in make_root_vdev()