Searched refs:CMD_STATE (Results 1 – 5 of 5) sorted by relevance
498 CMD_STATE(sc) = FNIC_IOREQ_NOT_INITED; in fnic_queuecommand_lck()515 sg_count, CMD_STATE(sc)); in fnic_queuecommand_lck()560 CMD_STATE(sc) = FNIC_IOREQ_CMD_PENDING; in fnic_queuecommand_lck()575 (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); in fnic_queuecommand_lck()578 CMD_STATE(sc) = FNIC_IOREQ_CMD_COMPLETE; in fnic_queuecommand_lck()608 (((u64)CMD_FLAGS(sc) >> 32) | CMD_STATE(sc))); in fnic_queuecommand_lck()892 if (CMD_STATE(sc) == FNIC_IOREQ_ABTS_PENDING) { in fnic_fcpio_icmnd_cmpl_handler()916 CMD_STATE(sc) = FNIC_IOREQ_CMD_COMPLETE; in fnic_fcpio_icmnd_cmpl_handler()1013 (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); in fnic_fcpio_icmnd_cmpl_handler()1119 CMD_STATE(sc) = FNIC_IOREQ_ABTS_COMPLETE; in fnic_fcpio_itmf_cmpl_handler()[all …]
96 #define CMD_STATE(Cmnd) ((Cmnd)->SCp.phase) macro
134 SNIC_BUG_ON(!((CMD_STATE(sc) == SNIC_IOREQ_COMPLETE) || in snic_release_req_buf()135 (CMD_STATE(sc) == SNIC_IOREQ_ABTS_COMPLETE) || in snic_release_req_buf()140 (CMD_STATE(sc) == SNIC_IOREQ_LR_COMPLETE))); in snic_release_req_buf()145 rqi->dr_req, snic_ioreq_state_to_str(CMD_STATE(sc)), in snic_release_req_buf()252 CMD_STATE(sc) = SNIC_IOREQ_NOT_INITED; in snic_issue_scsi_req()257 sc->cmnd[0], sg_cnt, CMD_STATE(sc)); in snic_issue_scsi_req()276 CMD_STATE(sc) = SNIC_IOREQ_PENDING; in snic_issue_scsi_req()293 CMD_STATE(sc) = SNIC_IOREQ_COMPLETE; in snic_issue_scsi_req()381 int state = CMD_STATE(sc); in snic_proc_tmreq_pending_state()487 int state = CMD_STATE(sc); in snic_tmreq_pending()[all …]
119 ((u64) CMD_FLAGS(sc) << 32 | CMD_STATE(sc))
111 #define CMD_STATE(Cmnd) \ macro