Home
last modified time | relevance | path

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

/drivers/s390/scsi/
Dzfcp_unit.c27 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()
[all …]
Dzfcp_def.h267 u64 fcp_lun; member
304 u64 fcp_lun; in zfcp_scsi_dev_lun() local
306 int_to_scsilun(sdev->lun, (struct scsi_lun *)&fcp_lun); in zfcp_scsi_dev_lun()
307 return fcp_lun; in zfcp_scsi_dev_lun()
Dzfcp_sysfs.c447 u64 fcp_lun; in zfcp_sysfs_unit_add_store() local
450 if (kstrtoull(buf, 0, (unsigned long long *) &fcp_lun)) in zfcp_sysfs_unit_add_store()
453 retval = zfcp_unit_add(port, fcp_lun); in zfcp_sysfs_unit_add_store()
466 u64 fcp_lun; in zfcp_sysfs_unit_remove_store() local
468 if (kstrtoull(buf, 0, (unsigned long long *) &fcp_lun)) in zfcp_sysfs_unit_remove_store()
471 if (zfcp_unit_remove(port, fcp_lun)) in zfcp_sysfs_unit_remove_store()
630 static DEVICE_ATTR(fcp_lun, S_IRUGO, zfcp_sysfs_scsi_fcp_lun_show, NULL);
Dzfcp_fsf.h238 u64 fcp_lun; member
349 u64 fcp_lun; member
Dzfcp_dbf.c179 rec->u.uss.lun = srb->fcp_lun; in zfcp_dbf_hba_fsf_uss()
Dzfcp_fsf.c2196 req->qtcb->bottom.support.fcp_lun = zfcp_scsi_dev_lun(erp_action->sdev); in zfcp_fsf_open_lun()
/drivers/scsi/lpfc/
Dlpfc_scsi.h103 struct scsi_lun fcp_lun; member
Dlpfc_scsi.c4106 &lpfc_cmd->fcp_cmnd->fcp_lun); in lpfc_scsi_prep_cmnd()
4221 int_to_scsilun(lun, &fcp_cmnd->fcp_lun); in lpfc_scsi_prep_task_mgmt_cmd()
Dlpfc_sli.c11624 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id)) in lpfc_sli_validate_fcp_iocb()