Searched refs:optmem_max (Results 1 – 6 of 6) sorted by relevance
307 int optmem_max = READ_ONCE(sysctl_optmem_max); in sk_storage_charge() local311 if (size <= optmem_max && in sk_storage_charge()312 atomic_read(&sk->sk_omem_alloc) + size < optmem_max) { in sk_storage_charge()
2241 int optmem_max = READ_ONCE(sysctl_optmem_max); in sock_kmalloc() local2243 if ((unsigned int)size <= optmem_max && in sock_kmalloc()2244 atomic_read(&sk->sk_omem_alloc) + size < optmem_max) { in sock_kmalloc()
1215 int optmem_max = READ_ONCE(sysctl_optmem_max); in __sk_filter_charge() local1218 if (filter_size <= optmem_max && in __sk_filter_charge()1219 atomic_read(&sk->sk_omem_alloc) + filter_size < optmem_max) { in __sk_filter_charge()
159 sysctl -w net.core.optmem_max=524287
314 optmem_max chapter
280 net.core.optmem_max = 524287