Lines Matching refs:fcp_lun
26 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun); in zfcp_unit_scsi_scan()
65 static struct zfcp_unit *_zfcp_unit_find(struct zfcp_port *port, u64 fcp_lun) in _zfcp_unit_find() argument
70 if (unit->fcp_lun == fcp_lun) { in _zfcp_unit_find()
89 struct zfcp_unit *zfcp_unit_find(struct zfcp_port *port, u64 fcp_lun) in zfcp_unit_find() argument
94 unit = _zfcp_unit_find(port, fcp_lun); in zfcp_unit_find()
119 int zfcp_unit_add(struct zfcp_port *port, u64 fcp_lun) in zfcp_unit_add() argument
123 unit = zfcp_unit_find(port, fcp_lun); in zfcp_unit_add()
134 unit->fcp_lun = fcp_lun; in zfcp_unit_add()
140 (unsigned long long) fcp_lun)) { in zfcp_unit_add()
182 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun); in zfcp_unit_sdev()
219 int zfcp_unit_remove(struct zfcp_port *port, u64 fcp_lun) in zfcp_unit_remove() argument
225 unit = _zfcp_unit_find(port, fcp_lun); in zfcp_unit_remove()