Searched refs:tcp_jiffies32 (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | bpf_cubic.c | 199 __u32 now = tcp_jiffies32; in BPF_PROG() 281 (__s32)(tcp_jiffies32 - ca->last_time) <= HZ / 32) in bictcp_update() 288 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update() 292 ca->last_time = tcp_jiffies32; in bictcp_update() 295 ca->epoch_start = tcp_jiffies32; /* record beginning */ in bictcp_update() 326 t = (__s32)(tcp_jiffies32 - ca->epoch_start) * USEC_PER_JIFFY; in bictcp_update() 511 if (ca->epoch_start && (__s32)(tcp_jiffies32 - ca->epoch_start) < HZ) in BPF_STRUCT_OPS()
|
/Linux-v5.10/net/ipv4/ |
D | tcp_cubic.c | 153 u32 now = tcp_jiffies32; in bictcp_cwnd_event() 229 (s32)(tcp_jiffies32 - ca->last_time) <= HZ / 32) in bictcp_update() 236 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update() 240 ca->last_time = tcp_jiffies32; in bictcp_update() 243 ca->epoch_start = tcp_jiffies32; /* record beginning */ in bictcp_update() 274 t = (s32)(tcp_jiffies32 - ca->epoch_start); in bictcp_update() 465 if (ca->epoch_start && (s32)(tcp_jiffies32 - ca->epoch_start) < HZ) in bictcp_acked()
|
D | tcp_bic.c | 86 (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()
|
D | tcp_westwood.c | 72 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()
|
D | tcp_timer.c | 91 if ((s32)(tcp_jiffies32 - tp->lsndtime) > 2*TCP_RTO_MAX || !do_reset) in tcp_out_of_resources() 101 if ((s32)(tcp_jiffies32 - tp->lsndtime) <= TCP_TIMEWAIT_LEN || in tcp_out_of_resources() 153 icsk->icsk_mtup.probe_timestamp = tcp_jiffies32; in tcp_mtu_probing() 489 if (tcp_jiffies32 - tp->rcv_tstamp > TCP_RTO_MAX) { in tcp_retransmit_timer()
|
D | tcp_bbr.c | 911 after(tcp_jiffies32, bbr->probe_rtt_done_stamp))) in bbr_check_probe_rtt_done() 914 bbr->min_rtt_stamp = tcp_jiffies32; /* wait a while until PROBE_RTT */ in bbr_check_probe_rtt_done() 945 filter_expired = after(tcp_jiffies32, in bbr_update_min_rtt() 951 bbr->min_rtt_stamp = tcp_jiffies32; in bbr_update_min_rtt() 968 bbr->probe_rtt_done_stamp = tcp_jiffies32 + in bbr_update_min_rtt() 1051 bbr->min_rtt_stamp = tcp_jiffies32; in bbr_init()
|
D | tcp_minisocks.c | 495 minmax_reset(&newtp->rtt_min, tcp_jiffies32, ~0U); in tcp_create_openreq_child() 496 newicsk->icsk_ack.lrcvtime = tcp_jiffies32; in tcp_create_openreq_child() 498 newtp->lsndtime = tcp_jiffies32; in tcp_create_openreq_child()
|
D | tcp_output.c | 155 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_cwnd_restart() 164 const u32 now = tcp_jiffies32; in tcp_event_data_sent() 1770 icsk->icsk_mtup.probe_timestamp = tcp_jiffies32; in tcp_mtup_init() 1871 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_cwnd_application_limited() 1893 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_cwnd_validate() 1900 (s32)(tcp_jiffies32 - tp->snd_cwnd_stamp) >= inet_csk(sk)->icsk_rto && in tcp_cwnd_validate() 2279 delta = tcp_jiffies32 - icsk->icsk_mtup.probe_timestamp; in tcp_mtu_check_reprobe() 2291 icsk->icsk_mtup.probe_timestamp = tcp_jiffies32; in tcp_mtu_check_reprobe() 2540 const u32 now = tcp_jiffies32; in tcp_chrono_set() 3704 tp->rcv_tstamp = tcp_jiffies32; in tcp_connect_init()
|
D | tcp_input.c | 535 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_init_buffer_space() 754 now = tcp_jiffies32; in tcp_event_data_recv() 2115 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_enter_loss() 2460 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_undo_cwnd_reduction() 2605 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_end_cwnd_reduction() 2675 tp->snd_cwnd_stamp = tcp_jiffies32; in tcp_mtup_probe_success() 3000 minmax_running_min(&tp->rtt_min, wlen, tcp_jiffies32, in tcp_update_rtt_min() 3070 tcp_sk(sk)->snd_cwnd_stamp = tcp_jiffies32; in tcp_cong_avoid() 3510 s32 elapsed = (s32)(tcp_jiffies32 - *last_oow_ack_time); in __tcp_oow_rate_limited() 3518 *last_oow_ack_time = tcp_jiffies32; in __tcp_oow_rate_limited() [all …]
|
D | tcp_htcp.c | 107 u32 now = tcp_jiffies32; in measure_achieved_throughput()
|
D | tcp.c | 424 minmax_reset(&tp->rtt_min, tcp_jiffies32, ~0U); in tcp_init_sock() 3353 stats[i] += tcp_jiffies32 - tp->chrono_start; in tcp_get_info_chrono_stats() 3436 now = tcp_jiffies32; in tcp_get_info()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | bpf_tcp_helpers.h | 15 #define tcp_jiffies32 ((__u32)bpf_jiffies64()) macro
|
/Linux-v5.10/include/net/ |
D | tcp.h | 751 #define tcp_jiffies32 ((u32)jiffies) macro 1384 delta = tcp_jiffies32 - tp->lsndtime; in tcp_slow_start_after_idle_check() 1464 return min_t(u32, tcp_jiffies32 - icsk->icsk_ack.lrcvtime, in keepalive_time_elapsed() 1465 tcp_jiffies32 - tp->rcv_tstamp); in keepalive_time_elapsed()
|
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_io.c | 685 tp->lsndtime = tcp_jiffies32; in chtls_push_frames()
|