Lines Matching refs:opstate
1839 int opstate; in __nvme_fc_abort_op() local
1842 opstate = atomic_xchg(&op->state, FCPOP_STATE_ABORTED); in __nvme_fc_abort_op()
1843 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op()
1844 atomic_set(&op->state, opstate); in __nvme_fc_abort_op()
1851 if (opstate != FCPOP_STATE_ACTIVE) in __nvme_fc_abort_op()
1878 struct nvme_fc_fcp_op *op, int opstate) in __nvme_fc_fcpop_chk_teardowns() argument
1882 if (opstate == FCPOP_STATE_ABORTED) { in __nvme_fc_fcpop_chk_teardowns()
1915 int opstate; in nvme_fc_fcpio_done() local
1954 opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE); in nvme_fc_fcpio_done()
1959 if (opstate == FCPOP_STATE_ABORTED) in nvme_fc_fcpio_done()
2047 __nvme_fc_fcpop_chk_teardowns(ctrl, op, opstate); in nvme_fc_fcpio_done()
2054 __nvme_fc_fcpop_chk_teardowns(ctrl, op, opstate); in nvme_fc_fcpio_done()
2660 int ret, opstate; in nvme_fc_start_fcp_op() local
2749 opstate = atomic_xchg(&op->state, FCPOP_STATE_COMPLETE); in nvme_fc_start_fcp_op()
2750 __nvme_fc_fcpop_chk_teardowns(ctrl, op, opstate); in nvme_fc_start_fcp_op()