Searched refs:CMD_STATE (Results 1 – 5 of 5) sorted by relevance
482 CMD_STATE(sc) = FNIC_IOREQ_NOT_INITED; in fnic_queuecommand_lck()499 sg_count, CMD_STATE(sc)); in fnic_queuecommand_lck()544 CMD_STATE(sc) = FNIC_IOREQ_CMD_PENDING; in fnic_queuecommand_lck()559 (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); in fnic_queuecommand_lck()562 CMD_STATE(sc) = FNIC_IOREQ_CMD_COMPLETE; in fnic_queuecommand_lck()592 (((u64)CMD_FLAGS(sc) >> 32) | CMD_STATE(sc))); in fnic_queuecommand_lck()874 if (CMD_STATE(sc) == FNIC_IOREQ_ABTS_PENDING) { in fnic_fcpio_icmnd_cmpl_handler()902 CMD_STATE(sc) = FNIC_IOREQ_CMD_COMPLETE; in fnic_fcpio_icmnd_cmpl_handler()997 (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); in fnic_fcpio_icmnd_cmpl_handler()1080 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()249 CMD_STATE(sc) = SNIC_IOREQ_NOT_INITED; in snic_issue_scsi_req()254 sc->cmnd[0], sg_cnt, CMD_STATE(sc)); in snic_issue_scsi_req()273 CMD_STATE(sc) = SNIC_IOREQ_PENDING; in snic_issue_scsi_req()290 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))
109 #define CMD_STATE(Cmnd) \ macro