other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
SCSI_DEVICE_FROM_QUE(9) | SCSI mid layer | SCSI_DEVICE_FROM_QUE(9) |
NAME¶
scsi_device_from_queue - return sdev associated with a request_queueSYNOPSIS¶
struct scsi_device *
scsi_device_from_queue(struct request_queue * q);
ARGUMENTS¶
qThe request queue to return the sdev from
DESCRIPTION¶
Return the sdev associated with a request queue or NULL if the request_queue does not reference a SCSI device.AUTHORS¶
James Bottomley <James.Bottomley@hansenpartnership.com>Author.
Rob Landley <rob@landley.net>
Author.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |