Lines Matching refs:net_name
26 const char *net_name; member
100 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_NET_NAME, swnreg->net_name); in cifs_swn_send_register_message()
168 swnreg->net_name, swnreg->id); in cifs_swn_send_register_message()
202 ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_NET_NAME, swnreg->net_name); in cifs_swn_send_unregister_message()
237 swnreg->net_name, swnreg->id); in cifs_swn_send_unregister_message()
257 const char *net_name; in cifs_find_swn_reg() local
259 net_name = extract_hostname(tcon->tree_name); in cifs_find_swn_reg()
260 if (IS_ERR(net_name)) { in cifs_find_swn_reg()
263 ret = PTR_ERR(net_name); in cifs_find_swn_reg()
276 kfree(net_name); in cifs_find_swn_reg()
281 if (strcasecmp(swnreg->net_name, net_name) != 0 in cifs_find_swn_reg()
286 cifs_dbg(FYI, "Existing swn registration for %s:%s found\n", swnreg->net_name, in cifs_find_swn_reg()
289 kfree(net_name); in cifs_find_swn_reg()
295 kfree(net_name); in cifs_find_swn_reg()
338 reg->net_name = extract_hostname(tcon->tree_name); in cifs_get_swn_reg()
339 if (IS_ERR(reg->net_name)) { in cifs_get_swn_reg()
340 ret = PTR_ERR(reg->net_name); in cifs_get_swn_reg()
363 kfree(reg->net_name); in cifs_get_swn_reg()
382 kfree(swnreg->net_name); in cifs_swn_reg_release()
639 swnreg->net_name, swnreg->net_name_notify ? "(y)" : "(n)", in cifs_swn_dump()