Home
last modified time | relevance | path

Searched refs:wwnn (Results 1 – 25 of 51) sorted by relevance

123

/Linux-v6.6/drivers/scsi/elx/libefc/
Defc_nport.c45 efc_nport_find_wwn(struct efc_domain *domain, uint64_t wwnn, uint64_t wwpn) in efc_nport_find_wwn() argument
51 if (nport->wwnn == wwnn && nport->wwpn == wwpn) in efc_nport_find_wwn()
66 efc_nport_alloc(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn, in efc_nport_alloc() argument
75 if ((wwpn != 0) || (wwnn != 0)) { in efc_nport_alloc()
76 nport = efc_nport_find_wwn(domain, wwnn, wwpn); in efc_nport_alloc()
80 wwnn, wwpn); in efc_nport_alloc()
113 nport->wwnn = wwnn; in efc_nport_alloc()
115 (unsigned long long)wwnn); in efc_nport_alloc()
395 if (nport->wwnn == 0) { in __efc_nport_vport_wait_alloc()
396 nport->wwnn = be64_to_cpu(nport->sli_wwnn); in __efc_nport_vport_wait_alloc()
[all …]
Defclib.h151 u64 wwnn; member
374 char wwnn[EFC_WWN_LENGTH]; member
394 u64 wwnn; member
589 efc_vport_create_spec(struct efc *efc, u64 wwnn, u64 wwpn, u32 fc_id,
593 u64 wwnn, u32 fc_id, bool ini, bool tgt,
596 u64 wwpn, u64 wwnn);
Defc_nport.h18 efc_nport_alloc(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn,
Defc_device.c31 node->display_name, node->wwpn, node->wwnn); in efc_d_send_prli_rsp()
220 node->wwpn, node->wwnn); in __efc_d_initiate_shutdown()
236 node->wwpn, node->wwnn); in __efc_d_initiate_shutdown()
251 node->display_name, node->wwpn, node->wwnn); in __efc_d_initiate_shutdown()
1310 node->wwpn, node->wwnn); in __efc_d_device_ready()
1445 node->wwpn, node->wwnn); in __efc_d_device_gone()
/Linux-v6.6/drivers/scsi/lpfc/
Dlpfc_nl.h71 uint8_t wwnn[8]; member
100 uint8_t wwnn[8]; member
123 uint8_t wwnn[8]; member
/Linux-v6.6/drivers/scsi/qedf/
Dqedf_fip.c49 vlan->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME; in qedf_fcoe_send_vlan_req()
50 vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW; in qedf_fcoe_send_vlan_req()
51 put_unaligned_be64(qedf->lport->wwnn, &vlan->desc.wwnn.fd_wwn); in qedf_fcoe_send_vlan_req()
Dqedf.h336 u64 wwnn; member
567 struct fip_wwn_desc wwnn; member
/Linux-v6.6/drivers/scsi/csiostor/
Dcsio_attr.c480 ln->ln_sparm.wwnn[0], ln->ln_sparm.wwnn[1], in csio_fcoe_alloc_vnp()
481 ln->ln_sparm.wwnn[2], ln->ln_sparm.wwnn[3], in csio_fcoe_alloc_vnp()
482 ln->ln_sparm.wwnn[4], ln->ln_sparm.wwnn[5], in csio_fcoe_alloc_vnp()
483 ln->ln_sparm.wwnn[6], ln->ln_sparm.wwnn[7]); in csio_fcoe_alloc_vnp()
Dcsio_lnode.h140 uint8_t wwnn[8]; /* WWNN */ member
209 #define csio_ln_wwnn(ln) ((ln)->ln_sparm.wwnn)
Dcsio_rnode.h122 #define csio_rn_wwnn(rn) ((rn)->rn_sparm.wwnn)
Dcsio_rnode.c516 if (!memcmp(rdevp->wwnn, null, 8)) { in csio_rn_verify_rparams()
538 memcpy(csio_rn_wwnn(rn), rdevp->wwnn, 8); in csio_rn_verify_rparams()
/Linux-v6.6/drivers/scsi/fnic/
Dfnic_fip.h44 struct fip_wwn_desc wwnn; member
Dfnic_fcs.c396 vlan->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME; in fnic_fcoe_send_vlan_req()
397 vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW; in fnic_fcoe_send_vlan_req()
398 put_unaligned_be64(fip->lp->wwnn, &vlan->desc.wwnn.fd_wwn); in fnic_fcoe_send_vlan_req()
/Linux-v6.6/include/scsi/
Dlibfc.h729 u64 wwnn; member
802 static inline void fc_set_wwnn(struct fc_lport *lport, u64 wwnn) in fc_set_wwnn() argument
804 lport->wwnn = wwnn; in fc_set_wwnn()
/Linux-v6.6/drivers/scsi/libfc/
Dfc_encode.h56 put_unaligned_be64(lport->wwnn, &adisc->adisc_wwnn); in fc_adisc_fill()
135 put_unaligned_be64(lport->wwnn, &ct->payload.rn.fr_wwn); in fc_ct_ns_fill()
152 put_unaligned_be64(lport->wwnn, &ct->payload.snn.fr_wwn); in fc_ct_ns_fill()
248 put_unaligned_be64(lport->wwnn, in fc_ct_ms_fill()
756 put_unaligned_be64(lport->wwnn, &plogi->fl_wwnn); in fc_plogi_fill()
788 put_unaligned_be64(lport->wwnn, &flogi->fl_wwnn); in fc_flogi_fill()
813 put_unaligned_be64(lport->wwnn, &fdisc->fl_wwnn); in fc_fdisc_fill()
/Linux-v6.6/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c802 u64 wwnn, wwpn; in bnx2fc_net_config() local
824 if (fcoe_get_wwn(netdev, &wwnn, NETDEV_FCOE_WWNN)) in bnx2fc_net_config()
825 wwnn = fcoe_wwn_from_mac(ctlr->ctl_src_addr, in bnx2fc_net_config()
827 BNX2FC_HBA_DBG(lport, "WWNN = 0x%llx\n", wwnn); in bnx2fc_net_config()
828 fc_set_wwnn(lport, wwnn); in bnx2fc_net_config()
2123 u64 wwnn = 0; in bnx2fc_npiv_create_vports() local
2133 if (wwn_to_u64(npiv_tbl->wwnn[0]) == 0 && in bnx2fc_npiv_create_vports()
2144 wwnn = wwn_to_u64(npiv_tbl->wwnn[i]); in bnx2fc_npiv_create_vports()
2145 if (wwnn == 0) { in bnx2fc_npiv_create_vports()
2150 wwnn = lport->wwnn; in bnx2fc_npiv_create_vports()
[all …]
/Linux-v6.6/include/linux/qed/
Dqed_fcoe_if.h32 u64 wwnn; member
/Linux-v6.6/drivers/scsi/fcoe/
Dfcoe_ctlr.c385 struct fip_wwn_desc wwnn; in fcoe_ctlr_solicit() member
414 sol->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME; in fcoe_ctlr_solicit()
415 sol->desc.wwnn.fd_desc.fip_dlen = sizeof(sol->desc.wwnn) / FIP_BPW; in fcoe_ctlr_solicit()
416 put_unaligned_be64(fip->lp->wwnn, &sol->desc.wwnn.fd_wwn); in fcoe_ctlr_solicit()
2026 struct fip_wwn_desc wwnn; in fcoe_ctlr_vn_send() member
2042 dlen += sizeof(frame->mac) + sizeof(frame->wwnn) + sizeof(frame->vn); in fcoe_ctlr_vn_send()
2070 frame->wwnn.fd_desc.fip_dtype = FIP_DT_NAME; in fcoe_ctlr_vn_send()
2071 frame->wwnn.fd_desc.fip_dlen = sizeof(frame->wwnn) / FIP_BPW; in fcoe_ctlr_vn_send()
2072 put_unaligned_be64(fip->lp->wwnn, &frame->wwnn.fd_wwn); in fcoe_ctlr_vn_send()
/Linux-v6.6/drivers/nvme/target/
Dfcloop.c28 u64 wwnn; member
83 opts->wwnn = token64; in fcloop_parse_options()
1124 pinfo.node_name = opts->wwnn; in fcloop_create_local_port()
1240 newnport->node_name = opts->wwnn; in fcloop_alloc_nport()
1251 if (tmplport->localport->node_name == opts->wwnn && in fcloop_alloc_nport()
1267 if (nport->node_name == opts->wwnn && in fcloop_alloc_nport()
/Linux-v6.6/drivers/scsi/elx/efct/
Defct_lio.c54 efct_lio_parse_npiv_wwn(const char *name, size_t size, u64 *wwpn, u64 *wwnn) in efct_lio_parse_npiv_wwn() argument
59 *wwpn = *wwnn = 0; in efct_lio_parse_npiv_wwn()
71 rc = efct_lio_parse_wwn(&name[17], wwnn, 1); in efct_lio_parse_npiv_wwn()
1003 u64 wwnn; in efct_lio_init_nodeacl() local
1005 if (efct_lio_parse_wwn(name, &wwnn, 0) < 0) in efct_lio_init_nodeacl()
1009 nacl->nport_wwnn = wwnn; in efct_lio_init_nodeacl()
1011 efct_format_wwn(nacl->nport_name, sizeof(nacl->nport_name), "", wwnn); in efct_lio_init_nodeacl()
Defct_xport.c601 u64 wwnn; in efct_xport_control() local
605 wwnn = va_arg(argp, uint64_t); in efct_xport_control()
608 efc_log_debug(efct, " WWNN %016llx\n", wwnn); in efct_xport_control()
609 xport->req_wwnn = wwnn; in efct_xport_control()
Defct_lio.h61 u64 wwnn; member
/Linux-v6.6/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c135 u64 *wwnn) in tcm_qla2xxx_npiv_parse_wwn() argument
141 *wwnn = 0; in tcm_qla2xxx_npiv_parse_wwn()
155 rc = tcm_qla2xxx_npiv_extract_wwn(&name[17], wwnn); in tcm_qla2xxx_npiv_parse_wwn()
832 u64 wwnn; in tcm_qla2xxx_init_nodeacl() local
834 if (tcm_qla2xxx_parse_wwn(name, &wwnn, 1) < 0) in tcm_qla2xxx_init_nodeacl()
837 nacl->nport_wwnn = wwnn; in tcm_qla2xxx_init_nodeacl()
838 tcm_qla2xxx_format_wwn(&nacl->nport_name[0], TCM_QLA2XXX_NAMELEN, wwnn); in tcm_qla2xxx_init_nodeacl()
Dqla_bsg.h178 uint8_t wwnn[8]; member
/Linux-v6.6/drivers/s390/scsi/
Dzfcp_def.h215 u64 wwnn; /* WWNN if known */ member

123