Searched refs:VLAN_GROUP_ARRAY_PART_LEN (Results 1 – 2 of 2) sorted by relevance
14 #define VLAN_GROUP_ARRAY_PART_LEN (VLAN_N_VID/VLAN_GROUP_ARRAY_SPLIT_PARTS) macro 60 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in __vlan_group_get_device() 65 return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; in __vlan_group_get_device() 90 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in vlan_group_set_device() 91 array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] = dev; in vlan_group_set_device()
63 vidx = vlan_id / VLAN_GROUP_ARRAY_PART_LEN; in vlan_group_prealloc_vid() 68 size = sizeof(struct net_device *) * VLAN_GROUP_ARRAY_PART_LEN; in vlan_group_prealloc_vid()