Lines Matching refs:wwn
49 static ssize_t ft_parse_wwn(const char *name, u64 *wwn, int strict) in ft_parse_wwn() argument
58 *wwn = 0; in ft_parse_wwn()
80 *wwn = (*wwn << 4) | val; in ft_parse_wwn()
89 ssize_t ft_format_wwn(char *buf, size_t len, u64 wwn) in ft_format_wwn() argument
93 put_unaligned_be64(wwn, b); in ft_format_wwn()
101 u64 *wwn = arg; in ft_wwn_show() local
104 len = ft_format_wwn(buf, PAGE_SIZE - 2, *wwn); in ft_wwn_show()
112 u64 wwn; in ft_wwn_store() local
114 ret = ft_parse_wwn(buf, &wwn, 0); in ft_wwn_store()
116 *(u64 *)arg = wwn; in ft_wwn_store()
218 static struct se_portal_group *ft_add_tpg(struct se_wwn *wwn, const char *name) in ft_add_tpg() argument
245 ft_wwn = container_of(wwn, struct ft_lport_wwn, se_wwn); in ft_add_tpg()
259 ret = core_tpg_register(wwn, &tpg->se_tpg, SCSI_PROTOCOL_FCP); in ft_add_tpg()
356 static void ft_del_wwn(struct se_wwn *wwn) in ft_del_wwn() argument
358 struct ft_lport_wwn *ft_wwn = container_of(wwn, in ft_del_wwn()