Home
last modified time | relevance | path

Searched refs:stateval (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_import.c288 uint64_t stateval, isspare; in zpool_in_use() local
300 stateval = fnvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_STATE); in zpool_in_use()
303 if (stateval != POOL_STATE_SPARE && stateval != POOL_STATE_L2CACHE) { in zpool_in_use()
308 switch (stateval) { in zpool_in_use()
319 stateval = POOL_STATE_ACTIVE; in zpool_in_use()
371 stateval = POOL_STATE_SPARE; in zpool_in_use()
376 stateval = POOL_STATE_POTENTIALLY_ACTIVE; in zpool_in_use()
428 *state = (pool_state_t)stateval; in zpool_in_use()
H A Dlibzfs_status.c236 uint64_t stateval = fnvlist_lookup_uint64(config, in check_status() local
316 stateval == POOL_STATE_ACTIVE) in check_status()