Scroll to navigation

SCSI_DEVICE_FROM_QUE(9) SCSI mid layer SCSI_DEVICE_FROM_QUE(9)

NAME

scsi_device_from_queue - return sdev associated with a request_queue

SYNOPSIS

struct scsi_device * scsi_device_from_queue(struct request_queue * q);

ARGUMENTS

q

The 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

March 2017 Kernel Hackers Manual 4.10