Home
last modified time | relevance | path

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

/Linux-v6.6/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.h248 u64 fcp_lun; member
360 u64 fcp_lun; member
Dzfcp_dbf.c221 rec->u.uss.lun = srb->fcp_lun; in zfcp_dbf_hba_fsf_uss()
Dzfcp_fsf.c2217 req->qtcb->bottom.support.fcp_lun = zfcp_scsi_dev_lun(erp_action->sdev); in zfcp_fsf_open_lun()
/Linux-v6.6/drivers/scsi/lpfc/
Dlpfc_scsi.h103 struct scsi_lun fcp_lun; member
Dlpfc_scsi.c4802 &lpfc_cmd->fcp_cmnd->fcp_lun); in lpfc_scsi_prep_cmnd()
4854 int_to_scsilun(lun, &fcp_cmnd->fcp_lun); in lpfc_scsi_prep_task_mgmt_cmd_s3()
4917 int_to_scsilun(lun, &fcp_cmnd->fcp_lun); in lpfc_scsi_prep_task_mgmt_cmd_s4()
Dlpfc_sli.c12631 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id)) in lpfc_sli_validate_fcp_iocb()