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

NAME

6       scsi_device_lookup_by_target - find a device given the target
7

SYNOPSIS

9       struct scsi_device *
10                                                         scsi_device_lookup_by_target(struct scsi_target * starget,
11                                                         uint lun);
12

ARGUMENTS

14       starget
15           SCSI target pointer
16
17       lun
18           SCSI Logical Unit Number
19

DESCRIPTION

21       Looks up the scsi_device with the specified lun for a given starget.
22       The returned scsi_device has an additional reference that needs to be
23       released with scsi_device_put once you're done with it.
24

AUTHORS

26       James Bottomley <James.Bottomley@hansenpartnership.com>
27           Author.
28
29       Rob Landley <rob@landley.net>
30           Author.
31
33Kernel Hackers Manual 2.6.       November 2011         SCSI_DEVICE_LOOKUP_B(9)
Impressum