Home
last modified time | relevance | path

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

/linux-6.15/include/net/netns/
H A Dcore.h16 int sysctl_optmem_max; member
/linux-6.15/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-6.15/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-6.15/net/core/
H A Dsysctl_net_core.c664 .data = &init_net.core.sysctl_optmem_max,
H A Dbpf_sk_storage.c284 optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in bpf_sk_storage_charge()
H A Dnet_namespace.c317 net->core.sysctl_optmem_max = 128 * 1024; in preinit_net_sysctl()
H A Dsock.c2812 READ_ONCE(sock_net(sk)->core.sysctl_optmem_max)) in sock_omalloc()
2830 int optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in sock_kmalloc()
H A Dfilter.c1235 int optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in __sk_filter_charge()
1571 optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in sk_reuseport_attach_filter()
1639 optmem_max = READ_ONCE(sock_net(sk)->core.sysctl_optmem_max); in sk_reuseport_attach_bpf()