Home
last modified time | relevance | path

Searched refs:sysctl_optmem_max (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/net/core/
H A Dsysctl_net_core.c451 .data = &sysctl_optmem_max,
H A Dbpf_sk_storage.c307 int optmem_max = READ_ONCE(sysctl_optmem_max); in sk_storage_charge()
H A Dsock.c277 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);
278 EXPORT_SYMBOL(sysctl_optmem_max); variable
1941 * if sysctl_optmem_max was changed between creation of in sk_clone_lock()
2237 READ_ONCE(sysctl_optmem_max)) in sock_omalloc()
2255 int optmem_max = READ_ONCE(sysctl_optmem_max); in sock_kmalloc()
H A Dfilter.c1221 int optmem_max = READ_ONCE(sysctl_optmem_max); in __sk_filter_charge()
1557 if (bpf_prog_size(prog->len) > READ_ONCE(sysctl_optmem_max)) in sk_reuseport_attach_filter()
1611 * Hence, sysctl_optmem_max is not checked. in sk_reuseport_attach_bpf()
1624 if (bpf_prog_size(prog->len) > READ_ONCE(sysctl_optmem_max)) { in sk_reuseport_attach_bpf()
/kernel/linux/linux-5.10/net/ipv6/
H A Dipv6_sockglue.c211 if (optlen > READ_ONCE(sysctl_optmem_max)) in ipv6_set_mcast_msfilter()
245 if (optlen > READ_ONCE(sysctl_optmem_max) - 4) in compat_ipv6_set_mcast_msfilter()
/kernel/linux/linux-6.6/net/ipv6/
H A Dipv6_sockglue.c213 if (optlen > READ_ONCE(sysctl_optmem_max)) in ipv6_set_mcast_msfilter()
247 if (optlen > READ_ONCE(sysctl_optmem_max) - 4) in compat_ipv6_set_mcast_msfilter()
/kernel/linux/linux-5.10/net/ipv4/
H A Dip_sockglue.c783 if (optlen > READ_ONCE(sysctl_optmem_max)) in ip_set_mcast_msfilter()
818 if (optlen > READ_ONCE(sysctl_optmem_max) - 4) in compat_ip_set_mcast_msfilter()
1241 if (optlen > READ_ONCE(sysctl_optmem_max)) { in do_ip_setsockopt()
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_sockglue.c778 if (optlen > READ_ONCE(sysctl_optmem_max)) in ip_set_mcast_msfilter()
814 if (optlen > READ_ONCE(sysctl_optmem_max) - 4) in compat_ip_set_mcast_msfilter()
1247 if (optlen > READ_ONCE(sysctl_optmem_max)) { in do_ip_setsockopt()
/kernel/linux/linux-6.6/net/core/
H A Dsysctl_net_core.c513 .data = &sysctl_optmem_max,
H A Dsock.c288 int sysctl_optmem_max __read_mostly = sizeof(unsigned long)*(2*UIO_MAXIOV+512);
289 EXPORT_SYMBOL(sysctl_optmem_max); variable
2358 * if sysctl_optmem_max was changed between creation of in sk_clone_lock()
2677 READ_ONCE(sysctl_optmem_max)) in sock_omalloc()
2695 int optmem_max = READ_ONCE(sysctl_optmem_max); in sock_kmalloc()
H A Dbpf_sk_storage.c278 int optmem_max = READ_ONCE(sysctl_optmem_max); in bpf_sk_storage_charge()
H A Dfilter.c1221 int optmem_max = READ_ONCE(sysctl_optmem_max); in __sk_filter_charge()
1556 if (bpf_prog_size(prog->len) > READ_ONCE(sysctl_optmem_max)) in sk_reuseport_attach_filter()
1610 * Hence, sysctl_optmem_max is not checked. in sk_reuseport_attach_bpf()
1623 if (bpf_prog_size(prog->len) > READ_ONCE(sysctl_optmem_max)) { in sk_reuseport_attach_bpf()
/kernel/linux/linux-5.10/include/net/
H A Dsock.h2757 extern int sysctl_optmem_max;
/kernel/linux/linux-6.6/include/net/
H A Dsock.h2943 extern int sysctl_optmem_max;

Completed in 52 milliseconds