Searched refs:elapsed (Results 1 – 9 of 9) sorted by relevance
644 u32 elapsed; in tcp_keepalive_timer() local676 elapsed = keepalive_time_when(tp); in tcp_keepalive_timer()682 elapsed = keepalive_time_elapsed(tp); in tcp_keepalive_timer()684 if (elapsed >= keepalive_time_when(tp)) { in tcp_keepalive_timer()689 elapsed >= icsk->icsk_user_timeout && in tcp_keepalive_timer()699 elapsed = keepalive_intvl_when(tp); in tcp_keepalive_timer()704 elapsed = TCP_RESOURCE_PROBE_INTERVAL; in tcp_keepalive_timer()708 elapsed = keepalive_time_when(tp) - elapsed; in tcp_keepalive_timer()714 inet_csk_reset_keepalive_timer (sk, elapsed); in tcp_keepalive_timer()
267 int wait, elapsed; in ic_open_devs() local278 elapsed = jiffies_to_msecs(jiffies - start); in ic_open_devs()279 wait = (CONF_CARRIER_TIMEOUT - elapsed + 500)/1000; in ic_open_devs()
2610 u32 elapsed = keepalive_time_elapsed(tp); in do_tcp_setsockopt() local2611 if (tp->keepalive_time > elapsed) in do_tcp_setsockopt()2612 elapsed = tp->keepalive_time - elapsed; in do_tcp_setsockopt()2614 elapsed = 0; in do_tcp_setsockopt()2615 inet_csk_reset_keepalive_timer(sk, elapsed); in do_tcp_setsockopt()
3446 s32 elapsed = (s32)(tcp_time_stamp - *last_oow_ack_time); in __tcp_oow_rate_limited() local3448 if (0 <= elapsed && elapsed < sysctl_tcp_invalid_ratelimit) { in __tcp_oow_rate_limited()
368 u32 elapsed, timeout; in sctp_generate_heartbeat_event() local381 elapsed = jiffies - transport->last_time_sent; in sctp_generate_heartbeat_event()383 if (elapsed < timeout) { in sctp_generate_heartbeat_event()384 elapsed = timeout - elapsed; in sctp_generate_heartbeat_event()385 if (!mod_timer(&transport->hb_timer, jiffies + elapsed)) in sctp_generate_heartbeat_event()
650 u32 elapsed = jiffies_to_msecs(now - tmp->start_time); in ieee80211_start_roc_work() local654 if (elapsed + roc->duration > max_roc) { in ieee80211_start_roc_work()
1960 int elapsed; in le_scan_restart_work() local1963 elapsed = now - scan_start; in le_scan_restart_work()1965 elapsed = ULONG_MAX - scan_start + now; in le_scan_restart_work()1967 timeout = duration - elapsed; in le_scan_restart_work()
3223 ktime_t elapsed = ktime_sub(pkt_dev->stopped_at, in show_results() local3228 (unsigned long long)ktime_to_us(elapsed), in show_results()3229 (unsigned long long)ktime_to_us(ktime_sub(elapsed, idle)), in show_results()3235 ktime_to_ns(elapsed)); in show_results()
1622 unsigned long elapsed = jiffies_to_msecs(jiffies - l->prev_retr); in link_bc_retr_eval() local1628 if ((elapsed > TIPC_BC_RETR_LIMIT) || in link_bc_retr_eval()