Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c90 __u32 epoch_start; /* beginning of an epoch */ member
111 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()
287 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update()
293 if (ca->epoch_start == 0) { in bictcp_update()
294 ca->epoch_start = tcp_jiffies32; /* record beginning */ in bictcp_update()
411 ca->epoch_start = 0; /* end of epoch */ in BPF_PROG()
[all …]
/linux/net/ipv4/
H A Dtcp_cubic.c95 u32 epoch_start; /* beginning of an epoch */ member
154 if (ca->epoch_start && delta > 0) { in cubictcp_cwnd_event()
155 ca->epoch_start += delta; in cubictcp_cwnd_event()
156 if (after(ca->epoch_start, now)) in cubictcp_cwnd_event()
157 ca->epoch_start = now; in cubictcp_cwnd_event()
229 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update()
235 if (ca->epoch_start == 0) { 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()
346 ca->epoch_start = 0; /* end of epoch */ in cubictcp_recalc_ssthresh()
[all …]
H A 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()