Searched refs:Cmnd (Results 1 – 9 of 9) sorted by relevance
857 static inline void cmd_frob(struct Command_Entry *cmd, struct scsi_cmnd *Cmnd, in cmd_frob() argument863 cmd->target_id = Cmnd->device->id; in cmd_frob()864 cmd->target_lun = Cmnd->device->lun; in cmd_frob()865 cmd->cdb_length = Cmnd->cmd_len; in cmd_frob()867 if (Cmnd->device->tagged_supported) { in cmd_frob()868 if (qpti->cmd_count[Cmnd->device->id] == 0) in cmd_frob()869 qpti->tag_ages[Cmnd->device->id] = jiffies; in cmd_frob()870 if (time_after(jiffies, qpti->tag_ages[Cmnd->device->id] + (5*HZ))) { in cmd_frob()872 qpti->tag_ages[Cmnd->device->id] = jiffies; in cmd_frob()876 if ((Cmnd->cmnd[0] == WRITE_6) || in cmd_frob()[all …]
514 #define CMD_SP(Cmnd) &Cmnd->SCp argument515 #define CMD_CDBLEN(Cmnd) Cmnd->cmd_len argument516 #define CMD_CDBP(Cmnd) Cmnd->cmnd argument517 #define CMD_SNSP(Cmnd) Cmnd->sense_buffer argument518 #define CMD_SNSLEN(Cmnd) SCSI_SENSE_BUFFERSIZE argument519 #define CMD_RESULT(Cmnd) Cmnd->result argument520 #define CMD_HANDLE(Cmnd) Cmnd->host_scribble argument521 #define CMD_REQUEST(Cmnd) Cmnd->request->cmd argument523 #define CMD_HOST(Cmnd) Cmnd->device->host argument524 #define SCSI_BUS_32(Cmnd) Cmnd->device->channel argument[all …]
95 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) argument96 #define CMD_STATE(Cmnd) ((Cmnd)->SCp.phase) argument97 #define CMD_ABTS_STATUS(Cmnd) ((Cmnd)->SCp.Message) argument98 #define CMD_LR_STATUS(Cmnd) ((Cmnd)->SCp.have_data_in) argument99 #define CMD_TAG(Cmnd) ((Cmnd)->SCp.sent_command) argument100 #define CMD_FLAGS(Cmnd) ((Cmnd)->SCp.Status) argument
109 #define CMD_SP(Cmnd) \ argument110 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->rqi)111 #define CMD_STATE(Cmnd) \ argument112 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->state)113 #define CMD_ABTS_STATUS(Cmnd) \ argument114 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->abts_status)115 #define CMD_LR_STATUS(Cmnd) \ argument116 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->lr_status)117 #define CMD_FLAGS(Cmnd) \ argument118 (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->flags)
63 #define CMD_SP(Cmnd) ((struct fc_fcp_pkt *)(Cmnd)->SCp.ptr) argument64 #define CMD_ENTRY_STATUS(Cmnd) ((Cmnd)->SCp.have_data_in) argument65 #define CMD_COMPL_STATUS(Cmnd) ((Cmnd)->SCp.this_residual) argument66 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument67 #define CMD_RESID_LEN(Cmnd) ((Cmnd)->SCp.buffers_residual) argument
101 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument
140 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument
220 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) argument
4395 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) argument