Home
last modified time | relevance | path

Searched refs:epoch_start (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dbpf_cubic.c82 __u32 epoch_start; /* beginning of an epoch */ member
103 ca->epoch_start = 0; in bictcp_reset()
207 if (ca->epoch_start && delta > 0) { in BPF_PROG()
208 ca->epoch_start += delta; in BPF_PROG()
209 if (after(ca->epoch_start, now)) in BPF_PROG()
210 ca->epoch_start = now; in BPF_PROG()
288 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update()
294 if (ca->epoch_start == 0) { 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()
[all …]
/Linux-v5.10/net/ipv4/
Dtcp_cubic.c93 u32 epoch_start; /* beginning of an epoch */ member
114 ca->epoch_start = 0; in bictcp_reset()
161 if (ca->epoch_start && delta > 0) { in bictcp_cwnd_event()
162 ca->epoch_start += delta; in bictcp_cwnd_event()
163 if (after(ca->epoch_start, now)) in bictcp_cwnd_event()
164 ca->epoch_start = now; in bictcp_cwnd_event()
236 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update()
242 if (ca->epoch_start == 0) { 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()
[all …]
Dtcp_bic.c55 u32 epoch_start; /* beginning of an epoch */ member
66 ca->epoch_start = 0; in bictcp_reset()
92 if (ca->epoch_start == 0) /* record the beginning of an epoch */ in bictcp_update()
93 ca->epoch_start = tcp_jiffies32; in bictcp_update()
166 ca->epoch_start = 0; /* end of epoch */ in bictcp_recalc_ssthresh()