/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_vport.c | 179 lpfc_valid_wwn_format(struct lpfc_hba *phba, struct lpfc_name *wwn, in lpfc_valid_wwn_format() argument 185 if (!((wwn->u.wwn[0] >> 4) == 1 && in lpfc_valid_wwn_format() 186 ((wwn->u.wwn[0] & 0xf) != 0 || (wwn->u.wwn[1] & 0xf) != 0))) in lpfc_valid_wwn_format() 193 wwn->u.wwn[0], wwn->u.wwn[1], in lpfc_valid_wwn_format() 194 wwn->u.wwn[2], wwn->u.wwn[3], in lpfc_valid_wwn_format() 195 wwn->u.wwn[4], wwn->u.wwn[5], in lpfc_valid_wwn_format() 196 wwn->u.wwn[6], wwn->u.wwn[7]); in lpfc_valid_wwn_format() 360 u64_to_wwn(fc_vport->node_name, vport->fc_nodename.u.wwn); in lpfc_vport_create() 361 u64_to_wwn(fc_vport->port_name, vport->fc_portname.u.wwn); in lpfc_vport_create() 363 memcpy(&vport->fc_sparam.portName, vport->fc_portname.u.wwn, 8); in lpfc_vport_create() [all …]
|
D | lpfc_nportdisc.c | 156 sp->nodeName.u.wwn[0], sp->nodeName.u.wwn[1], in lpfc_check_sparm() 157 sp->nodeName.u.wwn[2], sp->nodeName.u.wwn[3], in lpfc_check_sparm() 158 sp->nodeName.u.wwn[4], sp->nodeName.u.wwn[5], in lpfc_check_sparm() 159 sp->nodeName.u.wwn[6], sp->nodeName.u.wwn[7]); in lpfc_check_sparm() 318 if (wwn_to_u64(sp->portName.u.wwn) == 0) { in lpfc_rcv_plogi() 327 if (wwn_to_u64(sp->nodeName.u.wwn) == 0) { in lpfc_rcv_plogi() 337 nlp_portwwn = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_rcv_plogi() 389 nlp_portwwn != wwn_to_u64(sp->portName.u.wwn)) in lpfc_rcv_plogi() 396 wwn_to_u64(sp->portName.u.wwn)); in lpfc_rcv_plogi() 1063 (wwn_to_u64(sp->portName.u.wwn) == 0 || in lpfc_cmpl_plogi_plogi_issue() [all …]
|
D | lpfc_mbox.c | 887 memcpy(mb->un.varRegVpi.wwn, &vport->fc_portname, in lpfc_reg_vpi() 889 mb->un.varRegVpi.wwn[0] = cpu_to_le32(mb->un.varRegVpi.wwn[0]); in lpfc_reg_vpi() 890 mb->un.varRegVpi.wwn[1] = cpu_to_le32(mb->un.varRegVpi.wwn[1]); in lpfc_reg_vpi() 2140 memcpy(reg_vfi->wwn, &vport->fc_portname, sizeof(struct lpfc_name)); in lpfc_reg_vfi() 2141 reg_vfi->wwn[0] = cpu_to_le32(reg_vfi->wwn[0]); in lpfc_reg_vfi() 2142 reg_vfi->wwn[1] = cpu_to_le32(reg_vfi->wwn[1]); in lpfc_reg_vfi() 2166 reg_vfi->wwn[0], reg_vfi->wwn[1], vport->fc_flag, in lpfc_reg_vfi()
|
D | lpfc_ct.c | 1048 uint8_t *wwn = vport->phba->wwpn; in lpfc_vport_symbolic_port_name() local 1052 wwn[0], wwn[1], wwn[2], wwn[3], in lpfc_vport_symbolic_port_name() 1053 wwn[4], wwn[5], wwn[6], wwn[7]); in lpfc_vport_symbolic_port_name()
|
D | lpfc_attr.c | 2099 lpfc_wwn_set(const char *buf, size_t cnt, char wwn[]) in lpfc_wwn_set() argument 2111 memset(wwn, 0, WWN_SZ); in lpfc_wwn_set() 2124 wwn[i/2] = j & 0xff; in lpfc_wwn_set() 3647 ndlp->nlp_portname.u.wwn[0], in sysfs_drvr_stat_data_read() 3648 ndlp->nlp_portname.u.wwn[1], in sysfs_drvr_stat_data_read() 3649 ndlp->nlp_portname.u.wwn[2], in sysfs_drvr_stat_data_read() 3650 ndlp->nlp_portname.u.wwn[3], in sysfs_drvr_stat_data_read() 3651 ndlp->nlp_portname.u.wwn[4], in sysfs_drvr_stat_data_read() 3652 ndlp->nlp_portname.u.wwn[5], in sysfs_drvr_stat_data_read() 3653 ndlp->nlp_portname.u.wwn[6], in sysfs_drvr_stat_data_read() [all …]
|
D | lpfc_hw.h | 341 uint8_t wwn[8]; member 2388 uint32_t wwn[2]; member 2397 uint32_t wwn[2];
|
D | lpfc_init.c | 334 vport->fc_sparam.nodeName.u.wwn); in lpfc_update_vport_wwn() 337 vport->fc_sparam.portName.u.wwn); in lpfc_update_vport_wwn() 343 if (vport->fc_nodename.u.wwn[0] == 0 || vport->phba->cfg_soft_wwnn) in lpfc_update_vport_wwn() 350 if (vport->fc_portname.u.wwn[0] == 0 || vport->phba->cfg_soft_wwpn) in lpfc_update_vport_wwn() 430 fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_config_port_post() 431 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_config_port_post() 3480 fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_host_attrib_init() 3481 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_host_attrib_init()
|
D | lpfc_scsi.c | 1347 if (phba->lpfc_injerr_wwpn.u.wwn[0] && in lpfc_bg_err_inject() 5413 u64_to_wwn(rport->port_name, target_wwpn.u.wwn); in lpfc_slave_alloc() 5712 if (((wwn_to_u64(vport_wwpn->u.wwn) == 0) || in lpfc_find_next_oas_lun() 5715 ((wwn_to_u64(target_wwpn->u.wwn) == 0) || in lpfc_find_next_oas_lun()
|
D | lpfc_hbadisc.c | 152 if (rport->port_name != wwn_to_u64(ndlp->nlp_portname.u.wwn)) { in lpfc_dev_loss_tmo_callbk() 157 ndlp->nlp_portname.u.wwn)); in lpfc_dev_loss_tmo_callbk() 3909 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port() 3910 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
|
D | lpfc_hw4.h | 1985 uint32_t wwn[2]; member
|
D | lpfc_sli.c | 6491 fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_sli4_hba_setup() 6492 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_sli4_hba_setup()
|
/linux-4.1.27/drivers/target/tcm_fc/ |
D | tfc_conf.c | 66 static ssize_t ft_parse_wwn(const char *name, u64 *wwn, int strict) in ft_parse_wwn() argument 75 *wwn = 0; in ft_parse_wwn() 97 *wwn = (*wwn << 4) | val; in ft_parse_wwn() 106 ssize_t ft_format_wwn(char *buf, size_t len, u64 wwn) in ft_format_wwn() argument 110 put_unaligned_be64(wwn, b); in ft_format_wwn() 118 u64 *wwn = arg; in ft_wwn_show() local 121 len = ft_format_wwn(buf, PAGE_SIZE - 2, *wwn); in ft_wwn_show() 129 u64 wwn; in ft_wwn_store() local 131 ret = ft_parse_wwn(buf, &wwn, 0); in ft_wwn_store() 133 *(u64 *)arg = wwn; in ft_wwn_store() [all …]
|
/linux-4.1.27/include/scsi/ |
D | scsi_transport_fc.h | 798 static inline u64 wwn_to_u64(u8 *wwn) in wwn_to_u64() argument 800 return (u64)wwn[0] << 56 | (u64)wwn[1] << 48 | in wwn_to_u64() 801 (u64)wwn[2] << 40 | (u64)wwn[3] << 32 | in wwn_to_u64() 802 (u64)wwn[4] << 24 | (u64)wwn[5] << 16 | in wwn_to_u64() 803 (u64)wwn[6] << 8 | (u64)wwn[7]; in wwn_to_u64() 806 static inline void u64_to_wwn(u64 inm, u8 *wwn) in u64_to_wwn() argument 808 wwn[0] = (inm >> 56) & 0xff; in u64_to_wwn() 809 wwn[1] = (inm >> 48) & 0xff; in u64_to_wwn() 810 wwn[2] = (inm >> 40) & 0xff; in u64_to_wwn() 811 wwn[3] = (inm >> 32) & 0xff; in u64_to_wwn() [all …]
|
D | libfcoe.h | 263 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type); 266 void fcoe_wwn_to_str(u64 wwn, char *buf, int len);
|
/linux-4.1.27/drivers/target/ |
D | target_core_fabric_configfs.c | 1023 struct se_wwn *wwn = se_tpg->se_tpg_wwn; in target_fabric_tpg_release() local 1024 struct target_fabric_configfs *tf = wwn->wwn_tf; in target_fabric_tpg_release() 1045 struct se_wwn *wwn = container_of(group, struct se_wwn, wwn_group); in target_fabric_make_tpg() local 1046 struct target_fabric_configfs *tf = wwn->wwn_tf; in target_fabric_make_tpg() 1054 se_tpg = tf->tf_ops.fabric_make_tpg(wwn, group, name); in target_fabric_make_tpg() 1111 struct se_wwn *wwn = container_of(to_config_group(item), in target_fabric_release_wwn() local 1113 struct target_fabric_configfs *tf = wwn->wwn_tf; in target_fabric_release_wwn() 1115 tf->tf_ops.fabric_drop_wwn(wwn); in target_fabric_release_wwn() 1149 struct se_wwn *wwn; in target_fabric_make_wwn() local 1156 wwn = tf->tf_ops.fabric_make_wwn(tf, group, name); in target_fabric_make_wwn() [all …]
|
D | target_core_pscsi.c | 183 pscsi_set_inquiry_info(struct scsi_device *sdev, struct t10_wwn *wwn) in pscsi_set_inquiry_info() argument 196 memcpy(&wwn->vendor[0], &buf[8], sizeof(wwn->vendor)); in pscsi_set_inquiry_info() 197 memcpy(&wwn->model[0], &buf[16], sizeof(wwn->model)); in pscsi_set_inquiry_info() 198 memcpy(&wwn->revision[0], &buf[32], sizeof(wwn->revision)); in pscsi_set_inquiry_info() 202 pscsi_get_inquiry_vpd_serial(struct scsi_device *sdev, struct t10_wwn *wwn) in pscsi_get_inquiry_vpd_serial() argument 223 snprintf(&wwn->unit_serial[0], INQUIRY_VPD_SERIAL_LEN, "%s", &buf[4]); in pscsi_get_inquiry_vpd_serial() 225 wwn->t10_dev->dev_flags |= DF_FIRMWARE_VPD_UNIT_SERIAL; in pscsi_get_inquiry_vpd_serial() 237 struct t10_wwn *wwn) in pscsi_get_inquiry_vpd_device_ident() argument 296 list_add_tail(&vpd->vpd_list, &wwn->t10_vpd_list); in pscsi_get_inquiry_vpd_device_ident()
|
D | target_core_device.c | 1437 struct t10_wwn *wwn = &dev->t10_wwn; in scsi_dump_inquiry() local 1444 if (wwn->vendor[i] >= 0x20) in scsi_dump_inquiry() 1445 buf[i] = wwn->vendor[i]; in scsi_dump_inquiry() 1452 if (wwn->model[i] >= 0x20) in scsi_dump_inquiry() 1453 buf[i] = wwn->model[i]; in scsi_dump_inquiry() 1460 if (wwn->revision[i] >= 0x20) in scsi_dump_inquiry() 1461 buf[i] = wwn->revision[i]; in scsi_dump_inquiry()
|
D | target_core_alua.c | 940 struct t10_wwn *wwn = &tg_pt_gp->tg_pt_gp_dev->t10_wwn; in core_alua_update_tpg_primary_metadata() local 961 "/var/target/alua/tpgs_%s/%s", &wwn->unit_serial[0], in core_alua_update_tpg_primary_metadata() 1264 char path[ALUA_METADATA_PATH_LEN], wwn[ALUA_SECONDARY_METADATA_WWN_LEN]; in core_alua_update_tpg_secondary_metadata() local 1274 memset(wwn, 0, ALUA_SECONDARY_METADATA_WWN_LEN); in core_alua_update_tpg_secondary_metadata() 1276 len = snprintf(wwn, ALUA_SECONDARY_METADATA_WWN_LEN, "%s", in core_alua_update_tpg_secondary_metadata() 1280 snprintf(wwn+len, ALUA_SECONDARY_METADATA_WWN_LEN-len, "+%hu", in core_alua_update_tpg_secondary_metadata() 1289 se_tpg->se_tpg_tfo->get_fabric_name(), wwn, in core_alua_update_tpg_secondary_metadata()
|
D | target_core_stat.c | 996 struct t10_wwn *wwn; in target_stat_scsi_transport_show_attr_dev_name() local 1006 wwn = &dev->t10_wwn; in target_stat_scsi_transport_show_attr_dev_name() 1010 (strlen(wwn->unit_serial)) ? wwn->unit_serial : in target_stat_scsi_transport_show_attr_dev_name() 1011 wwn->vendor); in target_stat_scsi_transport_show_attr_dev_name()
|
D | target_core_pr.c | 1921 struct t10_wwn *wwn = &dev->t10_wwn; in __core_scsi3_write_aptpl_to_file() local 1930 if (strlen(&wwn->unit_serial[0]) >= 512) { in __core_scsi3_write_aptpl_to_file() 1936 snprintf(path, 512, "/var/target/pr/aptpl_%s", &wwn->unit_serial[0]); in __core_scsi3_write_aptpl_to_file()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
D | csio_attr.c | 549 uint8_t wwn[8]; in csio_vport_create() local 557 u64_to_wwn(fc_vport->node_name, wwn); in csio_vport_create() 559 if (!CSIO_VALID_WWN(wwn)) { in csio_vport_create() 564 memcpy(csio_ln_wwnn(ln), wwn, 8); in csio_vport_create() 568 u64_to_wwn(fc_vport->port_name, wwn); in csio_vport_create() 570 if (!CSIO_VALID_WWN(wwn)) { in csio_vport_create() 576 if (csio_lnode_lookup_by_wwpn(hw, wwn)) { in csio_vport_create() 581 memcpy(csio_ln_wwpn(ln), wwn, 8); in csio_vport_create()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 65 static ssize_t tcm_qla2xxx_parse_wwn(const char *name, u64 *wwn, int strict) in tcm_qla2xxx_parse_wwn() argument 74 *wwn = 0; in tcm_qla2xxx_parse_wwn() 99 *wwn = (*wwn << 4) | nibble; in tcm_qla2xxx_parse_wwn() 108 static ssize_t tcm_qla2xxx_format_wwn(char *buf, size_t len, u64 wwn) in tcm_qla2xxx_format_wwn() argument 112 put_unaligned_be64(wwn, b); in tcm_qla2xxx_format_wwn() 129 u8 wwn[8]; in tcm_qla2xxx_npiv_extract_wwn() local 131 memset(wwn, 0, sizeof(wwn)); in tcm_qla2xxx_npiv_extract_wwn() 144 wwn[i/2] = j & 0xff; in tcm_qla2xxx_npiv_extract_wwn() 149 *nm = wwn_to_u64(wwn); in tcm_qla2xxx_npiv_extract_wwn() 1132 struct se_wwn *wwn, in tcm_qla2xxx_make_tpg() argument [all …]
|
D | qla_target.c | 4055 qlt_find_sess_invalidate_other(struct qla_tgt *tgt, uint64_t wwn, in qlt_find_sess_invalidate_other() argument 4065 if (wwn == other_wwn) { in qlt_find_sess_invalidate_other() 4153 uint64_t wwn; in qlt_24xx_handle_els() local 4159 wwn = wwn_to_u64(iocb->u.isp24.port_name); in qlt_24xx_handle_els() 4181 if (wwn) in qlt_24xx_handle_els() 4182 sess = qlt_find_sess_invalidate_other(tgt, wwn, in qlt_24xx_handle_els() 4243 if (wwn) in qlt_24xx_handle_els() 4244 sess = qlt_find_sess_invalidate_other(tgt, wwn, port_id, in qlt_24xx_handle_els()
|
/linux-4.1.27/drivers/scsi/bfa/ |
D | bfa_cs.h | 328 wwn2str(char *wwn_str, u64 wwn) in wwn2str() argument 331 u64 wwn; in wwn2str() member 335 w.wwn = wwn; in wwn2str()
|
D | bfa_fcbuild.h | 270 u16 fc_gmal_req_build(struct fchs_s *fchs, void *pyld, u32 s_id, wwn_t wwn); 271 u16 fc_gfn_req_build(struct fchs_s *fchs, void *pyld, u32 s_id, wwn_t wwn);
|
D | bfa_fcbuild.c | 1429 fc_gmal_req_build(struct fchs_s *fchs, void *pyld, u32 s_id, wwn_t wwn) in fc_gmal_req_build() argument 1440 gmal->wwn = wwn; in fc_gmal_req_build() 1449 fc_gfn_req_build(struct fchs_s *fchs, void *pyld, u32 s_id, wwn_t wwn) in fc_gfn_req_build() argument 1460 gfn->wwn = wwn; in fc_gfn_req_build()
|
D | bfad_drv.h | 183 wwn_t wwn[BFA_FCS_MAX_LPORTS]; member
|
D | bfa_fcs.h | 293 wwn_t bfa_fcs_lport_get_rport(struct bfa_fcs_lport_s *port, wwn_t wwn, 495 struct bfa_fcs_lport_s *port, wwn_t wwn);
|
D | bfi_ms.h | 77 wwn_t wwn[BFA_BOOT_BOOTLUN_MAX]; member
|
D | bfa_fc.h | 1459 wwn_t wwn; /* PWWN/NWWN */ member
|
D | bfa_core.c | 1707 memcpy(wwns, cfgrsp->bootwwns.wwn, sizeof(cfgrsp->bootwwns.wwn)); in bfa_iocfc_get_bootwwns()
|
D | bfa_defs_svc.h | 1037 wwn_t wwn; member
|
D | bfa_fcs_lport.c | 5722 bfa_fcs_lport_get_rport(struct bfa_fcs_lport_s *port, wwn_t wwn, int index, in bfa_fcs_lport_get_rport() argument 5751 if (!memcmp(&wwn, &rport->pwwn, 8)) in bfa_fcs_lport_get_rport()
|
/linux-4.1.27/drivers/target/loopback/ |
D | tcm_loop.c | 1208 struct se_wwn *wwn, in tcm_loop_make_naa_tpg() argument 1212 struct tcm_loop_hba *tl_hba = container_of(wwn, in tcm_loop_make_naa_tpg() 1237 ret = core_tpg_register(&loop_ops, wwn, &tl_tpg->tl_se_tpg, tl_tpg, in tcm_loop_make_naa_tpg() 1244 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_make_naa_tpg() 1252 struct se_wwn *wwn = se_tpg->se_tpg_wwn; in tcm_loop_drop_naa_tpg() local 1274 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_drop_naa_tpg() 1352 struct se_wwn *wwn) in tcm_loop_drop_scsi_hba() argument 1354 struct tcm_loop_hba *tl_hba = container_of(wwn, in tcm_loop_drop_scsi_hba()
|
/linux-4.1.27/drivers/target/sbp/ |
D | sbp_target.c | 2064 static ssize_t sbp_parse_wwn(const char *name, u64 *wwn) in sbp_parse_wwn() argument 2070 *wwn = 0; in sbp_parse_wwn() 2088 *wwn = (*wwn << 4) | nibble; in sbp_parse_wwn() 2098 static ssize_t sbp_format_wwn(char *buf, size_t len, u64 wwn) in sbp_format_wwn() argument 2100 return snprintf(buf, len, "%016llx", wwn); in sbp_format_wwn() 2173 struct se_wwn *wwn, in sbp_make_tpg() argument 2178 container_of(wwn, struct sbp_tport, tport_wwn); in sbp_make_tpg() 2217 ret = core_tpg_register(&sbp_ops, wwn, &tpg->se_tpg, tpg, in sbp_make_tpg() 2266 static void sbp_drop_tport(struct se_wwn *wwn) in sbp_drop_tport() argument 2269 container_of(wwn, struct sbp_tport, tport_wwn); in sbp_drop_tport()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 217 void fcoe_wwn_to_str(u64 wwn, char *buf, int len) in fcoe_wwn_to_str() argument 221 u64_to_wwn(wwn, wwpn); in fcoe_wwn_to_str() 279 int fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) in fcoe_get_wwn() argument 284 return ops->ndo_fcoe_get_wwn(netdev, wwn, type); in fcoe_get_wwn()
|
D | fcoe_ctlr.c | 899 struct fip_wwn_desc *wwn; in fcoe_ctlr_parse_adv() local 960 wwn = (struct fip_wwn_desc *)desc; in fcoe_ctlr_parse_adv() 961 fcf->switch_name = get_unaligned_be64(&wwn->fd_wwn); in fcoe_ctlr_parse_adv() 1940 u64 wwn; in fcoe_wwn_from_mac() local 1952 wwn = host_mac | ((u64) scheme << 60); in fcoe_wwn_from_mac() 1959 wwn |= (u64) port << 48; in fcoe_wwn_from_mac() 1966 return wwn; in fcoe_wwn_from_mac() 2241 struct fip_wwn_desc *wwn = NULL; in fcoe_ctlr_vn_parse() local 2315 wwn = (struct fip_wwn_desc *)desc; in fcoe_ctlr_vn_parse() 2316 rdata->ids.node_name = get_unaligned_be64(&wwn->fd_wwn); in fcoe_ctlr_vn_parse()
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_configfs.c | 1436 struct se_wwn *wwn, in lio_target_tiqn_addtpg() argument 1446 tiqn = container_of(wwn, struct iscsi_tiqn, tiqn_wwn); in lio_target_tiqn_addtpg() 1466 ret = core_tpg_register(&iscsi_ops, wwn, &tpg->tpg_se_tpg, in lio_target_tiqn_addtpg() 1566 struct se_wwn *wwn) in lio_target_call_coredeltiqn() argument 1568 struct iscsi_tiqn *tiqn = container_of(wwn, struct iscsi_tiqn, tiqn_wwn); in lio_target_call_coredeltiqn()
|
D | iscsi_target_stat.c | 724 struct se_wwn *wwn = acl->se_node_acl.se_tpg->se_tpg_wwn; in iscsi_stat_sess_show_attr_inst() local 725 struct iscsi_tiqn *tiqn = container_of(wwn, in iscsi_stat_sess_show_attr_inst()
|
/linux-4.1.27/drivers/xen/ |
D | xen-scsiback.c | 1446 static void scsiback_drop_tport(struct se_wwn *wwn) in scsiback_drop_tport() argument 1448 struct scsiback_tport *tport = container_of(wwn, in scsiback_drop_tport() 1877 scsiback_make_tpg(struct se_wwn *wwn, in scsiback_make_tpg() argument 1881 struct scsiback_tport *tport = container_of(wwn, in scsiback_make_tpg() 1904 ret = core_tpg_register(&scsiback_ops, wwn, in scsiback_make_tpg()
|
/linux-4.1.27/net/8021q/ |
D | vlan_dev.c | 429 static int vlan_dev_fcoe_get_wwn(struct net_device *dev, u64 *wwn, int type) in vlan_dev_fcoe_get_wwn() argument 436 rc = ops->ndo_fcoe_get_wwn(real_dev, wwn, type); in vlan_dev_fcoe_get_wwn()
|
/linux-4.1.27/drivers/vhost/ |
D | scsi.c | 2177 vhost_scsi_make_tpg(struct se_wwn *wwn, in vhost_scsi_make_tpg() argument 2181 struct vhost_scsi_tport *tport = container_of(wwn, in vhost_scsi_make_tpg() 2203 ret = core_tpg_register(&vhost_scsi_ops, wwn, in vhost_scsi_make_tpg() 2296 static void vhost_scsi_drop_tport(struct se_wwn *wwn) in vhost_scsi_drop_tport() argument 2298 struct vhost_scsi_tport *tport = container_of(wwn, in vhost_scsi_drop_tport()
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
D | tcm_usb_gadget.c | 1541 struct se_wwn *wwn, in usbg_make_tpg() argument 1545 struct usbg_tport *tport = container_of(wwn, struct usbg_tport, in usbg_make_tpg() 1575 ret = core_tpg_register(&usbg_ops, wwn, &tpg->se_tpg, tpg, in usbg_make_tpg() 1618 static void usbg_drop_tport(struct se_wwn *wwn) in usbg_drop_tport() argument 1620 struct usbg_tport *tport = container_of(wwn, in usbg_drop_tport()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_fcoe.c | 948 int ixgbe_fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) in ixgbe_fcoe_get_wwn() argument 967 *wwn = ((u64) prefix << 48) | in ixgbe_fcoe_get_wwn()
|
D | ixgbe.h | 929 int ixgbe_fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type);
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_transport_fc.c | 1821 u8 wwn[8]; in fc_parse_wwn() local 1823 memset(wwn, 0, sizeof(wwn)); in fc_parse_wwn() 1835 wwn[i/2] = j & 0xff; in fc_parse_wwn() 1840 *nm = wwn_to_u64(wwn); in fc_parse_wwn()
|
D | gdth.h | 399 char wwn[8]; /* world wide name */ member
|
D | ipr.h | 910 __be32 wwn[4]; member
|
D | ipr.c | 2403 be32_to_cpu(error->wwn[0]), be32_to_cpu(error->wwn[1]), in ipr_log_sis64_device_error() 2404 be32_to_cpu(error->wwn[2]), be32_to_cpu(error->wwn[3])); in ipr_log_sis64_device_error()
|
/linux-4.1.27/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 3783 static struct se_portal_group *srpt_make_tpg(struct se_wwn *wwn, in srpt_make_tpg() argument 3787 struct srpt_port *sport = container_of(wwn, struct srpt_port, port_wwn); in srpt_make_tpg() 3839 static void srpt_drop_tport(struct se_wwn *wwn) in srpt_drop_tport() argument 3841 struct srpt_port *sport = container_of(wwn, struct srpt_port, port_wwn); in srpt_drop_tport()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.h | 609 int bnx2x_fcoe_get_wwn(struct net_device *dev, u64 *wwn, int type);
|
D | bnx2x_cmn.c | 4761 int bnx2x_fcoe_get_wwn(struct net_device *dev, u64 *wwn, int type) in bnx2x_fcoe_get_wwn() argument 4768 *wwn = HILO_U64(cp->fcoe_wwn_node_name_hi, in bnx2x_fcoe_get_wwn() 4772 *wwn = HILO_U64(cp->fcoe_wwn_port_name_hi, in bnx2x_fcoe_get_wwn()
|
/linux-4.1.27/drivers/scsi/aacraid/ |
D | aachba.c | 312 module_param_named(wwn, aac_wwn, int, S_IRUGO|S_IWUSR); 313 MODULE_PARM_DESC(wwn, "Select a WWN type for the arrays:\n"
|
/linux-4.1.27/include/linux/ |
D | netdevice.h | 1133 u64 *wwn, int type);
|