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];583 if (p->type >= SOCK_MAX) in inet6_register_protosw()844 for (r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r) in inet6_init()
73 #define SOCK_MAX (SOCK_PACKET + 1) macro
128 static struct list_head inetsw[SOCK_MAX];1041 if (p->type >= SOCK_MAX) in inet_register_protosw()1732 for (r = &inetsw[0]; r < &inetsw[SOCK_MAX]; ++r) in inet_init()
1100 if (type < 0 || type >= SOCK_MAX) in __sock_create()1221 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in SYSCALL_DEFINE3()