Lines Matching defs:wwn
42 * so the name and wwn are mapped one-to-one.
44 static ssize_t tcm_qla2xxx_parse_wwn(const char *name, u64 *wwn, int strict)
53 *wwn = 0;
78 *wwn = (*wwn << 4) | nibble;
87 static ssize_t tcm_qla2xxx_format_wwn(char *buf, size_t len, u64 wwn)
91 put_unaligned_be64(wwn, b);
103 u8 wwn[8];
105 memset(wwn, 0, sizeof(wwn));
118 wwn[i/2] = j & 0xff;
123 *nm = wwn_to_u64(wwn);
983 static struct se_portal_group *tcm_qla2xxx_make_tpg(struct se_wwn *wwn,
986 struct tcm_qla2xxx_lport *lport = container_of(wwn,
1019 ret = core_tpg_register(wwn, &tpg->se_tpg, SCSI_PROTOCOL_FCP);
1079 static struct se_portal_group *tcm_qla2xxx_npiv_make_tpg(struct se_wwn *wwn,
1082 struct tcm_qla2xxx_lport *lport = container_of(wwn,
1110 ret = core_tpg_register(wwn, &tpg->se_tpg, SCSI_PROTOCOL_FCP);
1622 static void tcm_qla2xxx_drop_lport(struct se_wwn *wwn)
1624 struct tcm_qla2xxx_lport *lport = container_of(wwn,
1747 static void tcm_qla2xxx_npiv_drop_lport(struct se_wwn *wwn)
1749 struct tcm_qla2xxx_lport *lport = container_of(wwn,