Home
last modified time | relevance | path

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

/linux-6.6.21/net/core/
Dbpf_sk_storage.c278 int optmem_max = READ_ONCE(sysctl_optmem_max); in bpf_sk_storage_charge() local
282 if (size <= optmem_max && in bpf_sk_storage_charge()
283 atomic_read(&sk->sk_omem_alloc) + size < optmem_max) { in bpf_sk_storage_charge()
Dsock.c2695 int optmem_max = READ_ONCE(sysctl_optmem_max); in sock_kmalloc() local
2697 if ((unsigned int)size <= optmem_max && in sock_kmalloc()
2698 atomic_read(&sk->sk_omem_alloc) + size < optmem_max) { in sock_kmalloc()
Dfilter.c1221 int optmem_max = READ_ONCE(sysctl_optmem_max); in __sk_filter_charge() local
1224 if (filter_size <= optmem_max && in __sk_filter_charge()
1225 atomic_read(&sk->sk_omem_alloc) + filter_size < optmem_max) { in __sk_filter_charge()
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/chelsio/
Dcxgb.rst159 sysctl -w net.core.optmem_max=524287
/linux-6.6.21/Documentation/admin-guide/sysctl/
Dnet.rst343 optmem_max chapter