Lines Matching full:alive
146 * @alive: bool, socket alive state
148 static int tcp_orphan_retries(struct sock *sk, bool alive) in tcp_orphan_retries() argument
153 if (READ_ONCE(sk->sk_err_soft) && !alive) in tcp_orphan_retries()
159 if (retries == 0 && alive) in tcp_orphan_retries()
271 const bool alive = icsk->icsk_rto < TCP_RTO_MAX; in tcp_write_timeout() local
273 retry_until = tcp_orphan_retries(sk, alive); in tcp_write_timeout()
274 do_reset = alive || in tcp_write_timeout()
410 const bool alive = inet_csk_rto_backoff(icsk, TCP_RTO_MAX) < TCP_RTO_MAX; in tcp_probe_timer() local
412 max_probes = tcp_orphan_retries(sk, alive); in tcp_probe_timer()
413 if (!alive && icsk->icsk_backoff >= max_probes) in tcp_probe_timer()
793 /* It is alive without keepalive 8) */ in tcp_keepalive_timer()