Home
last modified time | relevance | path

Searched refs:isspare (Results 1 – 6 of 6) sorted by relevance

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
HDzpool_vdev.c133 check_slice(const char *path, int force, boolean_t wholedisk, boolean_t isspare) in check_slice() argument
141 else if (isspare) in check_slice()
185 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare) in check_disk() argument
242 if (check_slice(name, force, B_TRUE, isspare) != 0) in check_disk()
256 check_device(const char *path, boolean_t force, boolean_t isspare) in check_device() argument
269 err = check_disk(path, desc, force, isspare); in check_device()
274 return (check_slice(path, force, B_FALSE, isspare)); in check_device()
283 check_file(const char *file, boolean_t force, boolean_t isspare) in check_file() argument
330 if (state == POOL_STATE_SPARE && isspare) in check_file()
356 check_device(const char *name, boolean_t force, boolean_t isspare) in check_device() argument
[all …]
HDzpool_main.c1514 int namewidth, int depth, boolean_t isspare) in print_status_config() argument
1541 if (isspare) { in print_status_config()
1555 if (!isspare) { in print_status_config()
1642 } else if (children == 0 && !isspare && in print_status_config()
1711 namewidth, depth + 2, isspare); in print_status_config()
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zinject/
HDtranslate.c436 boolean_t isspare, iscache; in translate_device() local
447 tgt = zpool_find_vdev(zhp, device, &isspare, &iscache, NULL); in translate_device()
/freebsd-11-stable/cddl/usr.sbin/zfsd/
HDcase_file.h340 bool Replace(const char* vdev_type, const char* path, bool isspare);
HDcase_file.cc1053 CaseFile::Replace(const char* vdev_type, const char* path, bool isspare) { in Replace() argument
1071 if (isspare && !vd.IsSpare() && !replaced.DoesNotExist()) { in Replace()
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
HDlibzfs_import.c1684 uint64_t stateval, isspare; in zpool_in_use() local
1774 ZPOOL_CONFIG_IS_SPARE, &isspare) == 0 && isspare) in zpool_in_use()