suse man page for starget_for_each_device

Query: starget_for_each_device

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
fc_remote_port_add(9) - centos
srp_reconnect_rport(9) - centos
fc_remote_port_delete(9) - suse
makecom_g0_s(9f) - sunos
makecom_g0_s(9f) - opensolaris
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Cut command on RHEL 6.8 compatibility issues
SOCKS proxy &amp; PAM configuration exposure
A (ksh) Library For and From UNIX.com
32 bit process addressing more than 4GB