starget_for_each_device - helper to walk all devices of a target
2. SYNOPSIS ▲
void starget_for_each_device(struct scsi_target * starget , void * data , void (* fn ) (struct scsi_device *, void *));
3. ARGUMENTS ▲
target whose devices we want to iterate over.
Opaque passed to each function call.
Function to call on each device
4. DESCRIPTION ▲
This 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.
5. AUTHORS ▲
James Bottomley <
Rob Landley <
6. COPYRIGHT ▲