__starget_for_each_device — helper to walk all devices of a target (UNLOCKED)
void __starget_for_each_device ( | struct scsi_target * starget, |
| void * data, | |
void (*fn)
(struct scsi_device *, void *)); |
struct scsi_target * stargettarget whose devices we want to iterate over.
void * data
parameter for callback fn()
void (*)(struct scsi_device *, void *) fncallback function that is invoked for each device