Lines Matching refs:vn
94 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_proc_cleanup() local
96 if (vn->proc_vlan_conf) in vlan_proc_cleanup()
97 remove_proc_entry(name_conf, vn->proc_vlan_dir); in vlan_proc_cleanup()
99 if (vn->proc_vlan_dir) in vlan_proc_cleanup()
113 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_proc_init() local
115 vn->proc_vlan_dir = proc_net_mkdir(net, name_root, net->proc_net); in vlan_proc_init()
116 if (!vn->proc_vlan_dir) in vlan_proc_init()
119 vn->proc_vlan_conf = proc_create_net(name_conf, S_IFREG | 0600, in vlan_proc_init()
120 vn->proc_vlan_dir, &vlan_seq_ops, in vlan_proc_init()
122 if (!vn->proc_vlan_conf) in vlan_proc_init()
139 struct vlan_net *vn = net_generic(dev_net(vlandev), vlan_net_id); in vlan_proc_add_dev() local
144 vn->proc_vlan_dir, vlandev_seq_show, vlandev); in vlan_proc_add_dev()
219 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_seq_show() local
226 if (vn->name_type < ARRAY_SIZE(vlan_name_type_str)) in vlan_seq_show()
227 nmtype = vlan_name_type_str[vn->name_type]; in vlan_seq_show()