Lines Matching defs:scsi_request
644 struct scsi_request { struct
645 int sr_magic;
646 int sr_result; /* Status code from lower level driver */
647 unsigned char sr_sense_buffer[SCSI_SENSE_BUFFERSIZE]; /* obtained by REQUEST SENSE
652 struct Scsi_Host *sr_host;
653 Scsi_Device *sr_device;
654 Scsi_Cmnd *sr_command;
655 struct request sr_request; /* A copy of the command we are
657 unsigned sr_bufflen; /* Size of data buffer */
658 void *sr_buffer; /* Data buffer */
659 int sr_allowed;
660 unsigned char sr_data_direction;
661 unsigned char sr_cmd_len;
662 unsigned char sr_cmnd[MAX_COMMAND_SIZE];
663 void (*sr_done) (struct scsi_cmnd *); /* Mid-level done function */
664 int sr_timeout_per_command;
665 unsigned short sr_use_sg; /* Number of pieces of scatter-gather */
666 unsigned short sr_sglist_len; /* size of malloc'd scatter-gather list */
667 unsigned sr_underflow; /* Return error if less than