Lines Matching refs:htcp
25 struct htcp { struct
48 static inline u32 htcp_cong_time(const struct htcp *ca) in htcp_cong_time() argument
53 static inline u32 htcp_ccount(const struct htcp *ca) in htcp_ccount()
58 static inline void htcp_reset(struct htcp *ca) in htcp_reset()
69 struct htcp *ca = inet_csk_ca(sk); in htcp_cwnd_undo()
84 struct htcp *ca = inet_csk_ca(sk); in measure_rtt()
105 struct htcp *ca = inet_csk_ca(sk); in measure_achieved_throughput()
146 static inline void htcp_beta_update(struct htcp *ca, u32 minRTT, u32 maxRTT) in htcp_beta_update()
172 static inline void htcp_alpha_update(struct htcp *ca) in htcp_alpha_update()
209 struct htcp *ca = inet_csk_ca(sk); in htcp_param_update()
224 const struct htcp *ca = inet_csk_ca(sk); in htcp_recalc_ssthresh()
233 struct htcp *ca = inet_csk_ca(sk); in htcp_cong_avoid()
258 struct htcp *ca = inet_csk_ca(sk); in htcp_init()
260 memset(ca, 0, sizeof(struct htcp)); in htcp_init()
272 struct htcp *ca = inet_csk_ca(sk); in htcp_state()
288 static struct tcp_congestion_ops htcp __read_mostly = {
301 BUILD_BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE); in htcp_register()
303 return tcp_register_congestion_control(&htcp); in htcp_register()
308 tcp_unregister_congestion_control(&htcp); in htcp_unregister()