Rechercher une page de manuel
scsi_alloc_target
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
scsi_alloc_target - allocate a new or find an existing targetSYNOPSIS
- struct scsi_target * scsi_alloc_target(struct device * parent, int channel, uint id);
ARGUMENTS
parent
- parent of the target (need not be a scsi host)
channel
- target channel number (zero if no channels)
id
- target id number
DESCRIPTION
Return an existing target if one exists, provided it hasn't already gone into STARGET_DEL state, otherwise allocate a new target.
The target is returned with an incremented reference, so the caller is responsible for both reaping and doing a last put
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com>
- Author.
Rob Landley <rob@landley.net>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre