1SCSI_DEVICE_GET(9)              SCSI mid layer              SCSI_DEVICE_GET(9)
2
3
4

NAME

6       scsi_device_get - get an additional reference to a scsi_device
7

SYNOPSIS

9       int scsi_device_get(struct scsi_device * sdev);
10

ARGUMENTS

12       sdev
13           device to get a reference to
14

DESCRIPTION

16       Gets a reference to the scsi_device and increments the use count of the
17       underlying LLDD module. You must hold host_lock of the parent Scsi_Host
18       or already have a reference when calling this.
19

AUTHORS

21       James Bottomley <James.Bottomley@hansenpartnership.com>
22           Author.
23
24       Rob Landley <rob@landley.net>
25           Author.
26
28Kernel Hackers Manual 2.6.       November 2011              SCSI_DEVICE_GET(9)
Impressum