Home
last modified time | relevance | path

Searched refs:AF_MAX (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/net/core/
Dsock_diag.c18 static const struct sock_diag_handler *sock_diag_handlers[AF_MAX];
183 if (hndl->family >= AF_MAX) in sock_diag_register()
201 if (family >= AF_MAX) in sock_diag_unregister()
220 if (req->sdiag_family >= AF_MAX) in __sock_diag_cmd()
222 req->sdiag_family = array_index_nospec(req->sdiag_family, AF_MAX); in __sock_diag_cmd()
Dsock.c204 static struct lock_class_key af_family_keys[AF_MAX];
205 static struct lock_class_key af_family_kern_keys[AF_MAX];
206 static struct lock_class_key af_family_slock_keys[AF_MAX];
207 static struct lock_class_key af_family_kern_slock_keys[AF_MAX];
233 static const char *const af_family_key_strings[AF_MAX+1] = {
236 static const char *const af_family_slock_key_strings[AF_MAX+1] = {
239 static const char *const af_family_clock_key_strings[AF_MAX+1] = {
243 static const char *const af_family_kern_key_strings[AF_MAX+1] = {
246 static const char *const af_family_kern_slock_key_strings[AF_MAX+1] = {
249 static const char *const af_family_kern_clock_key_strings[AF_MAX+1] = {
[all …]
/Linux-v4.19/include/uapi/linux/
Dnet.h25 #define NPROTO AF_MAX
/Linux-v4.19/tools/testing/selftests/net/
Dsocket.c27 { AF_MAX, 0, 0, -EAFNOSUPPORT, 0 },
/Linux-v4.19/include/linux/
Dsocket.h212 #define AF_MAX 45 /* For now.. */ macro
262 #define PF_MAX AF_MAX
/Linux-v4.19/security/apparmor/
Dnet.c116 AA_BUG(family >= AF_MAX); in aa_profile_af_perm()