Home
last modified time | relevance | path

Searched refs:BR_MAX_PORTS (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/net/bridge/
Dbr_if.c397 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()
Dbr_ioctl.c170 if (num > BR_MAX_PORTS) in old_dev_ioctl()
171 num = BR_MAX_PORTS; in old_dev_ioctl()
Dbr_private.h32 #define BR_MAX_PORTS (1<<BR_PORT_BITS) macro
Dbr_vlan.c880 changed = kcalloc(BITS_TO_LONGS(BR_MAX_PORTS), sizeof(unsigned long), in __br_vlan_set_default_pvid()