Home
last modified time | relevance | path

Searched refs:tcp_jiffies32 (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/net/ipv4/
H A Dtcp_plb.c73 (!before(tcp_jiffies32, plb->pause_until) || in tcp_plb_check_rehash()
74 before(tcp_jiffies32 + max_suspend, plb->pause_until))) in tcp_plb_check_rehash()
101 plb->pause_until = tcp_jiffies32 + pause; in tcp_plb_update_state_upon_rto()
H A Dtcp_cubic.c146 u32 now = tcp_jiffies32; in cubictcp_cwnd_event()
222 (s32)(tcp_jiffies32 - ca->last_time) <= HZ / 32) in bictcp_update()
229 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update()
233 ca->last_time = tcp_jiffies32; in bictcp_update()
236 ca->epoch_start = tcp_jiffies32; /* record beginning */ in bictcp_update()
267 t = (s32)(tcp_jiffies32 - ca->epoch_start); in bictcp_update()
463 if (ca->epoch_start && (s32)(tcp_jiffies32 - ca->epoch_start) < HZ) in cubictcp_acked()
H A Dtcp_bic.c86 (s32)(tcp_jiffies32 - ca->last_time) <= HZ / 32) in bictcp_update()
90 ca->last_time = tcp_jiffies32; in bictcp_update()
93 ca->epoch_start = tcp_jiffies32; in bictcp_update()
H A Dtcp_westwood.c72 w->rtt_win_sx = tcp_jiffies32; in tcp_westwood_init()
120 s32 delta = tcp_jiffies32 - w->rtt_win_sx; in westwood_update_window()
144 w->rtt_win_sx = tcp_jiffies32; in westwood_update_window()
H A Dtcp_timer.c54 elapsed = tcp_jiffies32 - icsk->icsk_probes_tstamp; in tcp_clamp_probe0_to_user_timeout()
107 if ((s32)(tcp_jiffies32 - tp->lsndtime) > 2*TCP_RTO_MAX || !do_reset) in tcp_out_of_resources()
117 if ((s32)(tcp_jiffies32 - tp->lsndtime) <= TCP_TIMEWAIT_LEN || in tcp_out_of_resources()
169 icsk->icsk_mtup.probe_timestamp = tcp_jiffies32; in tcp_mtu_probing()
386 icsk->icsk_probes_tstamp = tcp_jiffies32; in tcp_probe_timer()
391 (s32)(tcp_jiffies32 - icsk->icsk_probes_tstamp) >= in tcp_probe_timer()
H A Dtcp_bbr.c913 after(tcp_jiffies32, bbr->probe_rtt_done_stamp))) in bbr_check_probe_rtt_done()
916 bbr->min_rtt_stamp = tcp_jiffies32; /* wait a while until PROBE_RTT */ in bbr_check_probe_rtt_done()
947 filter_expired = after(tcp_jiffies32, in bbr_update_min_rtt()
953 bbr->min_rtt_stamp = tcp_jiffies32; in bbr_update_min_rtt()
970 bbr->probe_rtt_done_stamp = tcp_jiffies32 + in bbr_update_min_rtt()
1053 bbr->min_rtt_stamp = tcp_jiffies32; in bbr_init()
H A Dtcp_minisocks.c521 minmax_reset(&newtp->rtt_min, tcp_jiffies32, ~0U); in tcp_create_openreq_child()
522 newicsk->icsk_ack.lrcvtime = tcp_jiffies32; in tcp_create_openreq_child()
524 newtp->lsndtime = tcp_jiffies32; in tcp_create_openreq_child()
H A Dtcp_input.c600 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_init_buffer_space()
816 now = tcp_jiffies32; in tcp_event_data_recv()
2201 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_enter_loss()
2575 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_undo_cwnd_reduction()
2730 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_end_cwnd_reduction()
2803 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_mtup_probe_success()
3181 minmax_running_min(&tp->rtt_min, wlen, tcp_jiffies32, in tcp_update_rtt_min()
3251 tcp_sk(sk)->snd_cwnd_stamp = tcp_jiffies32; in tcp_cong_avoid()
3695 s32 elapsed = (s32)(tcp_jiffies32 - val); in __tcp_oow_rate_limited()
3707 WRITE_ONCE(*last_oow_ack_time, tcp_jiffies32); in __tcp_oow_rate_limited()
[all …]
H A Dtcp_output.c156 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_cwnd_restart()
165 const u32 now = tcp_jiffies32; in tcp_event_data_sent()
1779 icsk->icsk_mtup.probe_timestamp = tcp_jiffies32; in tcp_mtup_init()
1880 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_cwnd_application_limited()
1907 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_cwnd_validate()
1914 (s32)(tcp_jiffies32 - tp->snd_cwnd_stamp) >= inet_csk(sk)->icsk_rto && in tcp_cwnd_validate()
2297 delta = tcp_jiffies32 - icsk->icsk_mtup.probe_timestamp; in tcp_mtu_check_reprobe()
2309 icsk->icsk_mtup.probe_timestamp = tcp_jiffies32; in tcp_mtu_check_reprobe()
2621 const u32 now = tcp_jiffies32; in tcp_chrono_set()
3833 tp->rcv_tstamp = tcp_jiffies32; in tcp_connect_init()
H A Dtcp_htcp.c107 u32 now = tcp_jiffies32; in measure_achieved_throughput()
H A Dtcp.c427 minmax_reset(&tp->rtt_min, tcp_jiffies32, ~0U); in tcp_init_sock()
3743 stats[i] += tcp_jiffies32 - tp->chrono_start; in tcp_get_info_chrono_stats()
3827 now = tcp_jiffies32; in tcp_get_info()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c193 __u32 now = tcp_jiffies32; in BPF_PROG()
275 (__s32)(tcp_jiffies32 - ca->last_time) <= HZ / 32) in bictcp_update()
282 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update()
286 ca->last_time = tcp_jiffies32; in bictcp_update()
289 ca->epoch_start = tcp_jiffies32; /* record beginning */ in bictcp_update()
320 t = (__s32)(tcp_jiffies32 - ca->epoch_start) * USEC_PER_JIFFY; in bictcp_update()
508 if (ca->epoch_start && (__s32)(tcp_jiffies32 - ca->epoch_start) < HZ) in BPF_STRUCT_OPS()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dbpf_tcp_helpers.h23 #define tcp_jiffies32 ((__u32)bpf_jiffies64()) macro
/openbmc/linux/include/net/
H A Dtcp.h798 #define tcp_jiffies32 ((u32)jiffies) macro
1444 delta = tcp_jiffies32 - tp->lsndtime; in tcp_slow_start_after_idle_check()
1602 return min_t(u32, tcp_jiffies32 - icsk->icsk_ack.lrcvtime, in keepalive_time_elapsed()
1603 tcp_jiffies32 - tp->rcv_tstamp); in keepalive_time_elapsed()
/openbmc/linux/net/mptcp/
H A Dprotocol.h771 mptcp_set_close_tout(sk, tcp_jiffies32); in mptcp_start_tout_timer()
H A Dprotocol.c2420 mptcp_set_close_tout(sk, tcp_jiffies32 - (TCP_TIMEWAIT_LEN + 1)); in __mptcp_close_ssk()
2554 return time_after32(tcp_jiffies32, in mptcp_close_tout_expired()
2698 tcp_jiffies32 + jiffies + TCP_TIMEWAIT_LEN; in mptcp_reset_tout_timer()
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c685 tp->lsndtime = tcp_jiffies32; in chtls_push_frames()
H A Dchtls_cm.c2262 tp->rcv_tstamp = tcp_jiffies32; in chtls_rx_ack()