Home
last modified time | relevance | path

Searched refs:sense_size (Results 1 – 4 of 4) sorted by relevance

/drivers/usb/storage/
Dtransport.c692 int sense_size = US_SENSE_SIZE; in usb_stor_invoke_transport() local
699 sense_size = ~0; in usb_stor_invoke_transport()
703 scsi_eh_prep_cmnd(srb, &ses, NULL, 0, sense_size); in usb_stor_invoke_transport()
724 if (sense_size != US_SENSE_SIZE) { in usb_stor_invoke_transport()
737 sense_size != US_SENSE_SIZE) { in usb_stor_invoke_transport()
739 sense_size = US_SENSE_SIZE; in usb_stor_invoke_transport()
/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1849 u_int sense_size; in ahc_linux_handle_scsi_status() local
1851 sense_size = min(sizeof(struct scsi_sense_data) in ahc_linux_handle_scsi_status()
1855 ahc_get_sense_buf(ahc, scb), sense_size); in ahc_linux_handle_scsi_status()
1856 if (sense_size < SCSI_SENSE_BUFFERSIZE) in ahc_linux_handle_scsi_status()
1857 memset(&cmd->sense_buffer[sense_size], 0, in ahc_linux_handle_scsi_status()
1858 SCSI_SENSE_BUFFERSIZE - sense_size); in ahc_linux_handle_scsi_status()
1865 sense_size); in ahc_linux_handle_scsi_status()
1866 for (i = 0; i < sense_size; i++) { in ahc_linux_handle_scsi_status()
Daic79xx_osm.c1919 u_int sense_size; in ahd_linux_handle_scsi_status() local
1923 sense_size = min(sizeof(struct scsi_sense_data) in ahd_linux_handle_scsi_status()
1934 sense_size = min_t(size_t, in ahd_linux_handle_scsi_status()
1943 + sense_offset, sense_size); in ahd_linux_handle_scsi_status()
1951 sense_size, sense_offset); in ahd_linux_handle_scsi_status()
1952 for (i = 0; i < sense_size; i++) { in ahd_linux_handle_scsi_status()
/drivers/scsi/
Dvirtio_scsi.c967 virtscsi_config_set(vdev, sense_size, VIRTIO_SCSI_SENSE_SIZE); in virtscsi_init()