scsi_device_from_queue(9)

scsi_device_from_queue9

Return sdev associated with a request_queue

Usage

struct scsi_device * scsi_device_from_queue(struct request_queue * q);

Arguments

q

The request queue to return the sdev from

Overview

Return the sdev associated with a request queue or NULL if the request_queue does not reference a SCSI device.

Authors

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.