Home
last modified time | relevance | path

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

/linux-4.4.14/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()
305 fc_host_fabric_name(shost) = wwn_to_u64(csio_rn_wwnn(rn)); in csio_get_host_fabric_name()
592 fc_vport->node_name = wwn_to_u64(csio_ln_wwnn(ln)); in csio_vport_create()
594 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.c925 if (!wwn_to_u64(vnport_wwnn) && !wwn_to_u64(vnport_wwpn)) in csio_fcoe_vnp_alloc_init_mb()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_attr.c2242 phba->cfg_soft_wwpn = wwn_to_u64(wwpn); in lpfc_soft_wwpn_store()
2324 phba->cfg_soft_wwnn = wwn_to_u64(wwnn); in lpfc_soft_wwnn_store()
2353 wwn_to_u64(phba->cfg_oas_tgt_wwpn)); in lpfc_oas_tgt_show()
2392 if (wwn_to_u64(wwpn) == 0) in lpfc_oas_tgt_store()
2421 wwn_to_u64(phba->cfg_oas_vpt_wwpn)); in lpfc_oas_vpt_show()
2460 if (wwn_to_u64(wwpn) == 0) in lpfc_oas_vpt_store()
2688 if (wwn_to_u64(phba->cfg_oas_vpt_wwpn) == 0) in lpfc_oas_lun_show()
2692 if (wwn_to_u64(phba->cfg_oas_tgt_wwpn) == 0) in lpfc_oas_lun_show()
2734 if (wwn_to_u64(phba->cfg_oas_vpt_wwpn) == 0) in lpfc_oas_lun_store()
2737 if (wwn_to_u64(phba->cfg_oas_tgt_wwpn) == 0) in lpfc_oas_lun_store()
[all …]
Dlpfc_nportdisc.c318 if (wwn_to_u64(sp->portName.u.wwn) == 0) { in lpfc_rcv_plogi()
327 if (wwn_to_u64(sp->nodeName.u.wwn) == 0) { in lpfc_rcv_plogi()
337 nlp_portwwn = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_rcv_plogi()
389 nlp_portwwn != wwn_to_u64(sp->portName.u.wwn)) in lpfc_rcv_plogi()
396 wwn_to_u64(sp->portName.u.wwn)); in lpfc_rcv_plogi()
1067 (wwn_to_u64(sp->portName.u.wwn) == 0 || in lpfc_cmpl_plogi_plogi_issue()
1068 wwn_to_u64(sp->nodeName.u.wwn) == 0)) { in lpfc_cmpl_plogi_plogi_issue()
Dlpfc_hbadisc.c150 if (rport->port_name != wwn_to_u64(ndlp->nlp_portname.u.wwn)) in lpfc_dev_loss_tmo_callbk()
154 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_dev_loss_tmo_callbk()
3684 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport()
3685 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport()
3897 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port()
3898 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
Dlpfc_init.c430 fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_config_port_post()
431 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_config_port_post()
3489 fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_host_attrib_init()
3490 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_host_attrib_init()
Dlpfc_scsi.c5745 if (((wwn_to_u64(vport_wwpn->u.wwn) == 0) || in lpfc_find_next_oas_lun()
5748 ((wwn_to_u64(target_wwpn->u.wwn) == 0) || in lpfc_find_next_oas_lun()
Dlpfc_sli.c6491 fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_sli4_hba_setup()
6492 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_sli4_hba_setup()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_attr.c1721 node_name = wwn_to_u64(fcport->node_name); in qla2x00_get_starget_node_name()
1740 port_name = wwn_to_u64(fcport->port_name); in qla2x00_get_starget_port_name()
1962 u64 fabric_name = wwn_to_u64(node_name); in qla2x00_get_host_fabric_name()
1965 fabric_name = wwn_to_u64(vha->fabric_node_name); in qla2x00_get_host_fabric_name()
2088 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla24xx_vport_create()
2089 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla24xx_vport_create()
2308 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla2x00_init_host_attr()
2309 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla2x00_init_host_attr()
Dqla_mr.c1187 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_find_all_targets()
1188 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_find_all_targets()
1195 wwn_to_u64(new_fcport->node_name), in qlafx00_find_all_targets()
1197 wwn_to_u64(new_fcport->port_name)); in qlafx00_find_all_targets()
1291 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_configure_all_targets()
1292 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_configure_all_targets()
1773 port_name = (unsigned long long)wwn_to_u64(pinfo->port_name); in qlafx00_update_host_attr()
1774 node_name = (unsigned long long)wwn_to_u64(pinfo->node_name); in qlafx00_update_host_attr()
Dqla_gs.c1646 wwn_to_u64(ct_req->req.rpa.port_name), size); in qla2x00_fdmi_rpa()
1724 "NodeName = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_fdmiv2_rhba()
1924 "Fabric Name = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_fdmiv2_rhba()
1957 wwn_to_u64(ct_req->req.rhba2.hba_identifier)); in qla2x00_fdmiv2_rhba()
2217 "Node Name = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_fdmiv2_rpa()
2227 "Port Name = %016llx.\n", wwn_to_u64(eiter->a.port_name)); in qla2x00_fdmiv2_rpa()
2270 "Fabric Name = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_fdmiv2_rpa()
Dqla_init.c3287 rport_ids.node_name = wwn_to_u64(fcport->node_name); in qla2x00_reg_remote_port()
3288 rport_ids.port_name = wwn_to_u64(fcport->port_name); in qla2x00_reg_remote_port()
6471 wwn1 = wwn_to_u64(vha->port_name); in qla24xx_get_fcp_prio()
6472 wwn2 = wwn_to_u64(pri_entry->src_wwpn); in qla24xx_get_fcp_prio()
6481 wwn1 = wwn_to_u64(fcport->port_name); in qla24xx_get_fcp_prio()
6482 wwn2 = wwn_to_u64(pri_entry->dst_wwpn); in qla24xx_get_fcp_prio()
Dqla_sup.c1107 vid.port_name = wwn_to_u64(entry->port_name); in qla2xxx_flash_npiv_conf()
1108 vid.node_name = wwn_to_u64(entry->node_name); in qla2xxx_flash_npiv_conf()
Dqla_isr.c777 wwn_to_u64(vha->port_name); in qla2x00_async_event()
781 wwn_to_u64(vha->port_name)); in qla2x00_async_event()
Dtcm_qla2xxx.c144 *nm = wwn_to_u64(wwn); in tcm_qla2xxx_npiv_extract_wwn()
Dqla_mbx.c1160 wwn_to_u64(vha->port_name); in qla2x00_get_adapter_id()
1163 wwn_to_u64(vha->port_name)); in qla2x00_get_adapter_id()
3392 wwn_to_u64(vha->port_name); in qla24xx_report_id_acquisition()
Dqla_target.c4050 other_wwn = wwn_to_u64(other_sess->port_name); in qlt_find_sess_invalidate_other()
4146 wwn = wwn_to_u64(iocb->u.isp24.port_name); in qlt_24xx_handle_els()
/linux-4.4.14/drivers/scsi/bfa/
Dbfad_attr.c410 fc_host_node_name(vshost) = wwn_to_u64((u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
411 fc_host_port_name(vshost) = wwn_to_u64((u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
Dbfad.c1048 vid.node_name = wwn_to_u64((u8 *) in bfad_start_ops()
1050 vid.port_name = wwn_to_u64((u8 *) in bfad_start_ops()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c2065 if (wwn_to_u64(npiv_tbl->wwnn[0]) == 0 && in bnx2fc_npiv_create_vports()
2066 wwn_to_u64(npiv_tbl->wwpn[0]) == 0) { in bnx2fc_npiv_create_vports()
2076 vpid.node_name = wwn_to_u64(npiv_tbl->wwnn[i]); in bnx2fc_npiv_create_vports()
2077 vpid.port_name = wwn_to_u64(npiv_tbl->wwpn[i]); in bnx2fc_npiv_create_vports()
/linux-4.4.14/include/scsi/
Dscsi_transport_fc.h798 static inline u64 wwn_to_u64(u8 *wwn) in wwn_to_u64() function
/linux-4.4.14/drivers/scsi/ibmvscsi/
Dibmvfc.c3412 tgt->ids.port_name != wwn_to_u64(rsp->service_parms.port_name)) { in ibmvfc_tgt_plogi_done()
3417 tgt->ids.node_name = wwn_to_u64(rsp->service_parms.node_name); in ibmvfc_tgt_plogi_done()
3418 tgt->ids.port_name = wwn_to_u64(rsp->service_parms.port_name); in ibmvfc_tgt_plogi_done()
/linux-4.4.14/drivers/scsi/
Dscsi_transport_fc.c1840 *nm = wwn_to_u64(wwn); in fc_parse_wwn()