centos man page for __shost_for_each_device

Query: __shost_for_each_device

OS: centos

Section: 9

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

__SHOST_FOR_EACH_DEV(9) 					  SCSI mid layer					   __SHOST_FOR_EACH_DEV(9)

NAME
__shost_for_each_device - iterate over all devices of a host (UNLOCKED)
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. It does _not_ take a reference on the scsi_device, so the whole loop must be protected by shost->host_lock.
NOTE
The only reason to use this is because you need to access the device list in interrupt context. Otherwise you really want to use shost_for_each_device instead.
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 __SHOST_FOR_EACH_DEV(9)
Related Man Pages
fc_remote_port_delete(9) - centos
srp_reconnect_rport(9) - centos
libssh2_channel_direct_tcpip_ex(3) - debian
scsi_device(9s) - suse
scsi_device(9s) - centos
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Weird 'find' results
DB2 convert digits to binary format
Tar Command
CentOS 6 ran out of space, need to reclaim it