Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/storage/
Dtransport.c696 int sense_size = US_SENSE_SIZE; in usb_stor_invoke_transport() local
703 sense_size = ~0; in usb_stor_invoke_transport()
707 scsi_eh_prep_cmnd(srb, &ses, NULL, 0, sense_size); in usb_stor_invoke_transport()
728 if (sense_size != US_SENSE_SIZE) { in usb_stor_invoke_transport()
742 sense_size != US_SENSE_SIZE) { in usb_stor_invoke_transport()
744 sense_size = US_SENSE_SIZE; in usb_stor_invoke_transport()
/Linux-v5.4/include/uapi/linux/
Dvirtio_scsi.h111 __u32 sense_size; member
/Linux-v5.4/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1846 u_int sense_size; in ahc_linux_handle_scsi_status() local
1848 sense_size = min(sizeof(struct scsi_sense_data) in ahc_linux_handle_scsi_status()
1852 ahc_get_sense_buf(ahc, scb), sense_size); in ahc_linux_handle_scsi_status()
1853 if (sense_size < SCSI_SENSE_BUFFERSIZE) in ahc_linux_handle_scsi_status()
1854 memset(&cmd->sense_buffer[sense_size], 0, in ahc_linux_handle_scsi_status()
1855 SCSI_SENSE_BUFFERSIZE - sense_size); in ahc_linux_handle_scsi_status()
1862 sense_size); in ahc_linux_handle_scsi_status()
1863 for (i = 0; i < sense_size; i++) { in ahc_linux_handle_scsi_status()
Daic79xx_osm.c1918 u_int sense_size; in ahd_linux_handle_scsi_status() local
1922 sense_size = min(sizeof(struct scsi_sense_data) in ahd_linux_handle_scsi_status()
1933 sense_size = min_t(size_t, in ahd_linux_handle_scsi_status()
1942 + sense_offset, sense_size); in ahd_linux_handle_scsi_status()
1950 sense_size, sense_offset); in ahd_linux_handle_scsi_status()
1951 for (i = 0; i < sense_size; i++) { in ahd_linux_handle_scsi_status()
/Linux-v5.4/drivers/scsi/
Dvirtio_scsi.c818 virtscsi_config_set(vdev, sense_size, VIRTIO_SCSI_SENSE_SIZE); in virtscsi_init()