Home
last modified time | relevance | path

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

/Linux-v6.1/net/core/
Dbpf_sk_storage.c313 int optmem_max = READ_ONCE(sysctl_optmem_max); in bpf_sk_storage_charge() local
317 if (size <= optmem_max && in bpf_sk_storage_charge()
318 atomic_read(&sk->sk_omem_alloc) + size < optmem_max) { in bpf_sk_storage_charge()
Dsock.c2611 int optmem_max = READ_ONCE(sysctl_optmem_max); in sock_kmalloc() local
2613 if ((unsigned int)size <= optmem_max && in sock_kmalloc()
2614 atomic_read(&sk->sk_omem_alloc) + size < optmem_max) { in sock_kmalloc()
Dfilter.c1218 int optmem_max = READ_ONCE(sysctl_optmem_max); in __sk_filter_charge() local
1221 if (filter_size <= optmem_max && in __sk_filter_charge()
1222 atomic_read(&sk->sk_omem_alloc) + filter_size < optmem_max) { in __sk_filter_charge()
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/chelsio/
Dcxgb.rst159 sysctl -w net.core.optmem_max=524287
/Linux-v6.1/Documentation/admin-guide/sysctl/
Dnet.rst337 optmem_max section in 1. /proc/sys/net/core - Network core options
/Linux-v6.1/Documentation/networking/device_drivers/ethernet/intel/
Dixgb.rst280 net.core.optmem_max = 524287