Cmnd 141 drivers/scsi/bnx2fc/bnx2fc.h #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) Cmnd 95 drivers/scsi/fnic/fnic.h #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) Cmnd 96 drivers/scsi/fnic/fnic.h #define CMD_STATE(Cmnd) ((Cmnd)->SCp.phase) Cmnd 97 drivers/scsi/fnic/fnic.h #define CMD_ABTS_STATUS(Cmnd) ((Cmnd)->SCp.Message) Cmnd 98 drivers/scsi/fnic/fnic.h #define CMD_LR_STATUS(Cmnd) ((Cmnd)->SCp.have_data_in) Cmnd 99 drivers/scsi/fnic/fnic.h #define CMD_TAG(Cmnd) ((Cmnd)->SCp.sent_command) Cmnd 100 drivers/scsi/fnic/fnic.h #define CMD_FLAGS(Cmnd) ((Cmnd)->SCp.Status) Cmnd 51 drivers/scsi/libfc/fc_fcp.c #define CMD_SP(Cmnd) ((struct fc_fcp_pkt *)(Cmnd)->SCp.ptr) Cmnd 52 drivers/scsi/libfc/fc_fcp.c #define CMD_ENTRY_STATUS(Cmnd) ((Cmnd)->SCp.have_data_in) Cmnd 53 drivers/scsi/libfc/fc_fcp.c #define CMD_COMPL_STATUS(Cmnd) ((Cmnd)->SCp.this_residual) Cmnd 54 drivers/scsi/libfc/fc_fcp.c #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) Cmnd 55 drivers/scsi/libfc/fc_fcp.c #define CMD_RESID_LEN(Cmnd) ((Cmnd)->SCp.buffers_residual) Cmnd 97 drivers/scsi/qedf/qedf.h #define CMD_SCSI_STATUS(Cmnd) ((Cmnd)->SCp.Status) Cmnd 486 drivers/scsi/qla1280.c #define CMD_SP(Cmnd) &Cmnd->SCp Cmnd 487 drivers/scsi/qla1280.c #define CMD_CDBLEN(Cmnd) Cmnd->cmd_len Cmnd 488 drivers/scsi/qla1280.c #define CMD_CDBP(Cmnd) Cmnd->cmnd Cmnd 489 drivers/scsi/qla1280.c #define CMD_SNSP(Cmnd) Cmnd->sense_buffer Cmnd 490 drivers/scsi/qla1280.c #define CMD_SNSLEN(Cmnd) SCSI_SENSE_BUFFERSIZE Cmnd 491 drivers/scsi/qla1280.c #define CMD_RESULT(Cmnd) Cmnd->result Cmnd 492 drivers/scsi/qla1280.c #define CMD_HANDLE(Cmnd) Cmnd->host_scribble Cmnd 493 drivers/scsi/qla1280.c #define CMD_REQUEST(Cmnd) Cmnd->request->cmd Cmnd 495 drivers/scsi/qla1280.c #define CMD_HOST(Cmnd) Cmnd->device->host Cmnd 496 drivers/scsi/qla1280.c #define SCSI_BUS_32(Cmnd) Cmnd->device->channel Cmnd 497 drivers/scsi/qla1280.c #define SCSI_TCN_32(Cmnd) Cmnd->device->id Cmnd 498 drivers/scsi/qla1280.c #define SCSI_LUN_32(Cmnd) Cmnd->device->lun Cmnd 4718 drivers/scsi/qla2xxx/qla_def.h #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) Cmnd 220 drivers/scsi/qla4xxx/ql4_def.h #define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr) Cmnd 868 drivers/scsi/qlogicpti.c static inline void cmd_frob(struct Command_Entry *cmd, struct scsi_cmnd *Cmnd, Cmnd 874 drivers/scsi/qlogicpti.c cmd->target_id = Cmnd->device->id; Cmnd 875 drivers/scsi/qlogicpti.c cmd->target_lun = Cmnd->device->lun; Cmnd 876 drivers/scsi/qlogicpti.c cmd->cdb_length = Cmnd->cmd_len; Cmnd 878 drivers/scsi/qlogicpti.c if (Cmnd->device->tagged_supported) { Cmnd 879 drivers/scsi/qlogicpti.c if (qpti->cmd_count[Cmnd->device->id] == 0) Cmnd 880 drivers/scsi/qlogicpti.c qpti->tag_ages[Cmnd->device->id] = jiffies; Cmnd 881 drivers/scsi/qlogicpti.c if (time_after(jiffies, qpti->tag_ages[Cmnd->device->id] + (5*HZ))) { Cmnd 883 drivers/scsi/qlogicpti.c qpti->tag_ages[Cmnd->device->id] = jiffies; Cmnd 887 drivers/scsi/qlogicpti.c if ((Cmnd->cmnd[0] == WRITE_6) || Cmnd 888 drivers/scsi/qlogicpti.c (Cmnd->cmnd[0] == WRITE_10) || Cmnd 889 drivers/scsi/qlogicpti.c (Cmnd->cmnd[0] == WRITE_12)) Cmnd 893 drivers/scsi/qlogicpti.c cmd->time_out = Cmnd->request->timeout/HZ; Cmnd 894 drivers/scsi/qlogicpti.c memcpy(cmd->cdb, Cmnd->cmnd, Cmnd->cmd_len); Cmnd 898 drivers/scsi/qlogicpti.c static inline int load_cmd(struct scsi_cmnd *Cmnd, struct Command_Entry *cmd, Cmnd 905 drivers/scsi/qlogicpti.c if (scsi_bufflen(Cmnd)) { Cmnd 908 drivers/scsi/qlogicpti.c sg = scsi_sglist(Cmnd); Cmnd 910 drivers/scsi/qlogicpti.c scsi_sg_count(Cmnd), Cmnd 911 drivers/scsi/qlogicpti.c Cmnd->sc_data_direction); Cmnd 959 drivers/scsi/qlogicpti.c qpti->cmd_slots[in_ptr] = Cmnd; Cmnd 961 drivers/scsi/qlogicpti.c qpti->cmd_count[Cmnd->device->id]++; Cmnd 1016 drivers/scsi/qlogicpti.c static int qlogicpti_queuecommand_lck(struct scsi_cmnd *Cmnd, void (*done)(struct scsi_cmnd *)) Cmnd 1018 drivers/scsi/qlogicpti.c struct Scsi_Host *host = Cmnd->device->host; Cmnd 1024 drivers/scsi/qlogicpti.c Cmnd->scsi_done = done; Cmnd 1044 drivers/scsi/qlogicpti.c cmd_frob(cmd, Cmnd, qpti); Cmnd 1045 drivers/scsi/qlogicpti.c if ((in_ptr = load_cmd(Cmnd, cmd, qpti, in_ptr, out_ptr)) == -1) Cmnd 1060 drivers/scsi/qlogicpti.c Cmnd->result = DID_BUS_BUSY; Cmnd 1061 drivers/scsi/qlogicpti.c done(Cmnd); Cmnd 1133 drivers/scsi/qlogicpti.c struct scsi_cmnd *Cmnd, *done_queue = NULL; Cmnd 1170 drivers/scsi/qlogicpti.c Cmnd = qpti->cmd_slots[cmd_slot]; Cmnd 1179 drivers/scsi/qlogicpti.c memcpy(Cmnd->sense_buffer, sts->req_sense_data, Cmnd 1183 drivers/scsi/qlogicpti.c Cmnd->result = Cmnd 1186 drivers/scsi/qlogicpti.c Cmnd->result = DID_ERROR << 16; Cmnd 1188 drivers/scsi/qlogicpti.c if (scsi_bufflen(Cmnd)) Cmnd 1190 drivers/scsi/qlogicpti.c scsi_sglist(Cmnd), scsi_sg_count(Cmnd), Cmnd 1191 drivers/scsi/qlogicpti.c Cmnd->sc_data_direction); Cmnd 1193 drivers/scsi/qlogicpti.c qpti->cmd_count[Cmnd->device->id]--; Cmnd 1195 drivers/scsi/qlogicpti.c Cmnd->host_scribble = (unsigned char *) done_queue; Cmnd 1196 drivers/scsi/qlogicpti.c done_queue = Cmnd; Cmnd 1226 drivers/scsi/qlogicpti.c static int qlogicpti_abort(struct scsi_cmnd *Cmnd) Cmnd 1229 drivers/scsi/qlogicpti.c struct Scsi_Host *host = Cmnd->device->host; Cmnd 1236 drivers/scsi/qlogicpti.c qpti->qpti_id, (int)Cmnd->device->id, (int)Cmnd->device->lun); Cmnd 1244 drivers/scsi/qlogicpti.c if (qpti->cmd_slots[i] == Cmnd) Cmnd 1249 drivers/scsi/qlogicpti.c param[1] = (((u_short) Cmnd->device->id) << 8) | Cmnd->device->lun; Cmnd 1264 drivers/scsi/qlogicpti.c static int qlogicpti_reset(struct scsi_cmnd *Cmnd) Cmnd 1267 drivers/scsi/qlogicpti.c struct Scsi_Host *host = Cmnd->device->host; Cmnd 109 drivers/scsi/snic/snic.h #define CMD_SP(Cmnd) \ Cmnd 110 drivers/scsi/snic/snic.h (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->rqi) Cmnd 111 drivers/scsi/snic/snic.h #define CMD_STATE(Cmnd) \ Cmnd 112 drivers/scsi/snic/snic.h (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->state) Cmnd 113 drivers/scsi/snic/snic.h #define CMD_ABTS_STATUS(Cmnd) \ Cmnd 114 drivers/scsi/snic/snic.h (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->abts_status) Cmnd 115 drivers/scsi/snic/snic.h #define CMD_LR_STATUS(Cmnd) \ Cmnd 116 drivers/scsi/snic/snic.h (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->lr_status) Cmnd 117 drivers/scsi/snic/snic.h #define CMD_FLAGS(Cmnd) \ Cmnd 118 drivers/scsi/snic/snic.h (((struct snic_internal_io_state *)scsi_cmd_priv(Cmnd))->flags)