Searched refs:sk_prot_mem_limits (Results 1 – 4 of 4) sorted by relevance
/linux/net/core/ |
H A D | sock.c | 1035 if (allocated > sk_prot_mem_limits(sk, 1)) { in sock_reserve_memory() 3173 if (allocated <= sk_prot_mem_limits(sk, 0)) { in __sk_mem_raise_allocated() 3179 if (allocated > sk_prot_mem_limits(sk, 1)) in __sk_mem_raise_allocated() 3183 if (allocated > sk_prot_mem_limits(sk, 2)) in __sk_mem_raise_allocated() 3224 if (sk_prot_mem_limits(sk, 2) > alloc * in __sk_mem_raise_allocated() 3297 (sk_memory_allocated(sk) < sk_prot_mem_limits(sk, 0))) in __sk_mem_reduce_allocated()
|
/linux/include/net/ |
H A D | sock.h | 1503 static inline long sk_prot_mem_limits(const struct sock *sk, int index) in sk_prot_mem_limits() function
|
/linux/net/ipv4/ |
H A D | tcp_input.c | 607 sk_memory_allocated(sk) < sk_prot_mem_limits(sk, 0)) { in tcp_clamp_window() 5695 if (sk_memory_allocated(sk) >= sk_prot_mem_limits(sk, 0)) in tcp_should_expand_sndbuf()
|
H A D | tcp.c | 3028 sk_memory_allocated(sk) > sk_prot_mem_limits(sk, 2)) in tcp_out_of_memory()
|