Home
last modified time | relevance | path

Searched refs:wwpn (Results 1 – 25 of 78) sorted by relevance

1234

/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()
112 nport->wwpn = wwpn; in efc_nport_alloc()
354 __be64 be_wwpn = cpu_to_be64(nport->wwpn); in __efc_nport_vport_init()
356 if (nport->wwpn == 0) in __efc_nport_vport_init()
367 nport->wwpn == 0 ? NULL : in __efc_nport_vport_init()
[all …]
Defclib.h149 u64 wwpn; member
374 char wwpn[EFC_WWN_LENGTH]; member
394 u64 wwpn; member
588 efc_vport_create_spec(struct efc *efc, u64 wwnn, u64 wwpn, u32 fc_id,
591 int efc_nport_vport_new(struct efc_domain *domain, u64 wwpn,
595 u64 wwpn, u64 wwnn);
Defc_cmds.c207 struct efc_domain *domain, u8 *wwpn) in efc_cmd_nport_alloc() argument
214 if (wwpn) in efc_cmd_nport_alloc()
215 memcpy(&nport->sli_wwpn, wwpn, sizeof(nport->sli_wwpn)); in efc_cmd_nport_alloc()
232 if (!wwpn) in efc_cmd_nport_alloc()
236 } else if (!wwpn) { in efc_cmd_nport_alloc()
Defc_cmds.h13 struct efc_domain *domain, u8 *wwpn);
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()
/drivers/target/tcm_fc/
Dtfc_conf.c206 u64 wwpn; in ft_init_nodeacl() local
208 if (ft_parse_wwn(name, &wwpn, 1) < 0) in ft_init_nodeacl()
211 acl->node_auth.port_name = wwpn; in ft_init_nodeacl()
310 if (ft_wwn->wwpn == lport->wwpn) in ft_lport_find_tpg()
331 u64 wwpn; in ft_add_wwn() local
334 if (ft_parse_wwn(name, &wwpn, 1) < 0) in ft_add_wwn()
339 ft_wwn->wwpn = wwpn; in ft_add_wwn()
343 if (old_ft_wwn->wwpn == wwpn) { in ft_add_wwn()
350 ft_format_wwn(ft_wwn->name, sizeof(ft_wwn->name), wwpn); in ft_add_wwn()
Dtcm_fc.h21 __u8 wwpn[8]; member
96 u64 wwpn; member
/drivers/s390/scsi/
Dzfcp_aux.c58 static void __init zfcp_init_device_configure(char *busid, u64 wwpn, u64 lun) in zfcp_init_device_configure() argument
75 port = zfcp_get_port_by_wwpn(adapter, wwpn); in zfcp_init_device_configure()
95 u64 wwpn, lun; in zfcp_init_device_setup() local
109 if (!token || kstrtoull(token, 0, (unsigned long long *) &wwpn)) in zfcp_init_device_setup()
117 zfcp_init_device_configure(busid, wwpn, lun); in zfcp_init_device_setup()
190 u64 wwpn) in zfcp_get_port_by_wwpn() argument
197 if (port->wwpn == wwpn) { in zfcp_get_port_by_wwpn()
509 struct zfcp_port *zfcp_port_enqueue(struct zfcp_adapter *adapter, u64 wwpn, in zfcp_port_enqueue() argument
517 port = zfcp_get_port_by_wwpn(adapter, wwpn); in zfcp_port_enqueue()
538 port->wwpn = wwpn; in zfcp_port_enqueue()
[all …]
Dzfcp_fsf.c1598 zfcp_dbf_hba_fsf_fces("fsfcesp", req, port->wwpn, in zfcp_fsf_log_port_fc_security()
1619 port->wwpn, mnemonic_new); in zfcp_fsf_log_port_fc_security()
1624 port->wwpn, mnemonic_old); in zfcp_fsf_log_port_fc_security()
1629 port->wwpn, mnemonic_old, mnemonic_new); in zfcp_fsf_log_port_fc_security()
1637 u64 wwpn) in zfcp_fsf_log_security_error() argument
1648 wwpn); in zfcp_fsf_log_security_error()
1653 wwpn); in zfcp_fsf_log_security_error()
1658 wwpn); in zfcp_fsf_log_security_error()
1663 wwpn); in zfcp_fsf_log_security_error()
1668 wwpn); in zfcp_fsf_log_security_error()
[all …]
Dzfcp_fc.c302 static void zfcp_fc_incoming_wwpn(struct zfcp_fsf_req *req, u64 wwpn) in zfcp_fc_incoming_wwpn() argument
310 if (port->wwpn == wwpn) { in zfcp_fc_incoming_wwpn()
404 gid_pn_req->gid_pn.fn_wwpn = cpu_to_be64(port->wwpn); in zfcp_fc_ns_gid_pn_request()
451 set_worker_desc("zgidpn%16llx", port->wwpn); /* < WORKER_DESC_LEN=24 */ in zfcp_fc_port_did_lookup()
489 if (be64_to_cpu(plogi->fl_wwpn) != port->wwpn) { in zfcp_fc_plogi_evaluate()
494 (unsigned long long) port->wwpn, in zfcp_fc_plogi_evaluate()
528 if ((port->wwpn != be64_to_cpu(adisc_resp->adisc_wwpn)) || in zfcp_fc_adisc_handler()
596 set_worker_desc("zadisc%16llx", port->wwpn); /* < WORKER_DESC_LEN=24 */ in zfcp_fc_link_test_work()
Dzfcp_dbf.h85 u64 wwpn; member
175 u64 wwpn; member
Dzfcp_dbf.c115 void zfcp_dbf_hba_fsf_fces(char *tag, const struct zfcp_fsf_req *req, u64 wwpn, in zfcp_dbf_hba_fsf_fces() argument
140 rec->u.fces.wwpn = wwpn; in zfcp_dbf_hba_fsf_fces()
274 rec->wwpn = port->wwpn; in zfcp_dbf_set_common()
/drivers/scsi/csiostor/
Dcsio_rnode.c145 csio_rn_lookup_wwpn(struct csio_lnode *ln, uint8_t *wwpn) in csio_rn_lookup_wwpn() argument
153 if (!memcmp(csio_rn_wwpn(rn), wwpn, 8)) in csio_rn_lookup_wwpn()
333 rn = csio_rn_lookup_wwpn(ln, rdevp->wwpn); in csio_confirm_rnode()
352 if (!memcmp(csio_rn_wwpn(match_rn), rdevp->wwpn, 8)) { in csio_confirm_rnode()
359 wwn_to_u64(rdevp->wwpn), in csio_confirm_rnode()
379 if (!memcmp(csio_rn_wwpn(rn), rdevp->wwpn, 8)) in csio_confirm_rnode()
383 match_rn = csio_rn_lookup_wwpn(ln, rdevp->wwpn); in csio_confirm_rnode()
388 wwn_to_u64(rdevp->wwpn), 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()
[all …]
Dcsio_attr.c485 ln->ln_sparm.wwpn[0], ln->ln_sparm.wwpn[1], in csio_fcoe_alloc_vnp()
486 ln->ln_sparm.wwpn[2], ln->ln_sparm.wwpn[3], in csio_fcoe_alloc_vnp()
487 ln->ln_sparm.wwpn[4], ln->ln_sparm.wwpn[5], in csio_fcoe_alloc_vnp()
488 ln->ln_sparm.wwpn[6], ln->ln_sparm.wwpn[7]); in csio_fcoe_alloc_vnp()
Dcsio_lnode.h139 uint8_t wwpn[8]; /* WWPN */ member
208 #define csio_ln_wwpn(ln) ((ln)->ln_sparm.wwpn)
/drivers/scsi/fcoe/
Dfcoe_transport.c231 u8 wwpn[8]; in fcoe_wwn_to_str() local
233 u64_to_wwn(wwn, wwpn); in fcoe_wwn_to_str()
235 wwpn[0], wwpn[1], wwpn[2], wwpn[3], in fcoe_wwn_to_str()
236 wwpn[4], wwpn[5], wwpn[6], wwpn[7]); in fcoe_wwn_to_str()
261 if (!memcmp(&n_port->wwpn, &vport->port_name, sizeof(u64))) { in fcoe_validate_vport_create()
270 if (!memcmp(&vn_port->wwpn, &vport->port_name, sizeof(u64))) { in fcoe_validate_vport_create()
/drivers/scsi/lpfc/
Dlpfc_nl.h70 uint8_t wwpn[8]; member
99 uint8_t wwpn[8]; member
122 uint8_t wwpn[8]; member
/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()
67 rc = efct_lio_parse_wwn(&name[0], wwpn, 1); in efct_lio_parse_npiv_wwn()
731 static struct efct *efct_find_wwpn(u64 wwpn) in efct_find_wwpn() argument
738 if (wwpn == efct_get_wwpn(&efct->hw)) in efct_find_wwpn()
752 u64 wwpn; in efct_lio_make_nport() local
754 ret = efct_lio_parse_wwn(name, &wwpn, 0); in efct_lio_make_nport()
758 efct = efct_find_wwpn(wwpn); in efct_lio_make_nport()
769 lio_nport->wwpn = wwpn; in efct_lio_make_nport()
771 "naa.", wwpn); in efct_lio_make_nport()
[all …]
Defct_lio.h135 u64 wwpn; member
148 u64 wwpn; member
/drivers/scsi/libfc/
Dfc_encode.h55 put_unaligned_be64(lport->wwpn, &adisc->adisc_wwpn); in fc_adisc_fill()
230 put_unaligned_be64(lport->wwpn, &ct->payload.rhba.hbaid.id); in fc_ct_ms_fill()
234 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill()
488 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill()
595 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill()
694 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill()
702 put_unaligned_be64(lport->wwpn, &ct->payload.dhba.hbaid.id); in fc_ct_ms_fill()
755 put_unaligned_be64(lport->wwpn, &plogi->fl_wwpn); in fc_plogi_fill()
787 put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); in fc_flogi_fill()
812 put_unaligned_be64(lport->wwpn, &fdisc->fl_wwpn); in fc_fdisc_fill()
[all …]
/drivers/scsi/ibmvscsi/
Dibmvfc.h249 __be64 wwpn; member
315 __be64 wwpn; member
365 __be64 wwpn; member
681 volatile __be64 wwpn; member
720 u64 wwpn; member
/drivers/scsi/bfa/
Dbfad_im.c453 wwn_t wwpn; in bfa_fcb_itnim_free() local
469 wwpn = bfa_fcs_itnim_get_pwwn(&itnim_drv->fcs_itnim); in bfa_fcb_itnim_free()
471 wwn2str(wwpn_str, wwpn); in bfa_fcb_itnim_free()
1113 wwn_t wwpn; in bfad_im_itnim_work_handler() local
1126 wwpn = bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim); in bfad_im_itnim_work_handler()
1128 wwn2str(wwpn_str, wwpn); in bfad_im_itnim_work_handler()
1160 wwpn = bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim); in bfad_im_itnim_work_handler()
1162 wwn2str(wwpn_str, wwpn); in bfad_im_itnim_work_handler()
/drivers/scsi/cxlflash/
Dvlun.h68 u64 wwpn; member
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c134 u64 *wwpn, in tcm_qla2xxx_npiv_parse_wwn() argument
140 *wwpn = 0; in tcm_qla2xxx_npiv_parse_wwn()
151 rc = tcm_qla2xxx_npiv_extract_wwn(&name[0], wwpn); in tcm_qla2xxx_npiv_parse_wwn()
1649 u64 wwpn; in tcm_qla2xxx_make_lport() local
1652 if (tcm_qla2xxx_parse_wwn(name, &wwpn, 1) < 0) in tcm_qla2xxx_make_lport()
1660 lport->lport_wwpn = wwpn; in tcm_qla2xxx_make_lport()
1662 wwpn); in tcm_qla2xxx_make_lport()
1663 sprintf(lport->lport_naa_name, "naa.%016llx", (unsigned long long) wwpn); in tcm_qla2xxx_make_lport()
1669 ret = qlt_lport_register(lport, wwpn, 0, 0, in tcm_qla2xxx_make_lport()

1234