Lines Matching refs:state
103 atomic_t state;
381 /* found an lport, but something about its state is bad */
559 switch (ctrl->ctrl.state) {
692 /* found an rport, but something about its state is bad */
795 switch (ctrl->ctrl.state) {
1822 atomic_set(&op->state, FCPOP_STATE_UNINIT);
1841 opstate = atomic_xchg(&op->state, FCPOP_STATE_ABORTED);
1843 atomic_set(&op->state, opstate);
1953 opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE);
2047 atomic_set(&op->state, FCPOP_STATE_IDLE);
2058 if (terminate_assoc && ctrl->ctrl.state != NVME_CTRL_RESETTING)
2110 atomic_set(&op->state, FCPOP_STATE_IDLE);
2529 if (ctrl->ctrl.state == NVME_CTRL_CONNECTING) {
2535 /* Otherwise, only proceed if in LIVE state - e.g. on first error */
2536 if (ctrl->ctrl.state != NVME_CTRL_LIVE)
2724 atomic_set(&op->state, FCPOP_STATE_ACTIVE);
2747 opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE);
2837 atomic_set(&op->state, FCPOP_STATE_IDLE);
3278 if (ctrl->ctrl.state != NVME_CTRL_CONNECTING)
3328 "NVME-FC{%d}: error_recovery: Couldn't change state "
3549 "NVME-FC{%d}: failed to init ctrl state\n", ctrl->cnum);