Home
last modified time | relevance | path

Searched refs:POOL_STATE_SPARE (Results 1 – 12 of 12) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c304 if (stateval != POOL_STATE_SPARE && stateval != POOL_STATE_L2CACHE) { in zpool_in_use()
372 stateval = POOL_STATE_SPARE; in zpool_in_use()
382 case POOL_STATE_SPARE: in zpool_in_use()
H A Dlibzfs_pool.c235 case POOL_STATE_SPARE: in zpool_pool_state_to_name()
H A Dlibzfs.abi5194 <enumerator name='POOL_STATE_SPARE' value='3'/>
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c151 if (state == POOL_STATE_SPARE && isspare) { in check_file_generic()
158 state == POOL_STATE_SPARE || !force) { in check_file_generic()
160 case POOL_STATE_SPARE: in check_file_generic()
230 state != POOL_STATE_SPARE || in is_spare()
H A Dzpool_main.c1890 case POOL_STATE_SPARE: in zpool_do_labelclear()
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c328 (state == POOL_STATE_SPARE || state == POOL_STATE_L2CACHE) && in add_config()
974 if (state != POOL_STATE_SPARE && state != POOL_STATE_L2CACHE && in zpool_read_label_slow()
1121 if (state != POOL_STATE_SPARE && state != POOL_STATE_L2CACHE && in zpool_read_label()
1238 (state == POOL_STATE_SPARE || state == POOL_STATE_L2CACHE)) { in label_paths()
1512 (state == POOL_STATE_SPARE || in zpool_find_import_impl()
/freebsd/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc342 POOL_STATE_SPARE)); in TEST_F()
357 POOL_STATE_SPARE)); in TEST_F()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_label.c919 if (state != POOL_STATE_SPARE && state != POOL_STATE_L2CACHE && in vdev_inuse()
935 if (state != POOL_STATE_SPARE && state != POOL_STATE_L2CACHE && in vdev_inuse()
948 if (state != POOL_STATE_SPARE && state != POOL_STATE_L2CACHE && in vdev_inuse()
1004 if (state != POOL_STATE_SPARE && state != POOL_STATE_L2CACHE && in vdev_inuse()
1030 POOL_STATE_SPARE : POOL_STATE_L2CACHE); in vdev_aux_label_generate()
H A Dvdev_draid.c2535 POOL_STATE_ACTIVE : POOL_STATE_SPARE); in vdev_draid_read_config_spare()
/freebsd/sys/contrib/openzfs/include/sys/fs/
H A Dzfs.h1058 POOL_STATE_SPARE, /* Reserved for hot spare use */ enumerator
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_geom.c496 if (state != POOL_STATE_SPARE && in vdev_geom_read_config()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h906 POOL_STATE_SPARE, /* Reserved for hot spare use */ enumerator