Lines Matching refs:vnet
134 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid);
137 if (!vnet->ipvl_nf_hook_refcnt) {
141 vnet->ipvl_nf_hook_refcnt = 1;
143 vnet->ipvl_nf_hook_refcnt++;
151 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid);
153 if (WARN_ON(!vnet->ipvl_nf_hook_refcnt))
156 vnet->ipvl_nf_hook_refcnt--;
157 if (!vnet->ipvl_nf_hook_refcnt)
178 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid);
180 if (WARN_ON_ONCE(vnet->ipvl_nf_hook_refcnt)) {
181 vnet->ipvl_nf_hook_refcnt = 0;