Searched refs:fcp_lun (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/s390/scsi/
H A Dzfcp_unit.c26 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun); zfcp_unit_scsi_scan()
65 static struct zfcp_unit *_zfcp_unit_find(struct zfcp_port *port, u64 fcp_lun) _zfcp_unit_find() argument
70 if (unit->fcp_lun == fcp_lun) { _zfcp_unit_find()
81 * @fcp_lun: 64 Bit FCP LUN used to identify the zfcp_unit
89 struct zfcp_unit *zfcp_unit_find(struct zfcp_port *port, u64 fcp_lun) zfcp_unit_find() argument
94 unit = _zfcp_unit_find(port, fcp_lun); zfcp_unit_find()
114 * @fcp_lun: FCP LUN of unit to be enqueued
119 int zfcp_unit_add(struct zfcp_port *port, u64 fcp_lun) zfcp_unit_add() argument
131 unit = zfcp_unit_find(port, fcp_lun); zfcp_unit_add()
145 unit->fcp_lun = fcp_lun; zfcp_unit_add()
152 (unsigned long long) fcp_lun)) { zfcp_unit_add()
193 lun = scsilun_to_int((struct scsi_lun *) &unit->fcp_lun); zfcp_unit_sdev()
225 * @fcp_lun: The 64 bit LUN of the unit to remove
230 int zfcp_unit_remove(struct zfcp_port *port, u64 fcp_lun) zfcp_unit_remove() argument
236 unit = _zfcp_unit_find(port, fcp_lun); zfcp_unit_remove()
H A Dzfcp_sysfs.c311 u64 fcp_lun; zfcp_sysfs_unit_add_store() local
314 if (kstrtoull(buf, 0, (unsigned long long *) &fcp_lun)) zfcp_sysfs_unit_add_store()
317 retval = zfcp_unit_add(port, fcp_lun); zfcp_sysfs_unit_add_store()
330 u64 fcp_lun; zfcp_sysfs_unit_remove_store() local
332 if (kstrtoull(buf, 0, (unsigned long long *) &fcp_lun)) zfcp_sysfs_unit_remove_store()
335 if (zfcp_unit_remove(port, fcp_lun)) zfcp_sysfs_unit_remove_store()
462 static DEVICE_ATTR(fcp_lun, S_IRUGO, zfcp_sysfs_scsi_fcp_lun_show, NULL);
H A Dzfcp_def.h227 * @fcp_lun: 64 bit LUN value
238 u64 fcp_lun; member in struct:zfcp_unit
275 u64 fcp_lun; zfcp_scsi_dev_lun() local
277 int_to_scsilun(sdev->lun, (struct scsi_lun *)&fcp_lun); zfcp_scsi_dev_lun()
278 return fcp_lun; zfcp_scsi_dev_lun()
H A Dzfcp_fsf.h219 u64 fcp_lun; member in struct:fsf_status_read_buffer
324 u64 fcp_lun; member in struct:fsf_qtcb_bottom_support
H A Dzfcp_dbf.c131 rec->u.uss.lun = srb->fcp_lun; zfcp_dbf_hba_fsf_uss()
H A Dzfcp_fsf.c1859 req->qtcb->bottom.support.fcp_lun = zfcp_scsi_dev_lun(erp_action->sdev); zfcp_fsf_open_lun()
/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_scsi.h100 struct scsi_lun fcp_lun; member in struct:fcp_cmnd
H A Dlpfc_scsi.c4209 &lpfc_cmd->fcp_cmnd->fcp_lun); lpfc_scsi_prep_cmnd()
4318 int_to_scsilun(lun, &fcp_cmnd->fcp_lun); lpfc_scsi_prep_task_mgmt_cmd()
H A Dlpfc_sli.c9957 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id)) lpfc_sli_validate_fcp_iocb()

Completed in 1503 milliseconds