Searched refs:isspare (Results 1 - 6 of 6) sorted by path

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zinject/
H A Dtranslate.c436 boolean_t isspare, iscache; local
447 tgt = zpool_find_vdev(zhp, device, &isspare, &iscache, NULL);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_vdev.c133 check_slice(const char *path, int force, boolean_t wholedisk, boolean_t isspare) argument
141 else if (isspare)
185 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare) argument
242 if (check_slice(name, force, B_TRUE, isspare) != 0)
256 check_device(const char *path, boolean_t force, boolean_t isspare) argument
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) argument
330 if (state == POOL_STATE_SPARE && isspare)
356 check_device(const char *name, boolean_t force, boolean_t isspare) argument
1125 is_device_in_use(nvlist_t *config, nvlist_t *nv, boolean_t force, boolean_t replacing, boolean_t isspare) argument
[all...]
H A Dzpool_main.c1514 int namewidth, int depth, boolean_t isspare)
1541 if (isspare) {
1555 if (!isspare) {
1642 } else if (children == 0 && !isspare &&
1711 namewidth, depth + 2, isspare);
1513 print_status_config(zpool_handle_t *zhp, const char *name, nvlist_t *nv, int namewidth, int depth, boolean_t isspare) argument
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_import.c1684 uint64_t stateval, isspare; local
1774 ZPOOL_CONFIG_IS_SPARE, &isspare) == 0 && isspare)
/freebsd-11-stable/cddl/usr.sbin/zfsd/
H A Dcase_file.cc354 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()) {
H A Dcase_file.h336 * \param isspare Whether the new vdev is a spare
340 bool Replace(const char* vdev_type, const char* path, bool isspare);

Completed in 141 milliseconds