Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/s390/scsi/
Dzfcp_unit.c26 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()
[all …]
Dzfcp_def.h238 u64 fcp_lun; member
275 u64 fcp_lun; in zfcp_scsi_dev_lun() local
277 int_to_scsilun(sdev->lun, (struct scsi_lun *)&fcp_lun); in zfcp_scsi_dev_lun()
278 return fcp_lun; in zfcp_scsi_dev_lun()
Dzfcp_sysfs.c291 u64 fcp_lun; in zfcp_sysfs_unit_add_store() local
293 if (strict_strtoull(buf, 0, (unsigned long long *) &fcp_lun)) in zfcp_sysfs_unit_add_store()
296 if (zfcp_unit_add(port, fcp_lun)) in zfcp_sysfs_unit_add_store()
308 u64 fcp_lun; in zfcp_sysfs_unit_remove_store() local
310 if (strict_strtoull(buf, 0, (unsigned long long *) &fcp_lun)) in zfcp_sysfs_unit_remove_store()
313 if (zfcp_unit_remove(port, fcp_lun)) in zfcp_sysfs_unit_remove_store()
438 static DEVICE_ATTR(fcp_lun, S_IRUGO, zfcp_sysfs_scsi_fcp_lun_show, NULL);
Dzfcp_fsf.h245 u64 fcp_lun; member
350 u64 fcp_lun; member
Dzfcp_dbf.c123 rec->u.uss.lun = srb->fcp_lun; in zfcp_dbf_hba_fsf_uss()
Dzfcp_fsf.c1827 req->qtcb->bottom.support.fcp_lun = zfcp_scsi_dev_lun(erp_action->sdev); in zfcp_fsf_open_lun()
/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_scsi.h84 struct scsi_lun fcp_lun; member
Dlpfc_scsi.c2741 &lpfc_cmd->fcp_cmnd->fcp_lun); in lpfc_scsi_prep_cmnd()
2847 int_to_scsilun(lun, &fcp_cmnd->fcp_lun); in lpfc_scsi_prep_task_mgmt_cmd()
Dlpfc_sli.c7968 (scsilun_to_int(&lpfc_cmd->fcp_cmnd->fcp_lun) == lun_id)) in lpfc_sli_validate_fcp_iocb()