Searched refs:BR_MAX_PORTS (Results 1 – 4 of 4) sorted by relevance
397 inuse = kcalloc(BITS_TO_LONGS(BR_MAX_PORTS), sizeof(unsigned long), in find_portno()406 index = find_first_zero_bit(inuse, BR_MAX_PORTS); in find_portno()409 return (index >= BR_MAX_PORTS) ? -EXFULL : index; in find_portno()
170 if (num > BR_MAX_PORTS) in old_dev_ioctl()171 num = BR_MAX_PORTS; in old_dev_ioctl()
32 #define BR_MAX_PORTS (1<<BR_PORT_BITS) macro
880 changed = kcalloc(BITS_TO_LONGS(BR_MAX_PORTS), sizeof(unsigned long), in __br_vlan_set_default_pvid()