Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
601 fc_vport->node_name = wwn_to_u64(csio_ln_wwnn(ln)); in csio_vport_create()
603 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-6.1.9/drivers/scsi/qla2xxx/
Dqla_inline.h485 if (wwn_to_u64(fcport->port_name) < in fcport_is_smaller()
486 wwn_to_u64(fcport->vha->port_name)) in fcport_is_smaller()
Dqla_nvme.c43 req.port_name = wwn_to_u64(fcport->port_name); in qla_nvme_register_remote()
44 req.node_name = wwn_to_u64(fcport->node_name); in qla_nvme_register_remote()
814 pinfo.node_name = wwn_to_u64(vha->node_name); in qla_nvme_register_hba()
815 pinfo.port_name = wwn_to_u64(vha->port_name); in qla_nvme_register_hba()
Dqla_gs.c1613 "NODENAME = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_hba_attributes()
1810 "FABRIC NAME = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_hba_attributes()
1950 "NODENAME = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_port_attributes()
1961 "PORTNAME = %016llx.\n", wwn_to_u64(eiter->a.port_name)); in qla2x00_port_attributes()
2007 "FABRIC NAME = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_port_attributes()
2084 wwn_to_u64(eiter->a.smartsan_guid), in qla2x00_port_attributes()
2085 wwn_to_u64(eiter->a.smartsan_guid + WWN_SIZE)); in qla2x00_port_attributes()
2199 wwn_to_u64(ct_req->req.rhba.hba_identifier), in qla2x00_fdmi_rhba()
2200 wwn_to_u64(ct_req->req.rhba.port_name)); in qla2x00_fdmi_rhba()
2321 wwn_to_u64(ct_req->req.rprt.port_name), in qla2x00_fdmi_rprt()
[all …]
Dqla_mr.c1165 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_find_all_targets()
1166 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_find_all_targets()
1173 wwn_to_u64(new_fcport->node_name), in qlafx00_find_all_targets()
1175 wwn_to_u64(new_fcport->port_name)); in qlafx00_find_all_targets()
1269 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_configure_all_targets()
1270 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_configure_all_targets()
1749 port_name = (unsigned long long)wwn_to_u64(pinfo->port_name); in qlafx00_update_host_attr()
1750 node_name = (unsigned long long)wwn_to_u64(pinfo->node_name); in qlafx00_update_host_attr()
Dqla_attr.c2648 node_name = wwn_to_u64(fcport->node_name); in qla2x00_get_starget_node_name()
2667 port_name = wwn_to_u64(fcport->port_name); in qla2x00_get_starget_port_name()
2986 u64 fabric_name = wwn_to_u64(node_name); in qla2x00_get_host_fabric_name()
2989 fabric_name = wwn_to_u64(vha->fabric_node_name); in qla2x00_get_host_fabric_name()
3113 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla24xx_vport_create()
3114 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla24xx_vport_create()
3363 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla2x00_init_host_attr()
3364 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla2x00_init_host_attr()
Dqla_init.c759 wwn = wwn_to_u64(e->port_name); in qla24xx_handle_gnl_done_event()
819 wwn = wwn_to_u64(fcport->port_name); in qla24xx_handle_gnl_done_event()
1044 wwn = wwn_to_u64(e->port_name); in qla24xx_async_gnl_sp_done()
1077 wwn = wwn_to_u64(e->port_name); in qla24xx_async_gnl_sp_done()
1097 wwnn = wwn_to_u64(e->node_name); in qla24xx_async_gnl_sp_done()
1609 mywwn = wwn_to_u64(vha->port_name); in qla_chk_n2n_b4_login()
1610 wwn = wwn_to_u64(fcport->port_name); in qla_chk_n2n_b4_login()
1689 wwn = wwn_to_u64(fcport->node_name); in qla24xx_fcport_handle_login()
2305 wwn_to_u64(ea->fcport->port_name), in qla24xx_handle_plogi_done_event()
5831 rport_ids.node_name = wwn_to_u64(fcport->node_name); in qla2x00_reg_remote_port()
[all …]
Dqla_dfs.c117 sprintf(wwn, "pn-%016llx", wwn_to_u64(fp->port_name)); in qla2x00_dfs_create_rport()
Dqla_mbx.c1763 wwn_to_u64(vha->port_name); in qla2x00_get_adapter_id()
1766 wwn_to_u64(vha->port_name)); in qla2x00_get_adapter_id()
4040 if (wwn_to_u64(vha->port_name) > in qla24xx_report_id_acquisition()
4041 wwn_to_u64(rptid_entry->u.f1.port_name)) { in qla24xx_report_id_acquisition()
4074 if (wwn_to_u64(vha->port_name) > in qla24xx_report_id_acquisition()
4075 wwn_to_u64(fcport->port_name)) { in qla24xx_report_id_acquisition()
Dqla_sup.c1170 vid.port_name = wwn_to_u64(entry->port_name); in qla2xxx_flash_npiv_conf()
1171 vid.node_name = wwn_to_u64(entry->node_name); in qla2xxx_flash_npiv_conf()
Dtcm_qla2xxx.c123 *nm = wwn_to_u64(wwn); in tcm_qla2xxx_npiv_extract_wwn()
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_attr.c360 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
378 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
379 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
514 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
540 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
541 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
2891 wwn_to_u64(phba->cfg_oas_tgt_wwpn)); in lpfc_oas_tgt_show()
2930 if (wwn_to_u64(wwpn) == 0) in lpfc_oas_tgt_store()
3022 wwn_to_u64(phba->cfg_oas_vpt_wwpn)); in lpfc_oas_vpt_show()
3061 if (wwn_to_u64(wwpn) == 0) in lpfc_oas_vpt_store()
[all …]
Dlpfc_nportdisc.c348 if (wwn_to_u64(sp->portName.u.wwn) == 0) { in lpfc_rcv_plogi()
357 if (wwn_to_u64(sp->nodeName.u.wwn) == 0) { in lpfc_rcv_plogi()
367 nlp_portwwn = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_rcv_plogi()
436 nlp_portwwn != wwn_to_u64(sp->portName.u.wwn)) in lpfc_rcv_plogi()
443 wwn_to_u64(sp->portName.u.wwn)); in lpfc_rcv_plogi()
1373 (wwn_to_u64(sp->portName.u.wwn) == 0 || in lpfc_cmpl_plogi_plogi_issue()
1374 wwn_to_u64(sp->nodeName.u.wwn) == 0)) { in lpfc_cmpl_plogi_plogi_issue()
Dlpfc_nvme.c2162 nfcp_info.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_nvme_create_localport()
2163 nfcp_info.port_name = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_nvme_create_localport()
2425 rpinfo.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_nvme_register_port()
2426 rpinfo.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_nvme_register_port()
Dlpfc_hbadisc.c201 if (rport->port_name != wwn_to_u64(ndlp->nlp_portname.u.wwn)) in lpfc_dev_loss_tmo_callbk()
205 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_dev_loss_tmo_callbk()
3446 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_mbx_cmpl_read_sparam()
4131 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport()
4132 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport()
4485 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port()
4486 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
Dlpfc_debugfs.c867 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_debugfs_nodelist_data()
870 wwn_to_u64(ndlp->nlp_nodename.u.wwn)); in lpfc_debugfs_nodelist_data()
927 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_debugfs_nodelist_data()
928 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_debugfs_nodelist_data()
Dlpfc_nvmet.c1658 pinfo.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_nvmet_create_targetport()
1659 pinfo.port_name = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_nvmet_create_targetport()
/linux-6.1.9/drivers/scsi/
Dstorvsc_drv.c785 wwn_to_u64(vstor_packet->wwn_packet.primary_node_wwn); in cache_wwn()
787 wwn_to_u64(vstor_packet->wwn_packet.primary_port_wwn); in cache_wwn()
790 wwn_to_u64(vstor_packet->wwn_packet.secondary_node_wwn); in cache_wwn()
792 wwn_to_u64(vstor_packet->wwn_packet.secondary_port_wwn); in cache_wwn()
/linux-6.1.9/drivers/scsi/bfa/
Dbfad_attr.c405 fc_host_node_name(vshost) = wwn_to_u64((u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
406 fc_host_port_name(vshost) = wwn_to_u64((u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
Dbfad.c1031 vid.node_name = wwn_to_u64((u8 *) in bfad_start_ops()
1033 vid.port_name = wwn_to_u64((u8 *) in bfad_start_ops()
/linux-6.1.9/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c2133 if (wwn_to_u64(npiv_tbl->wwnn[0]) == 0 && in bnx2fc_npiv_create_vports()
2134 wwn_to_u64(npiv_tbl->wwpn[0]) == 0) { in bnx2fc_npiv_create_vports()
2144 wwnn = wwn_to_u64(npiv_tbl->wwnn[i]); in bnx2fc_npiv_create_vports()
2153 vpid.port_name = wwn_to_u64(npiv_tbl->wwpn[i]); in bnx2fc_npiv_create_vports()
/linux-6.1.9/include/scsi/
Dscsi_transport_fc.h805 static inline u64 wwn_to_u64(const u8 *wwn) in wwn_to_u64() function
/linux-6.1.9/drivers/scsi/ibmvscsi/
Dibmvfc.c4086 tgt->ids.port_name != wwn_to_u64(rsp->service_parms.port_name)) { in ibmvfc_tgt_plogi_done()
4091 tgt->ids.node_name = wwn_to_u64(rsp->service_parms.node_name); in ibmvfc_tgt_plogi_done()
4092 tgt->ids.port_name = wwn_to_u64(rsp->service_parms.port_name); in ibmvfc_tgt_plogi_done()
4336 tgt->ids.node_name = wwn_to_u64(rsp->service_parms.node_name); in ibmvfc_tgt_move_login_done()
4337 tgt->ids.port_name = wwn_to_u64(rsp->service_parms.port_name); in ibmvfc_tgt_move_login_done()
4418 if (wwn_to_u64((u8 *)&mad->fc_iu.response[2]) != tgt->ids.port_name) in ibmvfc_adisc_needs_plogi()
4420 if (wwn_to_u64((u8 *)&mad->fc_iu.response[4]) != tgt->ids.node_name) in ibmvfc_adisc_needs_plogi()

12