Rechercher une page de manuel
shost_for_each_device
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
shost_for_each_device - iterate over all devices of a hostSYNOPSIS
- shost_for_each_device(sdev, shost);
ARGUMENTS
sdev
- the struct scsi_device to use as a cursor
shost
- the struct scsi_host to iterate over
DESCRIPTION
Iterator that returns each device attached to shost. This loop takes a reference on each device and releases it at the end. If you break out of the loop, you must call scsi_device_put(sdev).
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