Lines Matching refs:htcp
26 struct htcp { struct
49 static inline u32 htcp_cong_time(const struct htcp *ca) in htcp_cong_time() argument
54 static inline u32 htcp_ccount(const struct htcp *ca) in htcp_ccount()
59 static inline void htcp_reset(struct htcp *ca) in htcp_reset()
70 struct htcp *ca = inet_csk_ca(sk); in htcp_cwnd_undo()
85 struct htcp *ca = inet_csk_ca(sk); in measure_rtt()
106 struct htcp *ca = inet_csk_ca(sk); in measure_achieved_throughput()
147 static inline void htcp_beta_update(struct htcp *ca, u32 minRTT, u32 maxRTT) in htcp_beta_update()
173 static inline void htcp_alpha_update(struct htcp *ca) in htcp_alpha_update()
210 struct htcp *ca = inet_csk_ca(sk); in htcp_param_update()
225 const struct htcp *ca = inet_csk_ca(sk); in htcp_recalc_ssthresh()
234 struct htcp *ca = inet_csk_ca(sk); in htcp_cong_avoid()
259 struct htcp *ca = inet_csk_ca(sk); in htcp_init()
261 memset(ca, 0, sizeof(struct htcp)); in htcp_init()
273 struct htcp *ca = inet_csk_ca(sk); in htcp_state()
289 static struct tcp_congestion_ops htcp __read_mostly = {
302 BUILD_BUG_ON(sizeof(struct htcp) > ICSK_CA_PRIV_SIZE); in htcp_register()
304 return tcp_register_congestion_control(&htcp); in htcp_register()
309 tcp_unregister_congestion_control(&htcp); in htcp_unregister()