Man Page: shost_for_each_device
Operating Environment: centos
Section: 9
SHOST_FOR_EACH_DEVIC(9) SCSI mid layer SHOST_FOR_EACH_DEVIC(9)NAMEshost_for_each_device - iterate over all devices of a hostSYNOPSISshost_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. 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).AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SHOST_FOR_EACH_DEVIC(9)
| Related Man Pages |
|---|
| usb_gstrings_attach(9) - centos |
| libssh2_channel_direct_tcpip_ex(3) - debian |
| ata_scsi_translate(9) - suse |
| fc_remote_port_delete(9) - suse |
| mlib_imagestddev_fp(3mlib) - opensolaris |
| Similar Topics in the Unix Linux Community |
|---|
| Weird 'find' results |
| Set hard block limit for user using quota |
| How to increment version inside a file? |
| CentOS7 restoring file capabilities |
| Docker learning Phase-I |