Searched defs:wwn (Results 1 - 25 of 28) sorted by relevance

12

/drivers/scsi/lpfc/
H A Dlpfc_vport.c179 lpfc_valid_wwn_format(struct lpfc_hba *phba, struct lpfc_name *wwn, argument
185 if (!((wwn->u.wwn[0] >> 4) == 1 &&
186 ((wwn->u.wwn[0] & 0xf) != 0 || (wwn->u.wwn[1] & 0xf) != 0)))
193 wwn->u.wwn[0], wwn
[all...]
H A Dlpfc_ct.c1055 uint8_t *wwn = vport->phba->wwpn; local
1059 wwn[0], wwn[1], wwn[2], wwn[3],
1060 wwn[4], wwn[5], wwn[6], wwn[7]);
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_fcoe.c840 * @wwn : the world wide name
844 * mac address are valid, then the wwn is formed based on the NAA-2 for
849 int ixgbe_fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) argument
869 *wwn = ((u64) prefix << 48) |
/drivers/scsi/fcoe/
H A Dfcoe_transport.c115 void fcoe_wwn_to_str(u64 wwn, char *buf, int len) argument
119 u64_to_wwn(wwn, wwpn);
172 * @wwn: the output WWN
177 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) argument
182 return ops->ndo_fcoe_get_wwn(netdev, wwn, type);
H A Dfcoe_ctlr.c778 struct fip_wwn_desc *wwn; local
839 wwn = (struct fip_wwn_desc *)desc;
840 fcf->switch_name = get_unaligned_be64(&wwn->fd_wwn);
1805 u64 wwn; local
1817 wwn = host_mac | ((u64) scheme << 60);
1824 wwn |= (u64) port << 48;
1831 return wwn;
2096 struct fip_wwn_desc *wwn = NULL; local
2170 wwn = (struct fip_wwn_desc *)desc;
2171 rdata->ids.node_name = get_unaligned_be64(&wwn
[all...]
/drivers/target/tcm_fc/
H A Dtfc_conf.c64 * so the name and wwn are mapped one-to-one.
66 static ssize_t ft_parse_wwn(const char *name, u64 *wwn, int strict) argument
75 *wwn = 0;
97 *wwn = (*wwn << 4) | val;
106 ssize_t ft_format_wwn(char *buf, size_t len, u64 wwn) argument
110 put_unaligned_be64(wwn, b);
118 u64 *wwn = arg; local
121 len = ft_format_wwn(buf, PAGE_SIZE - 2, *wwn);
129 u64 wwn; local
296 ft_add_tpg( struct se_wwn *wwn, struct config_group *group, const char *name) argument
433 ft_del_lport(struct se_wwn *wwn) argument
[all...]
/drivers/scsi/bfa/
H A Dbfa_cs.h328 wwn2str(char *wwn_str, u64 wwn) argument
331 u64 wwn; member in union:__anon4172
335 w.wwn = wwn;
H A Dbfad_drv.h180 wwn_t wwn[BFA_FCS_MAX_LPORTS]; member in union:bfad_tmp_buf
H A Dbfa_fcbuild.c1404 fc_gmal_req_build(struct fchs_s *fchs, void *pyld, u32 s_id, wwn_t wwn) argument
1415 gmal->wwn = wwn;
1424 fc_gfn_req_build(struct fchs_s *fchs, void *pyld, u32 s_id, wwn_t wwn) argument
1435 gfn->wwn = wwn;
H A Dbfa_fcs_lport.c4847 bfa_fcs_lport_get_rport(struct bfa_fcs_lport_s *port, wwn_t wwn, int index, argument
4876 if (!memcmp(&wwn, &rport->pwwn, 8))
H A Dbfi_ms.h73 * Boot target wwn information for this port. This contains either the stored
77 wwn_t wwn[BFA_BOOT_BOOTLUN_MAX]; member in struct:bfi_iocfc_bootwwns
264 wwn_t nwwn; /* node wwn of physical port */
265 wwn_t pwwn; /* port wwn of physical port */
H A Dbfa_defs_svc.h867 wwn_t nwwn; /* node wwn */
868 wwn_t pwwn; /* port wwn */
869 wwn_t factorynwwn; /* factory node wwn */
870 wwn_t factorypwwn; /* factory port wwn */
926 wwn_t wwn; member in struct:bfa_port_rnid_s
1098 wwn_t nwwn; /* node wwn */
1099 wwn_t pwwn; /* port wwn */
/drivers/target/
H A Dtarget_core_fabric_configfs.c979 struct se_wwn *wwn = se_tpg->se_tpg_wwn; local
980 struct target_fabric_configfs *tf = wwn->wwn_tf;
1001 struct se_wwn *wwn = container_of(group, struct se_wwn, wwn_group); local
1002 struct target_fabric_configfs *tf = wwn->wwn_tf;
1010 se_tpg = tf->tf_ops.fabric_make_tpg(wwn, group, name);
1064 struct se_wwn *wwn = container_of(to_config_group(item), local
1066 struct target_fabric_configfs *tf = wwn->wwn_tf;
1068 tf->tf_ops.fabric_drop_wwn(wwn);
1102 struct se_wwn *wwn; local
1109 wwn
1133 struct se_wwn *wwn = container_of(to_config_group(item), local
[all...]
H A Dtarget_core_pscsi.c176 pscsi_set_inquiry_info(struct scsi_device *sdev, struct t10_wwn *wwn) argument
189 memcpy(&wwn->vendor[0], &buf[8], sizeof(wwn->vendor));
190 memcpy(&wwn->model[0], &buf[16], sizeof(wwn->model));
191 memcpy(&wwn->revision[0], &buf[32], sizeof(wwn->revision));
195 pscsi_get_inquiry_vpd_serial(struct scsi_device *sdev, struct t10_wwn *wwn) argument
216 snprintf(&wwn->unit_serial[0], INQUIRY_VPD_SERIAL_LEN, "%s", &buf[4]);
218 wwn
229 pscsi_get_inquiry_vpd_device_ident(struct scsi_device *sdev, struct t10_wwn *wwn) argument
[all...]
H A Dtarget_core_alua.c734 struct t10_wwn *wwn = &su_dev->t10_wwn; local
748 "/var/target/alua/tpgs_%s/%s", &wwn->unit_serial[0],
998 char path[ALUA_METADATA_PATH_LEN], wwn[ALUA_SECONDARY_METADATA_WWN_LEN]; local
1002 memset(wwn, 0, ALUA_SECONDARY_METADATA_WWN_LEN);
1004 len = snprintf(wwn, ALUA_SECONDARY_METADATA_WWN_LEN, "%s",
1008 snprintf(wwn+len, ALUA_SECONDARY_METADATA_WWN_LEN-len, "+%hu",
1017 se_tpg->se_tpg_tfo->get_fabric_name(), wwn,
H A Dtarget_core_pr.c2019 struct t10_wwn *wwn = &dev->se_sub_dev->t10_wwn; local
2030 if (strlen(&wwn->unit_serial[0]) >= 512) {
2036 snprintf(path, 512, "/var/target/pr/aptpl_%s", &wwn->unit_serial[0]);
H A Dtarget_core_stat.c1155 struct t10_wwn *wwn; local
1165 wwn = &dev->se_sub_dev->t10_wwn;
1169 (strlen(wwn->unit_serial)) ? wwn->unit_serial :
1170 wwn->vendor);
H A Dtarget_core_transport.c1282 struct t10_wwn *wwn = &dev->se_sub_dev->t10_wwn; local
1289 if (wwn->vendor[i] >= 0x20)
1290 buf[i] = wwn->vendor[i];
1297 if (wwn->model[i] >= 0x20)
1298 buf[i] = wwn->model[i];
1305 if (wwn->revision[i] >= 0x20)
1306 buf[i] = wwn->revision[i];
/drivers/target/iscsi/
H A Discsi_target_stat.c727 struct se_wwn *wwn = acl->se_node_acl.se_tpg->se_tpg_wwn; local
728 struct iscsi_tiqn *tiqn = container_of(wwn,
H A Discsi_target_configfs.c1192 struct se_wwn *wwn,
1202 tiqn = container_of(wwn, struct iscsi_tiqn, tiqn_wwn);
1222 wwn, &tpg->tpg_se_tpg, tpg,
1322 struct se_wwn *wwn)
1324 struct iscsi_tiqn *tiqn = container_of(wwn, struct iscsi_tiqn, tiqn_wwn);
1191 lio_target_tiqn_addtpg( struct se_wwn *wwn, struct config_group *group, const char *name) argument
1321 lio_target_call_coredeltiqn( struct se_wwn *wwn) argument
/drivers/target/loopback/
H A Dtcm_loop.c1131 struct se_wwn *wwn,
1135 struct tcm_loop_hba *tl_hba = container_of(wwn,
1163 wwn, &tl_tpg->tl_se_tpg, tl_tpg,
1170 config_item_name(&wwn->wwn_group.cg_item), tpgt);
1178 struct se_wwn *wwn = se_tpg->se_tpg_wwn; local
1200 config_item_name(&wwn->wwn_group.cg_item), tpgt);
1278 struct se_wwn *wwn)
1280 struct tcm_loop_hba *tl_hba = container_of(wwn,
1130 tcm_loop_make_naa_tpg( struct se_wwn *wwn, struct config_group *group, const char *name) argument
1277 tcm_loop_drop_scsi_hba( struct se_wwn *wwn) argument
/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c3846 static struct se_portal_group *srpt_make_tpg(struct se_wwn *wwn, argument
3850 struct srpt_port *sport = container_of(wwn, struct srpt_port, port_wwn);
3902 static void srpt_drop_tport(struct se_wwn *wwn) argument
3904 struct srpt_port *sport = container_of(wwn, struct srpt_port, port_wwn);
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c3499 int bnx2x_fcoe_get_wwn(struct net_device *dev, u64 *wwn, int type) argument
3506 *wwn = HILO_U64(cp->fcoe_wwn_node_name_hi,
3510 *wwn = HILO_U64(cp->fcoe_wwn_port_name_hi,
/drivers/scsi/
H A Dscsi_transport_fc.c1803 u8 wwn[8]; local
1805 memset(wwn, 0, sizeof(wwn));
1817 wwn[i/2] = j & 0xff;
1822 *nm = wwn_to_u64(wwn);
2686 * of a remote port. The LLDD provides the unique identifiers (wwpn,wwn)
H A Dgdth.h408 char wwn[8]; /* world wide name */ member in struct:__anon4280

Completed in 395 milliseconds

12