STARGET_FOR_EACH_DEVICE
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
starget_for_each_device - helper to walk all devices of a target
SYNOPSIS
"SYNOPSIS"
void starget_for_each_device (struct scsi_target * starget, void * data, void (*fn)
struct scsi_device *, void *);
ARGUMENTS
- starget
-
target whose devices we want to iterate over.
- data
-
-- undescribed --
- fn
-
-- undescribed --
DESCRIPTION
This traverses over each devices of shost. The devices have
a reference that must be released by scsi_host_put when breaking
out of the loop.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:02:53 GMT, October 09, 2005