1SCSI_DEVICE_FROM_QUE(9) SCSI mid layer SCSI_DEVICE_FROM_QUE(9)
2
3
4
6 scsi_device_from_queue - return sdev associated with a request_queue
7
9 struct scsi_device * scsi_device_from_queue(struct request_queue * q);
10
12 q
13 The request queue to return the sdev from
14
16 Return the sdev associated with a request queue or NULL if the
17 request_queue does not reference a SCSI device.
18
20 James Bottomley <James.Bottomley@hansenpartnership.com>
21 Author.
22
23 Rob Landley <rob@landley.net>
24 Author.
25
27Kernel Hackers Manual 3.10 June 2019 SCSI_DEVICE_FROM_QUE(9)