Man Page: starget_for_each_device
Operating Environment: centos
Section: 9
STARGET_FOR_EACH_DEV(9) SCSI mid layer STARGET_FOR_EACH_DEV(9)NAMEstarget_for_each_device - helper to walk all devices of a targetSYNOPSISvoid starget_for_each_device(struct scsi_target * starget, void * data, void (*fn) (struct scsi_device *, void *));ARGUMENTSstarget target whose devices we want to iterate over. data Opaque passed to each function call. fn Function to call on each deviceDESCRIPTIONThis traverses over each device of starget. The devices have a reference that must be released by scsi_host_put when breaking out of the loop.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 STARGET_FOR_EACH_DEV(9)
| Related Man Pages |
|---|
| makecom_g1(9f) - sunos |
| fc_remote_port_add(9) - suse |
| makecom(9f) - sunos |
| makecom_g0(9f) - opensolaris |
| makecom_g5(9f) - opensolaris |
| Similar Topics in the Unix Linux Community |
|---|
| How to increment version inside a file? |
| Tar Command |
| CentOS7 restoring file capabilities |
| Unsure why access time on a directory change isn't changing |
| Controlling user input |