Searched refs:VLAN_GROUP_ARRAY_PART_LEN (Results 1 – 2 of 2) sorted by relevance
13 #define VLAN_GROUP_ARRAY_PART_LEN (VLAN_N_VID/VLAN_GROUP_ARRAY_SPLIT_PARTS) macro58 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in __vlan_group_get_device()59 return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; in __vlan_group_get_device()77 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in vlan_group_set_device()78 array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] = dev; in vlan_group_set_device()
64 vidx = vlan_id / VLAN_GROUP_ARRAY_PART_LEN; in vlan_group_prealloc_vid()69 size = sizeof(struct net_device *) * VLAN_GROUP_ARRAY_PART_LEN; in vlan_group_prealloc_vid()