Searched refs:SOCK_MAX (Results 1 – 5 of 5) sorted by relevance
39 #define SOCK_MAX (SOCK_PACKET + 1) macro
74 static struct list_head inetsw6[SOCK_MAX];580 if (p->type >= SOCK_MAX) in inet6_register_protosw()840 for (r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r) in inet6_init()
69 #define SOCK_MAX (SOCK_PACKET + 1) macro
126 static struct list_head inetsw[SOCK_MAX];1040 if (p->type >= SOCK_MAX) in inet_register_protosw()1726 for (r = &inetsw[0]; r < &inetsw[SOCK_MAX]; ++r) in inet_init()
1109 if (type < 0 || type >= SOCK_MAX) in __sock_create()1230 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in SYSCALL_DEFINE3()