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.h16 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.c212 if (optlen > READ_ONCE(sock_net(sk)->core.sysctl_optmem_max)) in ipv6_set_mcast_msfilter()
246 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.c653 .data = &init_net.core.sysctl_optmem_max,
H A Dbpf_sk_storage.c281 optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in bpf_sk_storage_charge()
H A Dnet_namespace.c318 net->core.sysctl_optmem_max = 128 * 1024; in preinit_net_sysctl()
H A Dsock.c2757 READ_ONCE(sock_net(sk)->core.sysctl_optmem_max)) in sock_omalloc()
2775 int optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in sock_kmalloc()
H A Dfilter.c1227 int optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in __sk_filter_charge()
1563 optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in sk_reuseport_attach_filter()
1631 optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in sk_reuseport_attach_bpf()