Home
last modified time | relevance | path

Searched refs:unused_mem (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/include/net/
Dsock.h1646 int unused_mem; in sk_unused_reserved_mem() local
1651 unused_mem = sk->sk_reserved_mem - sk->sk_wmem_queued - in sk_unused_reserved_mem()
1654 return unused_mem > 0 ? unused_mem : 0; in sk_unused_reserved_mem()
Dtcp.h1487 int unused_mem = sk_unused_reserved_mem(sk); in __tcp_adjust_rcv_ssthresh() local
1491 if (unused_mem) in __tcp_adjust_rcv_ssthresh()
1493 tcp_win_from_space(sk, unused_mem)); in __tcp_adjust_rcv_ssthresh()
/linux-6.6.21/net/ipv4/
Dtcp_input.c5490 int unused_mem = sk_unused_reserved_mem(sk); in tcp_should_expand_sndbuf() local
5496 if (unused_mem > SOCK_MIN_SNDBUF) in tcp_should_expand_sndbuf()
5497 WRITE_ONCE(sk->sk_sndbuf, unused_mem); in tcp_should_expand_sndbuf()