Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
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()
459 if (ca->epoch_start && (s32)(tcp_jiffies32 - ca->epoch_start) < HZ) in cubictcp_acked()
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()
Dtcp_timer.c52 elapsed = tcp_jiffies32 - icsk->icsk_probes_tstamp; in tcp_clamp_probe0_to_user_timeout()
109 if ((s32)(tcp_jiffies32 - tp->lsndtime) > 2*TCP_RTO_MAX || !do_reset) in tcp_out_of_resources()
119 if ((s32)(tcp_jiffies32 - tp->lsndtime) <= TCP_TIMEWAIT_LEN || in tcp_out_of_resources()
171 icsk->icsk_mtup.probe_timestamp = tcp_jiffies32; in tcp_mtu_probing()
372 icsk->icsk_probes_tstamp = tcp_jiffies32; in tcp_probe_timer()
374 (s32)(tcp_jiffies32 - icsk->icsk_probes_tstamp) >= in tcp_probe_timer()
499 if (tcp_jiffies32 - tp->rcv_tstamp > TCP_RTO_MAX) { in tcp_retransmit_timer()
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()
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()
Dtcp_minisocks.c509 minmax_reset(&newtp->rtt_min, tcp_jiffies32, ~0U); in tcp_create_openreq_child()
510 newicsk->icsk_ack.lrcvtime = tcp_jiffies32; in tcp_create_openreq_child()
512 newtp->lsndtime = tcp_jiffies32; in tcp_create_openreq_child()
Dtcp_output.c156 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_cwnd_restart()
165 const u32 now = tcp_jiffies32; in tcp_event_data_sent()
1769 icsk->icsk_mtup.probe_timestamp = tcp_jiffies32; in tcp_mtup_init()
1870 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_cwnd_application_limited()
1897 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_cwnd_validate()
1904 (s32)(tcp_jiffies32 - tp->snd_cwnd_stamp) >= inet_csk(sk)->icsk_rto && in tcp_cwnd_validate()
2289 delta = tcp_jiffies32 - icsk->icsk_mtup.probe_timestamp; in tcp_mtu_check_reprobe()
2301 icsk->icsk_mtup.probe_timestamp = tcp_jiffies32; in tcp_mtu_check_reprobe()
2550 const u32 now = tcp_jiffies32; in tcp_chrono_set()
3718 tp->rcv_tstamp = tcp_jiffies32; in tcp_connect_init()
Dtcp_input.c566 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_init_buffer_space()
786 now = tcp_jiffies32; in tcp_event_data_recv()
2159 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_enter_loss()
2507 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_undo_cwnd_reduction()
2662 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_end_cwnd_reduction()
2735 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_mtup_probe_success()
3083 minmax_running_min(&tp->rtt_min, wlen, tcp_jiffies32, in tcp_update_rtt_min()
3153 tcp_sk(sk)->snd_cwnd_stamp = tcp_jiffies32; in tcp_cong_avoid()
3594 s32 elapsed = (s32)(tcp_jiffies32 - *last_oow_ack_time); in __tcp_oow_rate_limited()
3603 *last_oow_ack_time = tcp_jiffies32; in __tcp_oow_rate_limited()
[all …]
Dtcp_htcp.c107 u32 now = tcp_jiffies32; in measure_achieved_throughput()
Dtcp.c427 minmax_reset(&tp->rtt_min, tcp_jiffies32, ~0U); in tcp_init_sock()
3817 stats[i] += tcp_jiffies32 - tp->chrono_start; in tcp_get_info_chrono_stats()
3900 now = tcp_jiffies32; in tcp_get_info()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
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()
505 if (ca->epoch_start && (__s32)(tcp_jiffies32 - ca->epoch_start) < HZ) in BPF_STRUCT_OPS()
/linux-6.1.9/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h23 #define tcp_jiffies32 ((__u32)bpf_jiffies64()) macro
/linux-6.1.9/include/net/
Dtcp.h782 #define tcp_jiffies32 ((u32)jiffies) macro
1425 delta = tcp_jiffies32 - tp->lsndtime; in tcp_slow_start_after_idle_check()
1536 return min_t(u32, tcp_jiffies32 - icsk->icsk_ack.lrcvtime, in keepalive_time_elapsed()
1537 tcp_jiffies32 - tp->rcv_tstamp); in keepalive_time_elapsed()
/linux-6.1.9/net/mptcp/
Dprotocol.c2438 s32 delta = tcp_jiffies32 - inet_csk(sk)->icsk_mtup.probe_timestamp; in mptcp_check_close_timeout()
2579 …close_timeout = inet_csk(sk)->icsk_mtup.probe_timestamp - tcp_jiffies32 + jiffies + TCP_TIMEWAIT_L… in mptcp_reset_timeout()
2931 inet_csk(sk)->icsk_mtup.probe_timestamp = tcp_jiffies32; in __mptcp_close()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c685 tp->lsndtime = tcp_jiffies32; in chtls_push_frames()