Lines Matching defs:sk
197 static bool bbr_full_bw_reached(const struct sock *sk) in bbr_full_bw_reached()
205 static u32 bbr_max_bw(const struct sock *sk) in bbr_max_bw()
213 static u32 bbr_bw(const struct sock *sk) in bbr_bw()
223 static u16 bbr_extra_acked(const struct sock *sk) in bbr_extra_acked()
234 static u64 bbr_rate_bytes_per_sec(struct sock *sk, u64 rate, int gain) in bbr_rate_bytes_per_sec()
248 static u32 bbr_bw_to_pacing_rate(struct sock *sk, u32 bw, int gain) in bbr_bw_to_pacing_rate()
258 static void bbr_init_pacing_rate_from_rtt(struct sock *sk) in bbr_init_pacing_rate_from_rtt()
283 static void bbr_set_pacing_rate(struct sock *sk, u32 bw, int gain) in bbr_set_pacing_rate()
296 static u32 bbr_min_tso_segs(struct sock *sk) in bbr_min_tso_segs()
301 static u32 bbr_tso_segs_goal(struct sock *sk) in bbr_tso_segs_goal()
317 static void bbr_save_cwnd(struct sock *sk) in bbr_save_cwnd()
328 static void bbr_cwnd_event(struct sock *sk, enum tcp_ca_event event) in bbr_cwnd_event()
356 static u32 bbr_bdp(struct sock *sk, u32 bw, int gain) in bbr_bdp()
389 static u32 bbr_quantization_budget(struct sock *sk, u32 cwnd, int gain) in bbr_quantization_budget()
407 static u32 bbr_inflight(struct sock *sk, u32 bw, int gain) in bbr_inflight()
418 static u32 bbr_ack_aggregation_cwnd(struct sock *sk) in bbr_ack_aggregation_cwnd()
442 struct sock *sk, const struct rate_sample *rs, u32 acked, u32 *new_cwnd) in bbr_set_cwnd_to_recover_or_restore()
480 static void bbr_set_cwnd(struct sock *sk, const struct rate_sample *rs, in bbr_set_cwnd()
515 static bool bbr_is_next_cycle_phase(struct sock *sk, in bbr_is_next_cycle_phase()
552 static void bbr_advance_cycle_phase(struct sock *sk) in bbr_advance_cycle_phase()
564 static void bbr_update_cycle_phase(struct sock *sk, in bbr_update_cycle_phase()
573 static void bbr_reset_startup_mode(struct sock *sk) in bbr_reset_startup_mode()
582 static void bbr_reset_probe_bw_mode(struct sock *sk) in bbr_reset_probe_bw_mode()
593 static void bbr_reset_mode(struct sock *sk) in bbr_reset_mode()
602 static void bbr_reset_lt_bw_sampling_interval(struct sock *sk) in bbr_reset_lt_bw_sampling_interval()
614 static void bbr_reset_lt_bw_sampling(struct sock *sk) in bbr_reset_lt_bw_sampling()
625 static void bbr_lt_bw_interval_done(struct sock *sk, u32 bw) in bbr_lt_bw_interval_done()
655 static void bbr_lt_bw_sampling(struct sock *sk, const struct rate_sample *rs) in bbr_lt_bw_sampling()
728 static void bbr_update_bw(struct sock *sk, const struct rate_sample *rs) in bbr_update_bw()
784 static void bbr_update_ack_aggregation(struct sock *sk, in bbr_update_ack_aggregation()
840 static void bbr_check_full_bw_reached(struct sock *sk, in bbr_check_full_bw_reached()
860 static void bbr_check_drain(struct sock *sk, const struct rate_sample *rs) in bbr_check_drain()
877 static void bbr_check_probe_rtt_done(struct sock *sk) in bbr_check_probe_rtt_done()
910 static void bbr_update_min_rtt(struct sock *sk, const struct rate_sample *rs) in bbr_update_min_rtt()
958 static void bbr_update_model(struct sock *sk, const struct rate_sample *rs) in bbr_update_model()
968 static void bbr_main(struct sock *sk, const struct rate_sample *rs) in bbr_main()
980 static void bbr_init(struct sock *sk) in bbr_init()
1022 static u32 bbr_sndbuf_expand(struct sock *sk) in bbr_sndbuf_expand()
1031 static u32 bbr_undo_cwnd(struct sock *sk) in bbr_undo_cwnd()
1042 static u32 bbr_ssthresh(struct sock *sk) in bbr_ssthresh()
1048 static size_t bbr_get_info(struct sock *sk, u32 ext, int *attr, in bbr_get_info()
1070 static void bbr_set_state(struct sock *sk, u8 new_state) in bbr_set_state()