/Linux-v4.19/drivers/target/tcm_fc/ |
D | tfc_conf.c | 214 u64 wwpn; in ft_init_nodeacl() local 216 if (ft_parse_wwn(name, &wwpn, 1) < 0) in ft_init_nodeacl() 219 acl->node_auth.port_name = wwpn; in ft_init_nodeacl() 318 if (ft_wwn->wwpn == lport->wwpn) in ft_lport_find_tpg() 339 u64 wwpn; in ft_add_wwn() local 342 if (ft_parse_wwn(name, &wwpn, 1) < 0) in ft_add_wwn() 347 ft_wwn->wwpn = wwpn; in ft_add_wwn() 351 if (old_ft_wwn->wwpn == wwpn) { in ft_add_wwn() 358 ft_format_wwn(ft_wwn->name, sizeof(ft_wwn->name), wwpn); in ft_add_wwn()
|
D | tcm_fc.h | 33 __u8 wwpn[8]; member 108 u64 wwpn; member
|
/Linux-v4.19/drivers/s390/scsi/ |
D | zfcp_aux.c | 56 static void __init zfcp_init_device_configure(char *busid, u64 wwpn, u64 lun) in zfcp_init_device_configure() argument 73 port = zfcp_get_port_by_wwpn(adapter, wwpn); in zfcp_init_device_configure() 93 u64 wwpn, lun; in zfcp_init_device_setup() local 107 if (!token || kstrtoull(token, 0, (unsigned long long *) &wwpn)) in zfcp_init_device_setup() 115 zfcp_init_device_configure(busid, wwpn, lun); in zfcp_init_device_setup() 185 u64 wwpn) in zfcp_get_port_by_wwpn() argument 192 if (port->wwpn == wwpn) { in zfcp_get_port_by_wwpn() 484 struct zfcp_port *zfcp_port_enqueue(struct zfcp_adapter *adapter, u64 wwpn, in zfcp_port_enqueue() argument 492 port = zfcp_get_port_by_wwpn(adapter, wwpn); in zfcp_port_enqueue() 513 port->wwpn = wwpn; in zfcp_port_enqueue() [all …]
|
D | zfcp_fc.c | 278 static void zfcp_fc_incoming_wwpn(struct zfcp_fsf_req *req, u64 wwpn) in zfcp_fc_incoming_wwpn() argument 286 if (port->wwpn == wwpn) { in zfcp_fc_incoming_wwpn() 380 gid_pn_req->gid_pn.fn_wwpn = cpu_to_be64(port->wwpn); in zfcp_fc_ns_gid_pn_request() 427 set_worker_desc("zgidpn%16llx", port->wwpn); /* < WORKER_DESC_LEN=24 */ in zfcp_fc_port_did_lookup() 465 if (be64_to_cpu(plogi->fl_wwpn) != port->wwpn) { in zfcp_fc_plogi_evaluate() 470 (unsigned long long) port->wwpn, in zfcp_fc_plogi_evaluate() 504 if ((port->wwpn != be64_to_cpu(adisc_resp->adisc_wwpn)) || in zfcp_fc_adisc_handler() 562 set_worker_desc("zadisc%16llx", port->wwpn); /* < WORKER_DESC_LEN=24 */ in zfcp_fc_link_test_work()
|
D | zfcp_sysfs.c | 245 u64 wwpn; in zfcp_sysfs_port_remove_store() local 251 if (kstrtoull(buf, 0, (unsigned long long *) &wwpn)) in zfcp_sysfs_port_remove_store() 254 port = zfcp_get_port_by_wwpn(adapter, wwpn); in zfcp_sysfs_port_remove_store() 449 ZFCP_DEFINE_SCSI_ATTR(wwpn, "0x%016llx\n", 450 (unsigned long long) zfcp_sdev->port->wwpn);
|
D | zfcp_def.h | 209 u64 wwpn; /* WWPN */ member
|
D | zfcp_scsi.c | 689 ids.port_name = port->wwpn; in zfcp_scsi_rport_register() 700 (unsigned long long)port->wwpn); in zfcp_scsi_rport_register() 764 port->wwpn); /* < WORKER_DESC_LEN=24 */ in zfcp_scsi_rport_work()
|
/Linux-v4.19/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 | 139 uint8_t wwpn[8]; /* WWPN */ member 208 #define csio_ln_wwpn(ln) ((ln)->ln_sparm.wwpn)
|
D | csio_rnode.h | 121 #define csio_rn_wwpn(rn) ((rn)->rn_sparm.wwpn)
|
/Linux-v4.19/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-v4.19/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 242 u8 wwpn[8]; in fcoe_wwn_to_str() local 244 u64_to_wwn(wwn, wwpn); in fcoe_wwn_to_str() 246 wwpn[0], wwpn[1], wwpn[2], wwpn[3], in fcoe_wwn_to_str() 247 wwpn[4], wwpn[5], wwpn[6], wwpn[7]); in fcoe_wwn_to_str() 272 if (!memcmp(&n_port->wwpn, &vport->port_name, sizeof(u64))) { in fcoe_validate_vport_create() 281 if (!memcmp(&vn_port->wwpn, &vport->port_name, sizeof(u64))) { in fcoe_validate_vport_create()
|
/Linux-v4.19/include/scsi/ |
D | fc_encode.h | 95 put_unaligned_be64(lport->wwpn, &adisc->adisc_wwpn); in fc_adisc_fill() 246 put_unaligned_be64(lport->wwpn, &ct->payload.rhba.hbaid.id); in fc_ct_ms_fill() 250 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill() 392 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill() 482 put_unaligned_be64(lport->wwpn, in fc_ct_ms_fill() 490 put_unaligned_be64(lport->wwpn, &ct->payload.dhba.hbaid.id); in fc_ct_ms_fill() 543 put_unaligned_be64(lport->wwpn, &plogi->fl_wwpn); in fc_plogi_fill() 575 put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); in fc_flogi_fill() 600 put_unaligned_be64(lport->wwpn, &fdisc->fl_wwpn); in fc_fdisc_fill() 622 logo->fl_n_port_wwn = htonll(lport->wwpn); in fc_logo_fill()
|
D | libfc.h | 731 u64 wwpn; member 815 static inline void fc_set_wwpn(struct fc_lport *lport, u64 wwpn) in fc_set_wwpn() argument 817 lport->wwpn = wwpn; in fc_set_wwpn()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | ipl.h | 48 u64 wwpn; member 112 u64 wwpn; member
|
/Linux-v4.19/drivers/scsi/cxlflash/ |
D | vlun.h | 72 u64 wwpn; member
|
D | main.c | 1191 u64 wwpn) in afu_set_wwpn() argument 1203 writeq_be(wwpn, &fc_regs[FC_PNAME / 8]); in afu_set_wwpn() 1630 static int read_vpd(struct cxlflash_cfg *cfg, u64 wwpn[]) in read_vpd() argument 1695 wwpn[k] = 0ULL; in read_vpd() 1709 rc = kstrtoul(tmp_buf, WWPN_LEN, (ulong *)&wwpn[k]); in read_vpd() 1717 dev_dbg(dev, "%s: wwpn%d=%016llx\n", __func__, k, wwpn[k]); in read_vpd() 1774 u64 wwpn[MAX_FC_PORTS]; /* wwpn of AFU ports */ in init_global() local 1781 rc = read_vpd(cfg, &wwpn[0]); in init_global() 1832 if (wwpn[i] != 0) in init_global() 1833 afu_set_wwpn(afu, i, &fc_port_regs[0], wwpn[i]); in init_global()
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfad_im.c | 461 wwn_t wwpn; in bfa_fcb_itnim_free() local 477 wwpn = bfa_fcs_itnim_get_pwwn(&itnim_drv->fcs_itnim); in bfa_fcb_itnim_free() 479 wwn2str(wwpn_str, wwpn); in bfa_fcb_itnim_free() 1123 wwn_t wwpn; in bfad_im_itnim_work_handler() local 1136 wwpn = bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim); in bfad_im_itnim_work_handler() 1138 wwn2str(wwpn_str, wwpn); in bfad_im_itnim_work_handler() 1170 wwpn = bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim); in bfad_im_itnim_work_handler() 1172 wwn2str(wwpn_str, wwpn); in bfad_im_itnim_work_handler()
|
/Linux-v4.19/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 153 u64 *wwpn, in tcm_qla2xxx_npiv_parse_wwn() argument 159 *wwpn = 0; in tcm_qla2xxx_npiv_parse_wwn() 170 rc = tcm_qla2xxx_npiv_extract_wwn(&name[0], wwpn); in tcm_qla2xxx_npiv_parse_wwn() 1693 u64 wwpn; in tcm_qla2xxx_make_lport() local 1696 if (tcm_qla2xxx_parse_wwn(name, &wwpn, 1) < 0) in tcm_qla2xxx_make_lport() 1704 lport->lport_wwpn = wwpn; in tcm_qla2xxx_make_lport() 1706 wwpn); in tcm_qla2xxx_make_lport() 1707 sprintf(lport->lport_naa_name, "naa.%016llx", (unsigned long long) wwpn); in tcm_qla2xxx_make_lport() 1713 ret = qlt_lport_register(lport, wwpn, 0, 0, in tcm_qla2xxx_make_lport()
|
D | qla_bsg.h | 168 uint8_t wwpn[8]; member
|
/Linux-v4.19/arch/s390/kernel/ |
D | ipl.c | 427 DEFINE_IPL_ATTR_RO(ipl_fcp, wwpn, "0x%016llx\n", 428 (unsigned long long)ipl_block.ipl_info.fcp.wwpn); 684 DEFINE_IPL_ATTR_RW(reipl_fcp, wwpn, "0x%016llx\n", "%llx\n", 685 reipl_block_fcp->ipl_info.fcp.wwpn); 1164 DEFINE_IPL_ATTR_RW(dump_fcp, wwpn, "0x%016llx\n", "%llx\n", 1165 dump_block_fcp->ipl_info.fcp.wwpn); 1759 ipl_info.data.fcp.wwpn = ipl_block.ipl_info.fcp.wwpn; in setup_ipl()
|
/Linux-v4.19/drivers/nvme/target/ |
D | fcloop.c | 40 u64 wwpn; member 89 opts->wwpn = token64; in fcloop_parse_options() 894 pinfo.port_name = opts->wwpn; in fcloop_create_local_port() 1009 newnport->port_name = opts->wwpn; in fcloop_alloc_nport() 1020 tmplport->localport->port_name == opts->wwpn) in fcloop_alloc_nport() 1036 nport->port_name == opts->wwpn) { in fcloop_alloc_nport()
|
/Linux-v4.19/include/linux/qed/ |
D | qed_fcoe_if.h | 29 u64 wwpn; member
|
/Linux-v4.19/drivers/scsi/libfc/ |
D | fc_lport.c | 367 put_unaligned_be64(lport->wwpn, &flogi->fl_wwpn); in fc_lport_flogi_fill() 496 rp->cid.rnid_wwpn = htonll(lport->wwpn); in fc_lport_recv_rnid_req() 819 if (remote_wwpn == lport->wwpn) { in fc_lport_recv_flogi_req() 833 if (remote_wwpn < lport->wwpn) { in fc_lport_recv_flogi_req() 1854 fc_host_port_name(lport->host) = lport->wwpn; in fc_lport_init()
|