Searched refs:Cmnd (Results 1 – 9 of 9) sorted by relevance
868 static inline void cmd_frob(struct Command_Entry *cmd, struct scsi_cmnd *Cmnd, in cmd_frob() argument874 cmd->target_id = Cmnd->device->id; in cmd_frob()875 cmd->target_lun = Cmnd->device->lun; in cmd_frob()876 cmd->cdb_length = Cmnd->cmd_len; in cmd_frob()878 if (Cmnd->device->tagged_supported) { in cmd_frob()879 if (qpti->cmd_count[Cmnd->device->id] == 0) in cmd_frob()880 qpti->tag_ages[Cmnd->device->id] = jiffies; in cmd_frob()881 if (time_after(jiffies, qpti->tag_ages[Cmnd->device->id] + (5*HZ))) { in cmd_frob()883 qpti->tag_ages[Cmnd->device->id] = jiffies; in cmd_frob()887 if ((Cmnd->cmnd[0] == WRITE_6) || in cmd_frob()[all …]
486 #define CMD_SP(Cmnd) &Cmnd->SCp argument487 #define CMD_CDBLEN(Cmnd) Cmnd->cmd_len argument488 #define CMD_CDBP(Cmnd) Cmnd->cmnd argument489 #define CMD_SNSP(Cmnd) Cmnd->sense_buffer argument490 #define CMD_SNSLEN(Cmnd) SCSI_SENSE_BUFFERSIZE argument491 #define CMD_RESULT(Cmnd) Cmnd->result argument492 #define CMD_HANDLE(Cmnd) Cmnd->host_scribble argument493 #define CMD_REQUEST(Cmnd) Cmnd->request->cmd argument495 #define CMD_HOST(Cmnd) Cmnd->device->host argument496 #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)
51 #define CMD_SP(Cmnd) ((struct fc_fcp_pkt *)(Cmnd)->SCp.ptr) argument52 #define CMD_ENTRY_STATUS(Cmnd) ((Cmnd)->SCp.have_data_in) argument53 #define CMD_COMPL_STATUS(Cmnd) ((Cmnd)->SCp.this_residual) argument54 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument55 #define CMD_RESID_LEN(Cmnd) ((Cmnd)->SCp.buffers_residual) argument
97 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument
141 #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) argument
220 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) argument
4711 #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) argument