Lines Matching refs:state
140 enum spdk_nvmf_qpair_state state)
145 qpair->state = state;
187 * Callback to unregister a poll group from the target, and clean up its state.
202 assert(!(tgt->state == NVMF_TGT_PAUSING || tgt->state == NVMF_TGT_RESUMING));
394 tgt->state = NVMF_TGT_RUNNING;
469 assert(!(tgt->state == NVMF_TGT_PAUSING || tgt->state == NVMF_TGT_RESUMING));
964 ctx->tgt->state = NVMF_TGT_PAUSED;
992 switch (tgt->state) {
1008 tgt->state = NVMF_TGT_PAUSING;
1026 ctx->tgt->state = NVMF_TGT_RUNNING;
1054 switch (tgt->state) {
1069 tgt->state = NVMF_TGT_RESUMING;
1131 assert(qpair->state == SPDK_NVMF_QPAIR_UNINITIALIZED);
1337 assert(qpair->state == SPDK_NVMF_QPAIR_DEACTIVATING);
1391 /* If we get a qpair in the uninitialized state, we can just destroy it immediately */
1392 if (qpair->state == SPDK_NVMF_QPAIR_UNINITIALIZED) {
1628 sgroup->state = SPDK_NVMF_SUBSYSTEM_ACTIVE;
1631 sgroup->ns_info[i].state = SPDK_NVMF_SUBSYSTEM_ACTIVE;
1744 sgroup->state = SPDK_NVMF_SUBSYSTEM_INACTIVE;
1747 sgroup->ns_info[i].state = SPDK_NVMF_SUBSYSTEM_INACTIVE;
1770 if (sgroup->state == SPDK_NVMF_SUBSYSTEM_PAUSED) {
1773 sgroup->state = SPDK_NVMF_SUBSYSTEM_PAUSING;
1778 ns_info->state = SPDK_NVMF_SUBSYSTEM_PAUSING;
1784 ns_info->state = SPDK_NVMF_SUBSYSTEM_PAUSING;
1819 sgroup->state = SPDK_NVMF_SUBSYSTEM_PAUSED;
1843 if (sgroup->state == SPDK_NVMF_SUBSYSTEM_ACTIVE) {
1853 sgroup->ns_info[i].state = SPDK_NVMF_SUBSYSTEM_ACTIVE;
1856 sgroup->state = SPDK_NVMF_SUBSYSTEM_ACTIVE;