| /linux-4.4.14/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() 1067 (wwn_to_u64(sp->portName.u.wwn) == 0 || in lpfc_cmpl_plogi_plogi_issue() [all …]
|
| D | lpfc_mbox.c | 892 memcpy(mb->un.varRegVpi.wwn, &vport->fc_portname, in lpfc_reg_vpi() 894 mb->un.varRegVpi.wwn[0] = cpu_to_le32(mb->un.varRegVpi.wwn[0]); in lpfc_reg_vpi() 895 mb->un.varRegVpi.wwn[1] = cpu_to_le32(mb->un.varRegVpi.wwn[1]); in lpfc_reg_vpi() 2143 memcpy(reg_vfi->wwn, &vport->fc_portname, sizeof(struct lpfc_name)); in lpfc_reg_vfi() 2144 reg_vfi->wwn[0] = cpu_to_le32(reg_vfi->wwn[0]); in lpfc_reg_vfi() 2145 reg_vfi->wwn[1] = cpu_to_le32(reg_vfi->wwn[1]); in lpfc_reg_vfi() 2169 reg_vfi->wwn[0], reg_vfi->wwn[1], vport->fc_flag, in lpfc_reg_vfi()
|
| D | lpfc_ct.c | 1047 uint8_t *wwn = vport->phba->wwpn; in lpfc_vport_symbolic_port_name() local 1051 wwn[0], wwn[1], wwn[2], wwn[3], in lpfc_vport_symbolic_port_name() 1052 wwn[4], wwn[5], wwn[6], wwn[7]); in lpfc_vport_symbolic_port_name()
|
| D | lpfc_attr.c | 2093 lpfc_wwn_set(const char *buf, size_t cnt, char wwn[]) in lpfc_wwn_set() argument 2105 memset(wwn, 0, WWN_SZ); in lpfc_wwn_set() 2118 wwn[i/2] = j & 0xff; in lpfc_wwn_set() 3646 ndlp->nlp_portname.u.wwn[0], in sysfs_drvr_stat_data_read() 3647 ndlp->nlp_portname.u.wwn[1], in sysfs_drvr_stat_data_read() 3648 ndlp->nlp_portname.u.wwn[2], in sysfs_drvr_stat_data_read() 3649 ndlp->nlp_portname.u.wwn[3], in sysfs_drvr_stat_data_read() 3650 ndlp->nlp_portname.u.wwn[4], in sysfs_drvr_stat_data_read() 3651 ndlp->nlp_portname.u.wwn[5], in sysfs_drvr_stat_data_read() 3652 ndlp->nlp_portname.u.wwn[6], in sysfs_drvr_stat_data_read() [all …]
|
| D | lpfc_hw.h | 341 uint8_t wwn[8]; member 2592 uint32_t wwn[2]; member 2601 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() 3489 fc_host_node_name(shost) = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_host_attrib_init() 3490 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_host_attrib_init()
|
| D | lpfc_scsi.c | 1345 if (phba->lpfc_injerr_wwpn.u.wwn[0] && in lpfc_bg_err_inject() 5446 u64_to_wwn(rport->port_name, target_wwpn.u.wwn); in lpfc_slave_alloc() 5745 if (((wwn_to_u64(vport_wwpn->u.wwn) == 0) || in lpfc_find_next_oas_lun() 5748 ((wwn_to_u64(target_wwpn->u.wwn) == 0) || in lpfc_find_next_oas_lun()
|
| D | lpfc_hbadisc.c | 150 if (rport->port_name != wwn_to_u64(ndlp->nlp_portname.u.wwn)) in lpfc_dev_loss_tmo_callbk() 154 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_dev_loss_tmo_callbk() 3897 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port() 3898 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
|
| D | lpfc_hw4.h | 2013 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.4.14/drivers/target/tcm_fc/ |
| D | tfc_conf.c | 57 static ssize_t ft_parse_wwn(const char *name, u64 *wwn, int strict) in ft_parse_wwn() argument 66 *wwn = 0; in ft_parse_wwn() 88 *wwn = (*wwn << 4) | val; in ft_parse_wwn() 97 ssize_t ft_format_wwn(char *buf, size_t len, u64 wwn) in ft_format_wwn() argument 101 put_unaligned_be64(wwn, b); in ft_format_wwn() 109 u64 *wwn = arg; in ft_wwn_show() local 112 len = ft_format_wwn(buf, PAGE_SIZE - 2, *wwn); in ft_wwn_show() 120 u64 wwn; in ft_wwn_store() local 122 ret = ft_parse_wwn(buf, &wwn, 0); in ft_wwn_store() 124 *(u64 *)arg = wwn; in ft_wwn_store() [all …]
|
| /linux-4.4.14/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.4.14/drivers/target/ |
| D | target_core_fabric_configfs.c | 893 struct se_wwn *wwn = se_tpg->se_tpg_wwn; in target_fabric_tpg_release() local 894 struct target_fabric_configfs *tf = wwn->wwn_tf; in target_fabric_tpg_release() 913 struct se_wwn *wwn = container_of(group, struct se_wwn, wwn_group); in target_fabric_make_tpg() local 914 struct target_fabric_configfs *tf = wwn->wwn_tf; in target_fabric_make_tpg() 922 se_tpg = tf->tf_ops->fabric_make_tpg(wwn, group, name); in target_fabric_make_tpg() 979 struct se_wwn *wwn = container_of(to_config_group(item), in target_fabric_release_wwn() local 981 struct target_fabric_configfs *tf = wwn->wwn_tf; in target_fabric_release_wwn() 983 tf->tf_ops->fabric_drop_wwn(wwn); in target_fabric_release_wwn() 1017 struct se_wwn *wwn; in target_fabric_make_wwn() local 1024 wwn = tf->tf_ops->fabric_make_wwn(tf, group, name); in target_fabric_make_wwn() [all …]
|
| D | target_core_pscsi.c | 179 pscsi_set_inquiry_info(struct scsi_device *sdev, struct t10_wwn *wwn) in pscsi_set_inquiry_info() argument 192 memcpy(&wwn->vendor[0], &buf[8], sizeof(wwn->vendor)); in pscsi_set_inquiry_info() 193 memcpy(&wwn->model[0], &buf[16], sizeof(wwn->model)); in pscsi_set_inquiry_info() 194 memcpy(&wwn->revision[0], &buf[32], sizeof(wwn->revision)); in pscsi_set_inquiry_info() 198 pscsi_get_inquiry_vpd_serial(struct scsi_device *sdev, struct t10_wwn *wwn) in pscsi_get_inquiry_vpd_serial() argument 219 snprintf(&wwn->unit_serial[0], INQUIRY_VPD_SERIAL_LEN, "%s", &buf[4]); in pscsi_get_inquiry_vpd_serial() 221 wwn->t10_dev->dev_flags |= DF_FIRMWARE_VPD_UNIT_SERIAL; in pscsi_get_inquiry_vpd_serial() 233 struct t10_wwn *wwn) in pscsi_get_inquiry_vpd_device_ident() argument 292 list_add_tail(&vpd->vpd_list, &wwn->t10_vpd_list); in pscsi_get_inquiry_vpd_device_ident()
|
| D | target_core_device.c | 716 struct t10_wwn *wwn = &dev->t10_wwn; in scsi_dump_inquiry() local 723 if (wwn->vendor[i] >= 0x20) in scsi_dump_inquiry() 724 buf[i] = wwn->vendor[i]; in scsi_dump_inquiry() 731 if (wwn->model[i] >= 0x20) in scsi_dump_inquiry() 732 buf[i] = wwn->model[i]; in scsi_dump_inquiry() 739 if (wwn->revision[i] >= 0x20) in scsi_dump_inquiry() 740 buf[i] = wwn->revision[i]; in scsi_dump_inquiry()
|
| D | target_core_alua.c | 914 struct t10_wwn *wwn = &tg_pt_gp->tg_pt_gp_dev->t10_wwn; in core_alua_update_tpg_primary_metadata() local 935 "/var/target/alua/tpgs_%s/%s", &wwn->unit_serial[0], in core_alua_update_tpg_primary_metadata() 1251 char path[ALUA_METADATA_PATH_LEN], wwn[ALUA_SECONDARY_METADATA_WWN_LEN]; in core_alua_update_tpg_secondary_metadata() local 1264 memset(wwn, 0, ALUA_SECONDARY_METADATA_WWN_LEN); in core_alua_update_tpg_secondary_metadata() 1266 len = snprintf(wwn, ALUA_SECONDARY_METADATA_WWN_LEN, "%s", in core_alua_update_tpg_secondary_metadata() 1270 snprintf(wwn+len, ALUA_SECONDARY_METADATA_WWN_LEN-len, "+%hu", in core_alua_update_tpg_secondary_metadata() 1279 se_tpg->se_tpg_tfo->get_fabric_name(), wwn, in core_alua_update_tpg_secondary_metadata()
|
| D | target_core_stat.c | 780 struct t10_wwn *wwn; in target_stat_transport_dev_name_show() local 786 wwn = &dev->t10_wwn; in target_stat_transport_dev_name_show() 790 (strlen(wwn->unit_serial)) ? wwn->unit_serial : in target_stat_transport_dev_name_show() 791 wwn->vendor); in target_stat_transport_dev_name_show()
|
| D | target_core_pr.c | 1980 struct t10_wwn *wwn = &dev->t10_wwn; in __core_scsi3_write_aptpl_to_file() local 1989 if (strlen(&wwn->unit_serial[0]) >= 512) { in __core_scsi3_write_aptpl_to_file() 1995 snprintf(path, 512, "/var/target/pr/aptpl_%s", &wwn->unit_serial[0]); in __core_scsi3_write_aptpl_to_file()
|
| /linux-4.4.14/drivers/scsi/qla2xxx/ |
| D | tcm_qla2xxx.c | 60 static ssize_t tcm_qla2xxx_parse_wwn(const char *name, u64 *wwn, int strict) in tcm_qla2xxx_parse_wwn() argument 69 *wwn = 0; in tcm_qla2xxx_parse_wwn() 94 *wwn = (*wwn << 4) | nibble; in tcm_qla2xxx_parse_wwn() 103 static ssize_t tcm_qla2xxx_format_wwn(char *buf, size_t len, u64 wwn) in tcm_qla2xxx_format_wwn() argument 107 put_unaligned_be64(wwn, b); in tcm_qla2xxx_format_wwn() 124 u8 wwn[8]; in tcm_qla2xxx_npiv_extract_wwn() local 126 memset(wwn, 0, sizeof(wwn)); in tcm_qla2xxx_npiv_extract_wwn() 139 wwn[i/2] = j & 0xff; in tcm_qla2xxx_npiv_extract_wwn() 144 *nm = wwn_to_u64(wwn); in tcm_qla2xxx_npiv_extract_wwn() 917 struct se_wwn *wwn, in tcm_qla2xxx_make_tpg() argument [all …]
|
| D | qla_target.c | 4042 qlt_find_sess_invalidate_other(struct qla_tgt *tgt, uint64_t wwn, in qlt_find_sess_invalidate_other() argument 4052 if (wwn == other_wwn) { in qlt_find_sess_invalidate_other() 4140 uint64_t wwn; in qlt_24xx_handle_els() local 4146 wwn = wwn_to_u64(iocb->u.isp24.port_name); in qlt_24xx_handle_els() 4168 if (wwn) in qlt_24xx_handle_els() 4169 sess = qlt_find_sess_invalidate_other(tgt, wwn, in qlt_24xx_handle_els() 4230 if (wwn) in qlt_24xx_handle_els() 4231 sess = qlt_find_sess_invalidate_other(tgt, wwn, port_id, in qlt_24xx_handle_els()
|
| /linux-4.4.14/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.4.14/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.4.14/drivers/target/loopback/ |
| D | tcm_loop.c | 1051 struct se_wwn *wwn, in tcm_loop_make_naa_tpg() argument 1055 struct tcm_loop_hba *tl_hba = container_of(wwn, in tcm_loop_make_naa_tpg() 1080 ret = core_tpg_register(wwn, &tl_tpg->tl_se_tpg, tl_hba->tl_proto_id); in tcm_loop_make_naa_tpg() 1086 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_make_naa_tpg() 1094 struct se_wwn *wwn = se_tpg->se_tpg_wwn; in tcm_loop_drop_naa_tpg() local 1116 config_item_name(&wwn->wwn_group.cg_item), tpgt); in tcm_loop_drop_naa_tpg() 1194 struct se_wwn *wwn) in tcm_loop_drop_scsi_hba() argument 1196 struct tcm_loop_hba *tl_hba = container_of(wwn, in tcm_loop_drop_scsi_hba()
|
| /linux-4.4.14/drivers/target/sbp/ |
| D | sbp_target.c | 1938 static ssize_t sbp_parse_wwn(const char *name, u64 *wwn) in sbp_parse_wwn() argument 1944 *wwn = 0; in sbp_parse_wwn() 1962 *wwn = (*wwn << 4) | nibble; in sbp_parse_wwn() 1972 static ssize_t sbp_format_wwn(char *buf, size_t len, u64 wwn) in sbp_format_wwn() argument 1974 return snprintf(buf, len, "%016llx", wwn); in sbp_format_wwn() 2012 struct se_wwn *wwn, in sbp_make_tpg() argument 2017 container_of(wwn, struct sbp_tport, tport_wwn); in sbp_make_tpg() 2056 ret = core_tpg_register(wwn, &tpg->se_tpg, SCSI_PROTOCOL_SBP); in sbp_make_tpg() 2104 static void sbp_drop_tport(struct se_wwn *wwn) in sbp_drop_tport() argument 2107 container_of(wwn, struct sbp_tport, tport_wwn); in sbp_drop_tport()
|
| /linux-4.4.14/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.4.14/drivers/target/iscsi/ |
| D | iscsi_target_configfs.c | 1182 struct se_wwn *wwn, in lio_target_tiqn_addtpg() argument 1192 tiqn = container_of(wwn, struct iscsi_tiqn, tiqn_wwn); in lio_target_tiqn_addtpg() 1212 ret = core_tpg_register(wwn, &tpg->tpg_se_tpg, SCSI_PROTOCOL_ISCSI); in lio_target_tiqn_addtpg() 1310 struct se_wwn *wwn) in lio_target_call_coredeltiqn() argument 1312 struct iscsi_tiqn *tiqn = container_of(wwn, struct iscsi_tiqn, tiqn_wwn); in lio_target_call_coredeltiqn()
|
| D | iscsi_target_stat.c | 600 struct se_wwn *wwn = acl->se_node_acl.se_tpg->se_tpg_wwn; in iscsi_stat_sess_inst_show() local 601 struct iscsi_tiqn *tiqn = container_of(wwn, in iscsi_stat_sess_inst_show()
|
| /linux-4.4.14/drivers/xen/ |
| D | xen-scsiback.c | 1326 static void scsiback_drop_tport(struct se_wwn *wwn) in scsiback_drop_tport() argument 1328 struct scsiback_tport *tport = container_of(wwn, in scsiback_drop_tport() 1737 scsiback_make_tpg(struct se_wwn *wwn, in scsiback_make_tpg() argument 1741 struct scsiback_tport *tport = container_of(wwn, in scsiback_make_tpg() 1764 ret = core_tpg_register(wwn, &tpg->se_tpg, tport->tport_proto_id); in scsiback_make_tpg()
|
| /linux-4.4.14/drivers/vhost/ |
| D | scsi.c | 1975 vhost_scsi_make_tpg(struct se_wwn *wwn, in vhost_scsi_make_tpg() argument 1979 struct vhost_scsi_tport *tport = container_of(wwn, in vhost_scsi_make_tpg() 2001 ret = core_tpg_register(wwn, &tpg->se_tpg, tport->tport_proto_id); in vhost_scsi_make_tpg() 2093 static void vhost_scsi_drop_tport(struct se_wwn *wwn) in vhost_scsi_drop_tport() argument 2095 struct vhost_scsi_tport *tport = container_of(wwn, in vhost_scsi_drop_tport()
|
| /linux-4.4.14/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.4.14/drivers/usb/gadget/legacy/ |
| D | tcm_usb_gadget.c | 1378 struct se_wwn *wwn, in usbg_make_tpg() argument 1382 struct usbg_tport *tport = container_of(wwn, struct usbg_tport, in usbg_make_tpg() 1416 ret = core_tpg_register(wwn, &tpg->se_tpg, SCSI_PROTOCOL_SAS); in usbg_make_tpg() 1458 static void usbg_drop_tport(struct se_wwn *wwn) in usbg_drop_tport() argument 1460 struct usbg_tport *tport = container_of(wwn, in usbg_drop_tport()
|
| /linux-4.4.14/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 | 945 int ixgbe_fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type);
|
| /linux-4.4.14/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 | 927 __be32 wwn[4]; member
|
| D | ipr.c | 2404 be32_to_cpu(error->wwn[0]), be32_to_cpu(error->wwn[1]), in ipr_log_sis64_device_error() 2405 be32_to_cpu(error->wwn[2]), be32_to_cpu(error->wwn[3])); in ipr_log_sis64_device_error()
|
| /linux-4.4.14/drivers/infiniband/ulp/srpt/ |
| D | ib_srpt.c | 3657 static struct se_portal_group *srpt_make_tpg(struct se_wwn *wwn, in srpt_make_tpg() argument 3661 struct srpt_port *sport = container_of(wwn, struct srpt_port, port_wwn); in srpt_make_tpg() 3712 static void srpt_drop_tport(struct se_wwn *wwn) in srpt_drop_tport() argument 3714 struct srpt_port *sport = container_of(wwn, struct srpt_port, port_wwn); in srpt_drop_tport()
|
| /linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
| D | bnx2x_cmn.h | 611 int bnx2x_fcoe_get_wwn(struct net_device *dev, u64 *wwn, int type);
|
| D | bnx2x_cmn.c | 4869 int bnx2x_fcoe_get_wwn(struct net_device *dev, u64 *wwn, int type) in bnx2x_fcoe_get_wwn() argument 4876 *wwn = HILO_U64(cp->fcoe_wwn_node_name_hi, in bnx2x_fcoe_get_wwn() 4880 *wwn = HILO_U64(cp->fcoe_wwn_port_name_hi, in bnx2x_fcoe_get_wwn()
|
| /linux-4.4.14/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.4.14/include/linux/ |
| D | netdevice.h | 1159 u64 *wwn, int type);
|