Lines Matching refs:grp
94 struct vlan_group *grp; in unregister_vlan_dev() local
102 grp = &vlan_info->grp; in unregister_vlan_dev()
104 grp->nr_vlan_devs--; in unregister_vlan_dev()
111 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev()
120 if (grp->nr_vlan_devs == 0) { in unregister_vlan_dev()
154 struct vlan_group *grp; in register_vlan_dev() local
165 grp = &vlan_info->grp; in register_vlan_dev()
166 if (grp->nr_vlan_devs == 0) { in register_vlan_dev()
175 err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id); in register_vlan_dev()
193 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, dev); in register_vlan_dev()
194 grp->nr_vlan_devs++; in register_vlan_dev()
201 if (grp->nr_vlan_devs == 0) in register_vlan_dev()
204 if (grp->nr_vlan_devs == 0) in register_vlan_dev()
365 struct vlan_group *grp; in vlan_device_event() local
394 grp = &vlan_info->grp; in vlan_device_event()
403 vlan_group_for_each_dev(grp, i, vlandev) in vlan_device_event()
410 vlan_group_for_each_dev(grp, i, vlandev) { in vlan_device_event()
420 vlan_group_for_each_dev(grp, i, vlandev) { in vlan_device_event()
430 vlan_group_for_each_dev(grp, i, vlandev) in vlan_device_event()
439 vlan_group_for_each_dev(grp, i, vlandev) { in vlan_device_event()
461 vlan_group_for_each_dev(grp, i, vlandev) { in vlan_device_event()
479 vlan_group_for_each_dev(grp, i, vlandev) { in vlan_device_event()
502 vlan_group_for_each_dev(grp, i, vlandev) in vlan_device_event()