Query: __shost_for_each_device
OS: suse
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);ARGUMENTSsdev the struct scsi_device to use as a cursor shost the struct scsi_host to iterate overDESCRIPTIONIterator 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.NOTEThe 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.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 __SHOST_FOR_EACH_DEV(9)
Related Man Pages |
---|
scsi_device(9s) - sunos |
fc_remote_port_delete(9) - centos |
fc_remote_port_add(9) - suse |
fc_remote_port_delete(9) - suse |
scsi_device(9s) - hpux |
Similar Topics in the Unix Linux Community |
---|
How to restrict user to a specific directory in solaris 10 |
Migrating to UNIX |
Update kernel Linux without reboot?! |
SOCKS proxy & PAM configuration exposure |
Docker learning Phase-I |