scsi_host_lookup

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

scsi_host_lookup - get a reference to a Scsi_Host by host no

SYNOPSIS

struct Scsi_Host * scsi_host_lookup(unsigned short hostnum);

ARGUMENTS

hostnum

host number to locate

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.