Searched refs:SOCK_MAX (Results 1 – 7 of 7) sorted by relevance
39 #define SOCK_MAX (SOCK_PACKET + 1) macro
68 static struct list_head inetsw_nip[SOCK_MAX];96 sock->type >= SOCK_MAX) in ninet_create()648 if (p->type >= SOCK_MAX) in ninet_register_protosw()740 for (r = &inetsw_nip[0]; r < &inetsw_nip[SOCK_MAX]; ++r) in ninet_init()
116 AA_BUG(type < 0 || type >= SOCK_MAX); in aa_profile_af_perm()
78 static struct list_head inetsw6[SOCK_MAX];749 if (p->type >= SOCK_MAX) in inet6_register_protosw()1057 for (r = &inetsw6[0]; r < &inetsw6[SOCK_MAX]; ++r) in inet6_init()
71 #define SOCK_MAX (SOCK_PACKET + 1) macro
126 static struct list_head inetsw[SOCK_MAX];1176 if (p->type >= SOCK_MAX) in inet_register_protosw()1992 for (r = &inetsw[0]; r < &inetsw[SOCK_MAX]; ++r) in inet_init()
1357 if (type < 0 || type >= SOCK_MAX) in __sock_create()1497 BUILD_BUG_ON((SOCK_MAX | SOCK_TYPE_MASK) != SOCK_TYPE_MASK); in __sys_socket()