Searched refs:ZPOOL_CONFIG_IS_SPARE (Results 1 – 9 of 9) sorted by relevance
| /freebsd-12-stable/cddl/usr.sbin/zfsd/ |
| D | vdev.cc | 156 (void)nvlist_lookup_uint64(m_config, ZPOOL_CONFIG_IS_SPARE, &is_spare); in IsSpare() 282 if (nvlist_lookup_uint64(m_config, ZPOOL_CONFIG_IS_SPARE, &spare) != 0) in IsSpare()
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| D | spa_config.c | 453 ZPOOL_CONFIG_IS_SPARE, 1ULL); in spa_config_generate()
|
| D | vdev_label.c | 311 fnvlist_add_uint64(nv, ZPOOL_CONFIG_IS_SPARE, 1); in vdev_config_generate()
|
| D | vdev.c | 881 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_SPARE, in vdev_alloc()
|
| /freebsd-12-stable/cddl/usr.sbin/zfsd/tests/ |
| D | zfsd_unittest.cc | 368 ASSERT_EQ(0, nvlist_add_uint64(m_vdevConfig, ZPOOL_CONFIG_IS_SPARE, 1)); in TEST_F()
|
| /freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/sys/fs/ |
| D | zfs.h | 574 #define ZPOOL_CONFIG_IS_SPARE "is_spare" macro
|
| /freebsd-12-stable/sys/cddl/boot/zfs/ |
| D | zfsimpl.h | 783 #define ZPOOL_CONFIG_IS_SPARE "is_spare" macro
|
| /freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
| D | libzfs_import.c | 1857 ZPOOL_CONFIG_IS_SPARE, &isspare) == 0 && isspare) in zpool_in_use()
|
| D | libzfs_pool.c | 2543 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_IS_SPARE, 2939 nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_IS_SPARE, &val) == 0 &&
|