'\" t .\" Title: scsi_device_from_queue .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SCSI_DEVICE_FROM_QUE" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" scsi_device_from_queue \- return sdev associated with a request_queue .SH "SYNOPSIS" .HP \w'struct\ scsi_device\ *\ scsi_device_from_queue('u .BI "struct scsi_device * scsi_device_from_queue(struct\ request_queue\ *\ " "q" ");" .SH "ARGUMENTS" .PP \fIq\fR .RS 4 The request queue to return the sdev from .RE .SH "DESCRIPTION" .PP Return the sdev associated with a request queue or NULL if the request_queue does not reference a SCSI device\&. .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br