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) macro59 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in __vlan_group_get_device()64 return array ? array[vlan_id % VLAN_GROUP_ARRAY_PART_LEN] : NULL; in __vlan_group_get_device()89 [vlan_id / VLAN_GROUP_ARRAY_PART_LEN]; in vlan_group_set_device()90 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()