SOCK_MAX 123 net/ipv4/af_inet.c static struct list_head inetsw[SOCK_MAX]; SOCK_MAX 976 net/ipv4/af_inet.c if (p->type >= SOCK_MAX) SOCK_MAX 1462 net/ipv4/af_inet.c for (r = &inetsw[0]; r < &inetsw[SOCK_MAX]; ++r) SOCK_MAX 72 net/ipv6/af_inet6.c static struct list_head inetsw6[SOCK_MAX]; SOCK_MAX 536 net/ipv6/af_inet6.c if (p->type >= SOCK_MAX) SOCK_MAX 912 net/ipv6/af_inet6.c for(r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r) SOCK_MAX 1108 net/socket.c if (type < 0 || type >= SOCK_MAX) SOCK_MAX 1227 net/socket.c BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK);