Searched refs:isspare (Results 1 - 6 of 6) sorted by relevance
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_vdev.c | 134 check_slice(const char *path, int force, boolean_t wholedisk, boolean_t isspare) argument 142 else if (isspare) 186 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare) argument 243 if (check_slice(name, force, B_TRUE, isspare) != 0) 257 check_device(const char *path, boolean_t force, boolean_t isspare) argument 270 err = check_disk(path, desc, force, isspare); 275 return (check_slice(path, force, B_FALSE, isspare)); 284 check_file(const char *file, boolean_t force, boolean_t isspare) argument 331 if (state == POOL_STATE_SPARE && isspare) 357 check_device(const char *name, boolean_t force, boolean_t isspare) argument 1189 is_device_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force, boolean_t replacing, boolean_t isspare) argument [all...] |
H A D | zpool_main.c | 1576 nvlist_t *nv, int depth, boolean_t isspare) 1603 if (isspare) { 1617 if (!isspare) { 1708 } else if (children == 0 && !isspare && 1782 isspare); 1575 print_status_config(zpool_handle_t *zhp, status_cbdata_t *cb, const char *name, nvlist_t *nv, int depth, boolean_t isspare) argument
|
/freebsd-12-stable/cddl/usr.sbin/zfsd/ |
H A D | case_file.h | 336 * \param isspare Whether the new vdev is a spare 340 bool Replace(const char* vdev_type, const char* path, bool isspare);
|
H A D | case_file.cc | 354 return (Replace(VDEV_TYPE_DISK, devPath.c_str(), /*isspare*/false)); 584 return (Replace(vdev_type, devPath, /*isspare*/true)); 1053 CaseFile::Replace(const char* vdev_type, const char* path, bool isspare) { argument 1071 if (isspare && !vd.IsSpare() && !replaced.DoesNotExist()) {
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zinject/ |
H A D | translate.c | 436 boolean_t isspare, iscache; local 447 tgt = zpool_find_vdev(zhp, device, &isspare, &iscache, NULL);
|
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_import.c | 1767 uint64_t stateval, isspare; local 1857 ZPOOL_CONFIG_IS_SPARE, &isspare) == 0 && isspare)
|
Completed in 145 milliseconds