Home
last modified time | relevance | path

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

/drivers/usb/storage/
Dtransport.c708 int sense_size = US_SENSE_SIZE; in usb_stor_invoke_transport() local
715 sense_size = ~0; in usb_stor_invoke_transport()
719 scsi_eh_prep_cmnd(srb, &ses, NULL, 0, sense_size); in usb_stor_invoke_transport()
740 if (sense_size != US_SENSE_SIZE) { in usb_stor_invoke_transport()
754 sense_size != US_SENSE_SIZE) { in usb_stor_invoke_transport()
756 sense_size = US_SENSE_SIZE; in usb_stor_invoke_transport()
/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1829 u_int sense_size; in ahc_linux_handle_scsi_status() local
1831 sense_size = min(sizeof(struct scsi_sense_data) in ahc_linux_handle_scsi_status()
1835 ahc_get_sense_buf(ahc, scb), sense_size); in ahc_linux_handle_scsi_status()
1836 if (sense_size < SCSI_SENSE_BUFFERSIZE) in ahc_linux_handle_scsi_status()
1837 memset(&cmd->sense_buffer[sense_size], 0, in ahc_linux_handle_scsi_status()
1838 SCSI_SENSE_BUFFERSIZE - sense_size); in ahc_linux_handle_scsi_status()
1844 sense_size); in ahc_linux_handle_scsi_status()
1845 for (i = 0; i < sense_size; i++) { in ahc_linux_handle_scsi_status()
Daic79xx_osm.c1900 u_int sense_size; in ahd_linux_handle_scsi_status() local
1904 sense_size = min(sizeof(struct scsi_sense_data) in ahd_linux_handle_scsi_status()
1915 sense_size = min_t(size_t, in ahd_linux_handle_scsi_status()
1924 + sense_offset, sense_size); in ahd_linux_handle_scsi_status()
1932 sense_size, sense_offset); in ahd_linux_handle_scsi_status()
1933 for (i = 0; i < sense_size; i++) { in ahd_linux_handle_scsi_status()
/drivers/scsi/
Dvirtio_scsi.c828 virtscsi_config_set(vdev, sense_size, VIRTIO_SCSI_SENSE_SIZE); in virtscsi_init()