shost_for_each_device(9) suse man page | unix.com

Man Page: shost_for_each_device

Operating Environment: suse

Section: 9

SHOST_FOR_EACH_DEVIC(9) 					  SCSI mid layer					   SHOST_FOR_EACH_DEVIC(9)

NAME
shost_for_each_device - iterate over all devices of a host
SYNOPSIS
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
Kernel Hackers Manual 2.6. July 2010 SHOST_FOR_EACH_DEVIC(9)
Related Man Pages
fc_remote_port_delete(9) - centos
dev_module(9) - debian
libssh2_channel_direct_tcpip_ex(3) - centos
ata_scsi_translate(9) - suse
mlib_imagestddev(3mlib) - opensolaris
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
Update kernel Linux without reboot?!
SOCKS proxy &amp; PAM configuration exposure
Docker learning Phase-I