Searched refs:SOCK_MAX (Results 1 – 6 of 6) sorted by relevance
39 #define SOCK_MAX (SOCK_PACKET + 1) macro
114 AA_BUG(type < 0 || type >= SOCK_MAX); in aa_profile_af_perm()
75 static struct list_head inetsw6[SOCK_MAX];678 if (p->type >= SOCK_MAX) in inet6_register_protosw()979 for (r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r) in inet6_init()
69 #define SOCK_MAX (SOCK_PACKET + 1) macro
125 static struct list_head inetsw[SOCK_MAX];1135 if (p->type >= SOCK_MAX) in inet_register_protosw()1959 for (r = &inetsw[0]; r < &inetsw[SOCK_MAX]; ++r) in inet_init()
1359 if (type < 0 || type >= SOCK_MAX) in __sock_create()1499 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in __sys_socket()