Searched refs:SOCK_MAX (Results 1 – 6 of 6) sorted by relevance
39 #define SOCK_MAX (SOCK_PACKET + 1) macro
120 AA_BUG(type < 0 || type >= SOCK_MAX); in aa_profile_af_perm()
80 static struct list_head inetsw6[SOCK_MAX];761 if (p->type >= SOCK_MAX) in inet6_register_protosw()1078 for (r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r) in inet6_init()
74 #define SOCK_MAX (SOCK_PACKET + 1) macro
128 static struct list_head inetsw[SOCK_MAX];1200 if (p->type >= SOCK_MAX) in inet_register_protosw()2010 for (r = &inetsw[0]; r < &inetsw[SOCK_MAX]; ++r) in inet_init()
1512 if (type < 0 || type >= SOCK_MAX) in __sock_create()1656 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in __sys_socket_create()