Lines Matching refs:fcp_lun
27 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun); in zfcp_unit_scsi_scan()
67 static struct zfcp_unit *_zfcp_unit_find(struct zfcp_port *port, u64 fcp_lun) in _zfcp_unit_find() argument
72 if (unit->fcp_lun == fcp_lun) { in _zfcp_unit_find()
91 struct zfcp_unit *zfcp_unit_find(struct zfcp_port *port, u64 fcp_lun) in zfcp_unit_find() argument
96 unit = _zfcp_unit_find(port, fcp_lun); in zfcp_unit_find()
121 int zfcp_unit_add(struct zfcp_port *port, u64 fcp_lun) in zfcp_unit_add() argument
133 unit = zfcp_unit_find(port, fcp_lun); in zfcp_unit_add()
147 unit->fcp_lun = fcp_lun; in zfcp_unit_add()
154 (unsigned long long) fcp_lun)) { in zfcp_unit_add()
201 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun); in zfcp_unit_sdev()
238 int zfcp_unit_remove(struct zfcp_port *port, u64 fcp_lun) in zfcp_unit_remove() argument
244 unit = _zfcp_unit_find(port, fcp_lun); in zfcp_unit_remove()