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

NAME

6       scsi_host_lookup - get a reference to a Scsi_Host by host no
7

SYNOPSIS

9       struct Scsi_Host * scsi_host_lookup(unsigned short hostnum);
10

ARGUMENTS

12       hostnum
13           host number to locate
14

RETURN VALUE

16       A pointer to located Scsi_Host or NULL.
17
18       The caller must do a scsi_host_put to drop the reference that
19       scsi_host_get took. The put_device below dropped the reference from
20       class_find_device.
21

AUTHORS

23       James Bottomley <James.Bottomley@hansenpartnership.com>
24           Author.
25
26       Rob Landley <rob@landley.net>
27           Author.
28
30Kernel Hackers Manual 3.10         June 2019               SCSI_HOST_LOOKUP(9)
Impressum