.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "ZFCP_GET_UNIT_BY_LUN" "" "06 October 2005" "" ""
.SH NAME
zfcp_get_unit_by_lun \- find unit in unit list of port by fcp lun
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct zfcp_unit * zfcp_get_unit_by_lun (struct zfcp_port * \fIport\fB, fcp_lun_t \fIfcp_lun\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIport\fB\fR
pointer to port to search for unit
.TP
\fB\fIfcp_lun\fB\fR
lun to search for
Traverses list of all units of a port and returns pointer to a unit
if lun of a unit matches.