Query: scsi_host_lookup
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_HOST_LOOKUP(9) SCSI mid layer SCSI_HOST_LOOKUP(9)NAMEscsi_host_lookup - get a reference to a Scsi_Host by host noSYNOPSISstruct Scsi_Host * scsi_host_lookup(unsigned short hostnum);ARGUMENTShostnum host number to locateRETURN VALUEA 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.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 SCSI_HOST_LOOKUP(9)