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_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 3.10 June 2014 SHOST_FOR_EACH_DEVIC(9)
Related Man Pages
usb_gstrings_attach(9) - centos
dev_module(9) - debian
fc_remote_port_delete(9) - suse
mlib_imagestddev(3mlib) - sunos
mlib_imagestddev_fp(3mlib) - sunos
Similar Topics in the Unix Linux Community
How to increment version inside a file?
DB2 convert digits to binary format
CentOS7 restoring file capabilities
Shopt -s histappend
Unsure why access time on a directory change isn't changing