SCSI_DEVICE_LOOKUP_BY_TARGET

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

scsi_device_lookup_by_target - find a device given the target  

SYNOPSIS

"SYNOPSIS"

struct scsi_device * scsi_device_lookup_by_target (struct scsi_target * starget, uint lun);  

ARGUMENTS

starget
SCSI target pointer
lun
SCSI Logical Unit Number
 

DESCRIPTION

Looks up the scsi_device with the specified channel, id, lun for a give host. The returned scsi_device has an additional reference that needs to be release with scsi_host_put once you're done with it.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:45 GMT, October 09, 2005