Lines Matching full:elapsed
29 u32 elapsed, start_ts, user_timeout; in tcp_clamp_rto_to_user_timeout() local
36 elapsed = tcp_time_stamp(tcp_sk(sk)) - start_ts; in tcp_clamp_rto_to_user_timeout()
37 remaining = user_timeout - elapsed; in tcp_clamp_rto_to_user_timeout()
48 s32 elapsed; in tcp_clamp_probe0_to_user_timeout() local
54 elapsed = tcp_jiffies32 - icsk->icsk_probes_tstamp; in tcp_clamp_probe0_to_user_timeout()
55 if (unlikely(elapsed < 0)) in tcp_clamp_probe0_to_user_timeout()
56 elapsed = 0; in tcp_clamp_probe0_to_user_timeout()
57 remaining = msecs_to_jiffies(user_timeout) - elapsed; in tcp_clamp_probe0_to_user_timeout()
745 u32 elapsed; in tcp_keepalive_timer() local
778 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()
784 elapsed = keepalive_time_elapsed(tp); in tcp_keepalive_timer()
786 if (elapsed >= keepalive_time_when(tp)) { in tcp_keepalive_timer()
793 elapsed >= msecs_to_jiffies(user_timeout) && in tcp_keepalive_timer()
803 elapsed = keepalive_intvl_when(tp); in tcp_keepalive_timer()
808 elapsed = TCP_RESOURCE_PROBE_INTERVAL; in tcp_keepalive_timer()
812 elapsed = keepalive_time_when(tp) - elapsed; in tcp_keepalive_timer()
816 inet_csk_reset_keepalive_timer (sk, elapsed); in tcp_keepalive_timer()