Searched refs:stateval (Results 1 – 2 of 2) sorted by relevance
288 uint64_t stateval, isspare; in zpool_in_use() local300 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()
236 uint64_t stateval = fnvlist_lookup_uint64(config, in check_status() local316 stateval == POOL_STATE_ACTIVE) in check_status()