starget_for_each_device(9) suse man page | unix.com

Man Page: starget_for_each_device

Operating Environment: suse

Section: 9

STARGET_FOR_EACH_DEV(9) 					  SCSI mid layer					   STARGET_FOR_EACH_DEV(9)

NAME
starget_for_each_device - helper to walk all devices of a target
SYNOPSIS
void starget_for_each_device(struct scsi_target * starget, void * data, void (*fn) (struct scsi_device *, void *));
ARGUMENTS
starget target whose devices we want to iterate over. data Opaque passed to each function call. fn Function to call on each device
DESCRIPTION
This traverses over each device of starget. The devices have a reference that must be released by scsi_host_put when breaking out of the loop.
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 STARGET_FOR_EACH_DEV(9)
Related Man Pages
makecom(9f) - opensolaris
makecom_g0(9f) - sunos
makecom_g5(9f) - sunos
makecom_g5(9f) - opensolaris
makecom_g1(9f) - opensolaris
Similar Topics in the Unix Linux Community
Change directory error
Getting command output to putty window title.
Migrating to UNIX
Update kernel Linux without reboot?!
Tar Command