Searched refs:SOCK_MAX (Results 1 – 6 of 6) sorted by relevance
39 #define SOCK_MAX (SOCK_PACKET + 1) macro
116 AA_BUG(type < 0 || type >= SOCK_MAX); in aa_profile_af_perm()
80 static struct list_head inetsw6[SOCK_MAX];769 if (p->type >= SOCK_MAX) in inet6_register_protosw()1084 for (r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r) in inet6_init()
72 #define SOCK_MAX (SOCK_PACKET + 1) macro
127 static struct list_head inetsw[SOCK_MAX];1178 if (p->type >= SOCK_MAX) in inet_register_protosw()1982 for (r = &inetsw[0]; r < &inetsw[SOCK_MAX]; ++r) in inet_init()
1456 if (type < 0 || type >= SOCK_MAX) in __sock_create()1595 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in __sys_socket_create()