• Home
  • Raw
  • Download

Lines Matching refs:u32

60 static u32 cube_rtt_scale __read_mostly;
61 static u32 beta_scale __read_mostly;
87 u32 cnt; /* increase cwnd by 1 after ACKs */
88 u32 last_max_cwnd; /* last maximum snd_cwnd */
89 u32 last_cwnd; /* the last snd_cwnd */
90 u32 last_time; /* time when updated last_cwnd */
91 u32 bic_origin_point;/* origin point of bic function */
92 u32 bic_K; /* time to origin point
94 u32 delay_min; /* min delay (usec) */
95 u32 epoch_start; /* beginning of an epoch */
96 u32 ack_cnt; /* number of acks */
97 u32 tcp_cwnd; /* estimated tcp cwnd */
101 u32 round_start; /* beginning of each round */
102 u32 end_seq; /* end_seq of the round */
103 u32 last_ack; /* last time when the ACK spacing is close */
104 u32 curr_rtt; /* the minimum rtt of current round */
113 static inline u32 bictcp_clock_us(const struct sock *sk) in bictcp_clock_us()
146 u32 now = tcp_jiffies32; in cubictcp_cwnd_event()
167 static u32 cubic_root(u64 a) in cubic_root()
169 u32 x, b, shift; in cubic_root()
192 return ((u32)v[(u32)a] + 35) >> 6; in cubic_root()
198 x = ((u32)(((u32)v[shift] + 10) << b)) >> 6; in cubic_root()
206 x = (2 * x + (u32)div64_u64(a, (u64)x * (u64)(x - 1))); in cubic_root()
214 static inline void bictcp_update(struct bictcp *ca, u32 cwnd, u32 acked) in bictcp_update()
216 u32 delta, bic_target, max_cnt; in bictcp_update()
302 u32 scale = beta_scale; in bictcp_update()
324 __bpf_kfunc static void cubictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) in cubictcp_cong_avoid()
341 __bpf_kfunc static u32 cubictcp_recalc_ssthresh(struct sock *sk) in cubictcp_recalc_ssthresh()
375 static u32 hystart_ack_delay(const struct sock *sk) in hystart_ack_delay()
386 static void hystart_update(struct sock *sk, u32 delay) in hystart_update()
390 u32 threshold; in hystart_update()
396 u32 now = bictcp_clock_us(sk); in hystart_update()
452 u32 delay; in cubictcp_acked()