Searched refs:BR_MAX_PORTS (Results 1 – 4 of 4) sorted by relevance
297 inuse = kcalloc(BITS_TO_LONGS(BR_MAX_PORTS), sizeof(unsigned long), in find_portno()306 index = find_first_zero_bit(inuse, BR_MAX_PORTS); in find_portno()309 return (index >= BR_MAX_PORTS) ? -EXFULL : index; in find_portno()
167 if (num > BR_MAX_PORTS) in old_dev_ioctl()168 num = BR_MAX_PORTS; in old_dev_ioctl()
533 changed = kcalloc(BITS_TO_LONGS(BR_MAX_PORTS), sizeof(unsigned long), in __br_vlan_set_default_pvid()
29 #define BR_MAX_PORTS (1<<BR_PORT_BITS) macro