Lines Matching refs:elapsed
29 u32 elapsed, start_ts; in tcp_clamp_rto_to_user_timeout() local
35 elapsed = tcp_time_stamp(tcp_sk(sk)) - start_ts; in tcp_clamp_rto_to_user_timeout()
36 remaining = icsk->icsk_user_timeout - elapsed; in tcp_clamp_rto_to_user_timeout()
359 u32 elapsed = tcp_model_timeout(sk, icsk->icsk_probes_out, in tcp_probe_timer() local
362 if (elapsed >= icsk->icsk_user_timeout) in tcp_probe_timer()
655 u32 elapsed; in tcp_keepalive_timer() local
688 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()
694 elapsed = keepalive_time_elapsed(tp); in tcp_keepalive_timer()
696 if (elapsed >= keepalive_time_when(tp)) { in tcp_keepalive_timer()
701 elapsed >= msecs_to_jiffies(icsk->icsk_user_timeout) && in tcp_keepalive_timer()
711 elapsed = keepalive_intvl_when(tp); in tcp_keepalive_timer()
716 elapsed = TCP_RESOURCE_PROBE_INTERVAL; in tcp_keepalive_timer()
720 elapsed = keepalive_time_when(tp) - elapsed; in tcp_keepalive_timer()
726 inet_csk_reset_keepalive_timer (sk, elapsed); in tcp_keepalive_timer()