Home
last modified time | relevance | path

Searched refs:sysctl_optmem_max (Results 1 – 8 of 8) sorted by relevance

/linux/include/net/netns/
H A Dcore.h17 int sysctl_optmem_max; member
/linux/net/ipv4/
H A Dip_sockglue.c776 if (optlen > READ_ONCE(sock_net(sk)->core.sysctl_optmem_max)) in ip_set_mcast_msfilter()
812 if (optlen > READ_ONCE(sock_net(sk)->core.sysctl_optmem_max) - 4) in compat_ip_set_mcast_msfilter()
1259 if (optlen > READ_ONCE(net->core.sysctl_optmem_max)) { in do_ip_setsockopt()
/linux/net/ipv6/
H A Dipv6_sockglue.c196 if (optlen > READ_ONCE(sock_net(sk)->core.sysctl_optmem_max)) in ipv6_set_mcast_msfilter()
230 if (optlen > READ_ONCE(sock_net(sk)->core.sysctl_optmem_max) - 4) in compat_ipv6_set_mcast_msfilter()
/linux/net/core/
H A Dsysctl_net_core.c669 .data = &init_net.core.sysctl_optmem_max,
H A Dbpf_sk_storage.c288 optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in bpf_sk_storage_charge()
H A Dnet_namespace.c395 net->core.sysctl_optmem_max = 128 * 1024; in preinit_net_sysctl()
H A Dsock.c2853 READ_ONCE(sock_net(sk)->core.sysctl_optmem_max)) in sock_omalloc()
2871 int optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in sock_kmalloc()
H A Dfilter.c1243 int optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in __sk_filter_charge()
1579 optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in sk_reuseport_attach_filter()
1647 optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in sk_reuseport_attach_bpf()