Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 9 of 9) sorted by relevance

/net/ipv4/
Dtcp_timer.c644 u32 elapsed; in tcp_keepalive_timer() local
676 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()
Dipconfig.c267 int wait, elapsed; in ic_open_devs() local
278 elapsed = jiffies_to_msecs(jiffies - start); in ic_open_devs()
279 wait = (CONF_CARRIER_TIMEOUT - elapsed + 500)/1000; in ic_open_devs()
Dtcp.c2610 u32 elapsed = keepalive_time_elapsed(tp); in do_tcp_setsockopt() local
2611 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()
Dtcp_input.c3446 s32 elapsed = (s32)(tcp_time_stamp - *last_oow_ack_time); in __tcp_oow_rate_limited() local
3448 if (0 <= elapsed && elapsed < sysctl_tcp_invalid_ratelimit) { in __tcp_oow_rate_limited()
/net/sctp/
Dsm_sideeffect.c368 u32 elapsed, timeout; in sctp_generate_heartbeat_event() local
381 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()
/net/mac80211/
Doffchannel.c650 u32 elapsed = jiffies_to_msecs(now - tmp->start_time); in ieee80211_start_roc_work() local
654 if (elapsed + roc->duration > max_roc) { in ieee80211_start_roc_work()
/net/bluetooth/
Dhci_request.c1960 int elapsed; in le_scan_restart_work() local
1963 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()
/net/core/
Dpktgen.c3223 ktime_t elapsed = ktime_sub(pkt_dev->stopped_at, in show_results() local
3228 (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()
/net/tipc/
Dlink.c1622 unsigned long elapsed = jiffies_to_msecs(jiffies - l->prev_retr); in link_bc_retr_eval() local
1628 if ((elapsed > TIPC_BC_RETR_LIMIT) || in link_bc_retr_eval()