Home
last modified time | relevance | path

Searched refs:CMD_STATE (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/scsi/fnic/
Dfnic_scsi.c494 CMD_STATE(sc) = FNIC_IOREQ_NOT_INITED; in fnic_queuecommand_lck()
511 sg_count, CMD_STATE(sc)); in fnic_queuecommand_lck()
556 CMD_STATE(sc) = FNIC_IOREQ_CMD_PENDING; in fnic_queuecommand_lck()
571 (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); in fnic_queuecommand_lck()
574 CMD_STATE(sc) = FNIC_IOREQ_CMD_COMPLETE; in fnic_queuecommand_lck()
604 (((u64)CMD_FLAGS(sc) >> 32) | CMD_STATE(sc))); in fnic_queuecommand_lck()
888 if (CMD_STATE(sc) == FNIC_IOREQ_ABTS_PENDING) { in fnic_fcpio_icmnd_cmpl_handler()
912 CMD_STATE(sc) = FNIC_IOREQ_CMD_COMPLETE; in fnic_fcpio_icmnd_cmpl_handler()
1009 (((u64)CMD_FLAGS(sc) << 32) | CMD_STATE(sc))); in fnic_fcpio_icmnd_cmpl_handler()
1114 CMD_STATE(sc) = FNIC_IOREQ_ABTS_COMPLETE; in fnic_fcpio_itmf_cmpl_handler()
[all …]
Dfnic.h96 #define CMD_STATE(Cmnd) ((Cmnd)->SCp.phase) macro
/Linux-v5.4/drivers/scsi/snic/
Dsnic_scsi.c134 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 …]
Dsnic_trc.h119 ((u64) CMD_FLAGS(sc) << 32 | CMD_STATE(sc))
Dsnic.h111 #define CMD_STATE(Cmnd) \ macro