other versions
- stretch 4.9.168-1
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¶
April 2019 | Kernel Hackers Manual 4.9. |