Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/zpool/
H A Dzpool_vdev.c134 check_slice(const char *path, int force, boolean_t wholedisk, boolean_t isspare) in check_slice() argument
142 else if (isspare) in check_slice()
186 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare) in check_disk() argument
243 if (check_slice(name, force, B_TRUE, isspare) != 0) in check_disk()
257 check_device(const char *path, boolean_t force, boolean_t isspare) in check_device() argument
270 err = check_disk(path, desc, force, isspare); in check_device()
275 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
328 if (state == POOL_STATE_SPARE && isspare) in check_file()
1036 boolean_t replacing, boolean_t isspare) in is_device_in_use() argument
[all …]
H A Dzpool_main.c1173 int namewidth, int depth, boolean_t isspare) in print_status_config() argument
1193 if (isspare) { in print_status_config()
1207 if (!isspare) { in print_status_config()
1311 namewidth, depth + 2, isspare); in print_status_config()
/titanic_50/usr/src/cmd/zinject/
H A Dtranslate.c453 boolean_t isspare, iscache; in translate_device() local
464 tgt = zpool_find_vdev(zhp, device, &isspare, &iscache, NULL); in translate_device()
/titanic_50/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c1537 uint64_t stateval, isspare; in zpool_in_use() local
1627 ZPOOL_CONFIG_IS_SPARE, &isspare) == 0 && isspare) in zpool_in_use()