POOL_ENABLED
if (pool_set_status(POOL_ENABLED) != PO_SUCCESS) {
if (pool_get_status(&status) != PO_SUCCESS || status != POOL_ENABLED) {
if (ret == 0 && state == POOL_ENABLED) {
ctl->zsctl_pool_status = POOL_ENABLED;
if (ctl->zsctl_pool_status == POOL_ENABLED) {
if (ctl->zsctl_pool_status == POOL_ENABLED)
if (pool_get_status(&status) != PO_SUCCESS || status != POOL_ENABLED)
if (pool_get_status(&status) != PO_SUCCESS || status != POOL_ENABLED) {
if (pool_set_status(POOL_ENABLED) != PO_SUCCESS)
if (pool_get_status(&status) != PO_SUCCESS || status != POOL_ENABLED)
if (pool_get_status(&status) != PO_SUCCESS || status != POOL_ENABLED)
if (pool_state == POOL_ENABLED) {
case POOL_ENABLED:
pool_state = POOL_ENABLED;
if (pool_state == POOL_ENABLED)
if (pool_state == POOL_ENABLED) {
if (pool_state == POOL_ENABLED && newpool != oldpool &&
if (pool_state == POOL_ENABLED &&
if (pool_state == POOL_ENABLED) {
if (pset != PS_QUERY && pool_state == POOL_ENABLED) {
if (pool_state == POOL_ENABLED) {
if (pool_state == POOL_ENABLED) {
if (pool_state == POOL_ENABLED) {