/linux-6.12.1/drivers/scsi/elx/libefc/ |
D | efc_nport.c | 45 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 …]
|
D | efclib.h | 150 u64 wwpn; member 375 char wwpn[EFC_WWN_LENGTH]; member 395 u64 wwpn; member 589 efc_vport_create_spec(struct efc *efc, u64 wwnn, u64 wwpn, u32 fc_id, 592 int efc_nport_vport_new(struct efc_domain *domain, u64 wwpn, 596 u64 wwpn, u64 wwnn);
|
D | efc_cmds.c | 207 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()
|
D | efc_cmds.h | 13 struct efc_domain *domain, u8 *wwpn);
|
D | efc_nport.h | 18 efc_nport_alloc(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn,
|
/linux-6.12.1/drivers/target/tcm_fc/ |
D | tfc_conf.c | 206 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()
|
D | tcm_fc.h | 21 __u8 wwpn[8]; member 96 u64 wwpn; member
|
/linux-6.12.1/drivers/s390/scsi/ |
D | zfcp_aux.c | 58 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 …]
|
D | zfcp_fsf.c | 1601 zfcp_dbf_hba_fsf_fces("fsfcesp", req, port->wwpn, in zfcp_fsf_log_port_fc_security() 1622 port->wwpn, mnemonic_new); in zfcp_fsf_log_port_fc_security() 1627 port->wwpn, mnemonic_old); in zfcp_fsf_log_port_fc_security() 1632 port->wwpn, mnemonic_old, mnemonic_new); in zfcp_fsf_log_port_fc_security() 1640 u64 wwpn) in zfcp_fsf_log_security_error() argument 1651 wwpn); in zfcp_fsf_log_security_error() 1656 wwpn); in zfcp_fsf_log_security_error() 1661 wwpn); in zfcp_fsf_log_security_error() 1666 wwpn); in zfcp_fsf_log_security_error() 1671 wwpn); in zfcp_fsf_log_security_error() [all …]
|
D | zfcp_fc.c | 302 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()
|
D | zfcp_dbf.h | 85 u64 wwpn; member 175 u64 wwpn; member
|
/linux-6.12.1/drivers/scsi/csiostor/ |
D | csio_rnode.c | 145 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 …]
|
D | csio_attr.c | 485 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()
|
D | csio_lnode.h | 126 uint8_t wwpn[8]; /* WWPN */ member 195 #define csio_ln_wwpn(ln) ((ln)->ln_sparm.wwpn)
|
/linux-6.12.1/drivers/scsi/lpfc/ |
D | lpfc_nl.h | 70 uint8_t wwpn[8]; member 99 uint8_t wwpn[8]; member 122 uint8_t wwpn[8]; member
|
/linux-6.12.1/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 231 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()
|
/linux-6.12.1/drivers/scsi/elx/efct/ |
D | efct_lio.c | 54 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() 714 static struct efct *efct_find_wwpn(u64 wwpn) in efct_find_wwpn() argument 721 if (wwpn == efct_get_wwpn(&efct->hw)) in efct_find_wwpn() 735 u64 wwpn; in efct_lio_make_nport() local 737 ret = efct_lio_parse_wwn(name, &wwpn, 0); in efct_lio_make_nport() 741 efct = efct_find_wwpn(wwpn); in efct_lio_make_nport() 752 lio_nport->wwpn = wwpn; in efct_lio_make_nport() 754 "naa.", wwpn); in efct_lio_make_nport() [all …]
|
D | efct_lio.h | 135 u64 wwpn; member 148 u64 wwpn; member
|
/linux-6.12.1/drivers/scsi/libfc/ |
D | fc_encode.h | 55 put_unaligned_be64(lport->wwpn, &adisc->adisc_wwpn); in fc_adisc_fill() 232 put_unaligned_be64(lport->wwpn, &ct->payload.rhba.hbaid.id); in fc_ct_ms_fill() 236 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill() 490 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill() 597 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill() 696 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill() 704 put_unaligned_be64(lport->wwpn, &ct->payload.dhba.hbaid.id); in fc_ct_ms_fill() 757 put_unaligned_be64(lport->wwpn, &plogi->fl_wwpn); in fc_plogi_fill() 789 put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); in fc_flogi_fill() 814 put_unaligned_be64(lport->wwpn, &fdisc->fl_wwpn); in fc_fdisc_fill() [all …]
|
/linux-6.12.1/include/scsi/ |
D | libfc.h | 734 u64 wwpn; member 820 static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwpn) in fc_set_wwpn() argument 822 lport->wwpn = wwpn; in fc_set_wwpn()
|
/linux-6.12.1/drivers/scsi/ibmvscsi/ |
D | ibmvfc.h | 252 __be64 wwpn; member 318 __be64 wwpn; member 368 __be64 wwpn; member 684 volatile __be64 wwpn; member 729 u64 wwpn; member
|
/linux-6.12.1/drivers/scsi/cxlflash/ |
D | vlun.h | 68 u64 wwpn; member
|
/linux-6.12.1/drivers/scsi/bfa/ |
D | bfad_im.c | 452 wwn_t wwpn; in bfa_fcb_itnim_free() local 468 wwpn = bfa_fcs_itnim_get_pwwn(&itnim_drv->fcs_itnim); in bfa_fcb_itnim_free() 470 wwn2str(wwpn_str, wwpn); in bfa_fcb_itnim_free() 1112 wwn_t wwpn; in bfad_im_itnim_work_handler() local 1125 wwpn = bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim); in bfad_im_itnim_work_handler() 1127 wwn2str(wwpn_str, wwpn); in bfad_im_itnim_work_handler() 1159 wwpn = bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim); in bfad_im_itnim_work_handler() 1161 wwn2str(wwpn_str, wwpn); in bfad_im_itnim_work_handler()
|
/linux-6.12.1/drivers/nvme/target/ |
D | fcloop.c | 29 u64 wwpn; member 91 opts->wwpn = token64; in fcloop_parse_options() 496 fcloop_t2h_host_traddr(void *hosthandle, u64 *wwnn, u64 *wwpn) in fcloop_t2h_host_traddr() argument 501 *wwpn = rport->lport->localport->port_name; in fcloop_t2h_host_traddr() 1131 pinfo.port_name = opts->wwpn; in fcloop_create_local_port() 1247 newnport->port_name = opts->wwpn; in fcloop_alloc_nport() 1258 tmplport->localport->port_name == opts->wwpn) in fcloop_alloc_nport() 1274 nport->port_name == opts->wwpn) { in fcloop_alloc_nport()
|
/linux-6.12.1/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 134 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() 1588 u64 wwpn; in tcm_qla2xxx_make_lport() local 1591 if (tcm_qla2xxx_parse_wwn(name, &wwpn, 1) < 0) in tcm_qla2xxx_make_lport() 1599 lport->lport_wwpn = wwpn; in tcm_qla2xxx_make_lport() 1601 wwpn); in tcm_qla2xxx_make_lport() 1602 sprintf(lport->lport_naa_name, "naa.%016llx", (unsigned long long) wwpn); in tcm_qla2xxx_make_lport() 1608 ret = qlt_lport_register(lport, wwpn, 0, 0, in tcm_qla2xxx_make_lport()
|