Home
last modified time | relevance | path

Searched refs:wwn_to_u64 (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v4.19/drivers/scsi/csiostor/
Dcsio_attr.c67 ids.node_name = wwn_to_u64(csio_rn_wwnn(rn)); in csio_reg_rnode()
68 ids.port_name = wwn_to_u64(csio_rn_wwpn(rn)); in csio_reg_rnode()
186 fc_host_node_name(shost) = wwn_to_u64(csio_ln_wwnn(ln)); in csio_fchost_attr_init()
187 fc_host_port_name(shost) = wwn_to_u64(csio_ln_wwpn(ln)); in csio_fchost_attr_init()
317 fc_host_fabric_name(shost) = wwn_to_u64(csio_rn_wwnn(rn)); in csio_get_host_fabric_name()
604 fc_vport->node_name = wwn_to_u64(csio_ln_wwnn(ln)); in csio_vport_create()
606 fc_vport->port_name = wwn_to_u64(csio_ln_wwpn(ln)); in csio_vport_create()
Dcsio_rnode.c359 wwn_to_u64(rdevp->wwpn), in csio_confirm_rnode()
388 wwn_to_u64(rdevp->wwpn), in csio_confirm_rnode()
397 wwn_to_u64(csio_rn_wwpn(rn))); in csio_confirm_rnode()
402 wwn_to_u64(csio_rn_wwpn(rn)), in csio_confirm_rnode()
413 rn, rdev_flowid, wwn_to_u64(rdevp->wwpn)); in csio_confirm_rnode()
429 rn, rdev_flowid, wwn_to_u64(rdevp->wwpn)); in csio_confirm_rnode()
Dcsio_mb.c929 if (!wwn_to_u64(vnport_wwnn) && !wwn_to_u64(vnport_wwpn)) in csio_fcoe_vnp_alloc_init_mb()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_nvme.c45 req.port_name = wwn_to_u64(fcport->port_name); in qla_nvme_register_remote()
46 req.node_name = wwn_to_u64(fcport->node_name); in qla_nvme_register_remote()
702 pinfo.node_name = wwn_to_u64(vha->node_name); in qla_nvme_register_hba()
703 pinfo.port_name = wwn_to_u64(vha->port_name); in qla_nvme_register_hba()
Dqla_attr.c1710 node_name = wwn_to_u64(fcport->node_name); in qla2x00_get_starget_node_name()
1729 port_name = wwn_to_u64(fcport->port_name); in qla2x00_get_starget_port_name()
1975 u64 fabric_name = wwn_to_u64(node_name); in qla2x00_get_host_fabric_name()
1978 fabric_name = wwn_to_u64(vha->fabric_node_name); in qla2x00_get_host_fabric_name()
2101 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla24xx_vport_create()
2102 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla24xx_vport_create()
2319 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla2x00_init_host_attr()
2320 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla2x00_init_host_attr()
Dqla_mr.c1189 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_find_all_targets()
1190 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_find_all_targets()
1197 wwn_to_u64(new_fcport->node_name), in qlafx00_find_all_targets()
1199 wwn_to_u64(new_fcport->port_name)); in qlafx00_find_all_targets()
1293 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_configure_all_targets()
1294 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_configure_all_targets()
1775 port_name = (unsigned long long)wwn_to_u64(pinfo->port_name); in qlafx00_update_host_attr()
1776 node_name = (unsigned long long)wwn_to_u64(pinfo->node_name); in qlafx00_update_host_attr()
Dqla_gs.c1918 wwn_to_u64(ct_req->req.rpa.port_name), size); in qla2x00_fdmi_rpa()
1995 "NodeName = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_fdmiv2_rhba()
2193 "Fabric Name = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_fdmiv2_rhba()
2226 wwn_to_u64(ct_req->req.rhba2.hba_identifier)); in qla2x00_fdmiv2_rhba()
2493 "Node Name = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_fdmiv2_rpa()
2503 "Port Name = %016llx.\n", wwn_to_u64(eiter->a.port_name)); in qla2x00_fdmiv2_rpa()
2546 "Fabric Name = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_fdmiv2_rpa()
3883 twwn = wwn_to_u64(vp->port_name); in qla2x00_is_a_vp()
3936 wwn = wwn_to_u64(rp->port_name); in qla24xx_async_gnnft_done()
4068 wwn = wwn_to_u64(d->port_name); in qla2x00_find_free_fcp_nvme_slot()
[all …]
Dqla_init.c196 if (wwn_to_u64(fcport->port_name) < in fcport_is_smaller()
197 wwn_to_u64(fcport->vha->port_name)) in fcport_is_smaller()
562 wwn = wwn_to_u64(e->port_name); in qla24xx_handle_gnl_done_event()
612 wwn = wwn_to_u64(fcport->port_name); in qla24xx_handle_gnl_done_event()
808 wwn = wwn_to_u64(e->port_name); in qla24xx_async_gnl_sp_done()
842 wwn = wwn_to_u64(e->port_name); in qla24xx_async_gnl_sp_done()
862 wwnn = wwn_to_u64(e->node_name); in qla24xx_async_gnl_sp_done()
1267 mywwn = wwn_to_u64(vha->port_name); in qla_chk_n2n_b4_login()
1268 wwn = wwn_to_u64(fcport->port_name); in qla_chk_n2n_b4_login()
1342 wwn = wwn_to_u64(fcport->node_name); in qla24xx_fcport_handle_login()
[all …]
Dqla_sup.c1138 vid.port_name = wwn_to_u64(entry->port_name); in qla2xxx_flash_npiv_conf()
1139 vid.node_name = wwn_to_u64(entry->node_name); in qla2xxx_flash_npiv_conf()
Dtcm_qla2xxx.c142 *nm = wwn_to_u64(wwn); in tcm_qla2xxx_npiv_extract_wwn()
Dqla_mbx.c1667 wwn_to_u64(vha->port_name); in qla2x00_get_adapter_id()
1670 wwn_to_u64(vha->port_name)); in qla2x00_get_adapter_id()
3871 if (wwn_to_u64(vha->port_name) > in qla24xx_report_id_acquisition()
3872 wwn_to_u64(rptid_entry->u.f1.port_name)) { in qla24xx_report_id_acquisition()
Dqla_isr.c841 wwn_to_u64(vha->port_name); in qla2x00_async_event()
845 wwn_to_u64(vha->port_name)); in qla2x00_async_event()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_attr.c174 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
192 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
193 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
328 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
356 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
357 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
2609 phba->cfg_soft_wwpn = wwn_to_u64(wwpn); in lpfc_soft_wwpn_store()
2690 phba->cfg_soft_wwnn = wwn_to_u64(wwnn); in lpfc_soft_wwnn_store()
2718 wwn_to_u64(phba->cfg_oas_tgt_wwpn)); in lpfc_oas_tgt_show()
2757 if (wwn_to_u64(wwpn) == 0) in lpfc_oas_tgt_store()
[all …]
Dlpfc_nportdisc.c303 if (wwn_to_u64(sp->portName.u.wwn) == 0) { in lpfc_rcv_plogi()
312 if (wwn_to_u64(sp->nodeName.u.wwn) == 0) { in lpfc_rcv_plogi()
322 nlp_portwwn = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_rcv_plogi()
378 nlp_portwwn != wwn_to_u64(sp->portName.u.wwn)) in lpfc_rcv_plogi()
385 wwn_to_u64(sp->portName.u.wwn)); in lpfc_rcv_plogi()
1146 (wwn_to_u64(sp->portName.u.wwn) == 0 || in lpfc_cmpl_plogi_plogi_issue()
1147 wwn_to_u64(sp->nodeName.u.wwn) == 0)) { in lpfc_cmpl_plogi_plogi_issue()
Dlpfc_nvme.c2462 nfcp_info.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_nvme_create_localport()
2463 nfcp_info.port_name = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_nvme_create_localport()
2725 rpinfo.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_nvme_register_port()
2726 rpinfo.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_nvme_register_port()
Dlpfc_hbadisc.c157 if (rport->port_name != wwn_to_u64(ndlp->nlp_portname.u.wwn)) in lpfc_dev_loss_tmo_callbk()
161 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_dev_loss_tmo_callbk()
3043 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_mbx_cmpl_read_sparam()
3756 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport()
3757 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport()
4029 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port()
4030 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
Dlpfc_debugfs.c607 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_debugfs_nodelist_data()
610 wwn_to_u64(ndlp->nlp_nodename.u.wwn)); in lpfc_debugfs_nodelist_data()
668 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_debugfs_nodelist_data()
669 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_debugfs_nodelist_data()
Dlpfc_nvmet.c1372 pinfo.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_nvmet_create_targetport()
1373 pinfo.port_name = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_nvmet_create_targetport()
Dlpfc_init.c462 fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_config_port_post()
463 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_config_port_post()
4120 fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_host_attrib_init()
4121 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_host_attrib_init()
/Linux-v4.19/drivers/scsi/
Dstorvsc_drv.c740 wwn_to_u64(vstor_packet->wwn_packet.primary_node_wwn); in cache_wwn()
742 wwn_to_u64(vstor_packet->wwn_packet.primary_port_wwn); in cache_wwn()
745 wwn_to_u64(vstor_packet->wwn_packet.secondary_node_wwn); in cache_wwn()
747 wwn_to_u64(vstor_packet->wwn_packet.secondary_port_wwn); in cache_wwn()
/Linux-v4.19/drivers/scsi/bfa/
Dbfad_attr.c411 fc_host_node_name(vshost) = wwn_to_u64((u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
412 fc_host_port_name(vshost) = wwn_to_u64((u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
Dbfad.c1041 vid.node_name = wwn_to_u64((u8 *) in bfad_start_ops()
1043 vid.port_name = wwn_to_u64((u8 *) in bfad_start_ops()
/Linux-v4.19/include/scsi/
Dscsi_transport_fc.h758 static inline u64 wwn_to_u64(u8 *wwn) in wwn_to_u64() function
/Linux-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c2151 if (wwn_to_u64(npiv_tbl->wwnn[0]) == 0 && in bnx2fc_npiv_create_vports()
2152 wwn_to_u64(npiv_tbl->wwpn[0]) == 0) { in bnx2fc_npiv_create_vports()
2162 wwnn = wwn_to_u64(npiv_tbl->wwnn[i]); in bnx2fc_npiv_create_vports()
2171 vpid.port_name = wwn_to_u64(npiv_tbl->wwpn[i]); in bnx2fc_npiv_create_vports()
/Linux-v4.19/drivers/scsi/ibmvscsi/
Dibmvfc.c3423 tgt->ids.port_name != wwn_to_u64(rsp->service_parms.port_name)) { in ibmvfc_tgt_plogi_done()
3428 tgt->ids.node_name = wwn_to_u64(rsp->service_parms.node_name); in ibmvfc_tgt_plogi_done()
3429 tgt->ids.port_name = wwn_to_u64(rsp->service_parms.port_name); in ibmvfc_tgt_plogi_done()
3582 if (wwn_to_u64((u8 *)&mad->fc_iu.response[2]) != tgt->ids.port_name) in ibmvfc_adisc_needs_plogi()
3584 if (wwn_to_u64((u8 *)&mad->fc_iu.response[4]) != tgt->ids.node_name) in ibmvfc_adisc_needs_plogi()

12