Searched refs:vlan_info (Results 1 – 3 of 3) sorted by relevance
79 struct vlan_info *vlan_info = rcu_dereference(dev->vlan_info); in __vlan_find_dev_deep_rcu() local81 if (vlan_info) { in __vlan_find_dev_deep_rcu()82 return vlan_group_get_device(&vlan_info->grp, in __vlan_find_dev_deep_rcu()138 static void vlan_info_free(struct vlan_info *vlan_info) in vlan_info_free() argument140 vlan_group_free(&vlan_info->grp); in vlan_info_free()141 kfree(vlan_info); in vlan_info_free()146 vlan_info_free(container_of(rcu, struct vlan_info, rcu)); in vlan_info_rcu_free()149 static struct vlan_info *vlan_info_alloc(struct net_device *dev) in vlan_info_alloc()151 struct vlan_info *vlan_info; in vlan_info_alloc() local153 vlan_info = kzalloc(sizeof(struct vlan_info), GFP_KERNEL); in vlan_info_alloc()[all …]
93 struct vlan_info *vlan_info; in unregister_vlan_dev() local99 vlan_info = rtnl_dereference(real_dev->vlan_info); in unregister_vlan_dev()100 BUG_ON(!vlan_info); in unregister_vlan_dev()102 grp = &vlan_info->grp; in unregister_vlan_dev()153 struct vlan_info *vlan_info; in register_vlan_dev() local161 vlan_info = rtnl_dereference(real_dev->vlan_info); in register_vlan_dev()163 BUG_ON(!vlan_info); in register_vlan_dev()165 grp = &vlan_info->grp; in register_vlan_dev()367 struct vlan_info *vlan_info; in vlan_device_event() local392 vlan_info = rtnl_dereference(dev->vlan_info); in vlan_device_event()[all …]
29 struct vlan_info { struct97 struct vlan_info *vlan_info = rcu_dereference_rtnl(real_dev->vlan_info); in vlan_find_dev() local99 if (vlan_info) in vlan_find_dev()100 return vlan_group_get_device(&vlan_info->grp, in vlan_find_dev()124 int vlan_filter_push_vids(struct vlan_info *vlan_info, __be16 proto);125 void vlan_filter_drop_vids(struct vlan_info *vlan_info, __be16 proto);