other versions
- stretch 4.9.168-1
SCSI_HOST_LOOKUP(9) | SCSI mid layer | SCSI_HOST_LOOKUP(9) |
NAME¶
scsi_host_lookup - get a reference to a Scsi_Host by host noSYNOPSIS¶
struct Scsi_Host * scsi_host_lookup(unsigned short hostnum);
ARGUMENTS¶
hostnumhost number to locate
DESCRIPTION¶
Return value: A pointer to located Scsi_Host or NULL.The caller must do a scsi_host_put to drop the reference that scsi_host_get took. The put_device below dropped the reference from class_find_device.
AUTHORS¶
James Bottomley <James.Bottomley@hansenpartnership.com>Author.
Rob Landley <rob@landley.net>
Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |