Lines Matching refs:sense_buffer
584 memcpy(srb->sense_buffer, record_not_found, in last_sector_hacks()
782 if (srb->sense_buffer[7] > (US_SENSE_SIZE - 8) && in usb_stor_invoke_transport()
785 (srb->sense_buffer[0] & 0x7C) == 0x70) { in usb_stor_invoke_transport()
795 srb->sense_buffer[7] + 8); in usb_stor_invoke_transport()
796 srb->sense_buffer[7] = (US_SENSE_SIZE - 8); in usb_stor_invoke_transport()
799 scsi_normalize_sense(srb->sense_buffer, SCSI_SENSE_BUFFERSIZE, in usb_stor_invoke_transport()
814 scdd = scsi_sense_desc_find(srb->sense_buffer, in usb_stor_invoke_transport()
816 fm_ili = (scdd ? scdd[3] : srb->sense_buffer[2]) & 0xA0; in usb_stor_invoke_transport()
832 srb->sense_buffer[0] = 0x0; in usb_stor_invoke_transport()
854 srb->sense_buffer[1] = HARDWARE_ERROR; in usb_stor_invoke_transport()
856 srb->sense_buffer[2] = HARDWARE_ERROR; in usb_stor_invoke_transport()
886 srb->sense_buffer[0] = 0; in usb_stor_invoke_transport()
891 if ((srb->result == SAM_STAT_GOOD || srb->sense_buffer[2] == 0) && in usb_stor_invoke_transport()
1308 memcpy(srb->sense_buffer, in usb_stor_Bulk_transport()