Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c82 __u32 epoch_start; /* beginning of an epoch */ member
103 ca->epoch_start = 0; in bictcp_reset()
201 if (ca->epoch_start && delta > 0) { in BPF_PROG()
202 ca->epoch_start += delta; in BPF_PROG()
203 if (after(ca->epoch_start, now)) in BPF_PROG()
204 ca->epoch_start = now; in BPF_PROG()
282 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update()
288 if (ca->epoch_start == 0) { in bictcp_update()
289 ca->epoch_start = tcp_jiffies32; /* record beginning */ in bictcp_update()
405 ca->epoch_start = 0; /* end of epoch */ in BPF_STRUCT_OPS()
[all …]
/openbmc/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()