Lines Matching defs:sk
207 static bool bbr_full_bw_reached(const struct sock *sk) in bbr_full_bw_reached()
215 static u32 bbr_max_bw(const struct sock *sk) in bbr_max_bw()
223 static u32 bbr_bw(const struct sock *sk) in bbr_bw()
233 static u16 bbr_extra_acked(const struct sock *sk) in bbr_extra_acked()
244 static u64 bbr_rate_bytes_per_sec(struct sock *sk, u64 rate, int gain) in bbr_rate_bytes_per_sec()
256 static unsigned long bbr_bw_to_pacing_rate(struct sock *sk, u32 bw, int gain) in bbr_bw_to_pacing_rate()
266 static void bbr_init_pacing_rate_from_rtt(struct sock *sk) in bbr_init_pacing_rate_from_rtt()
285 static void bbr_set_pacing_rate(struct sock *sk, u32 bw, int gain) in bbr_set_pacing_rate()
298 __bpf_kfunc static u32 bbr_min_tso_segs(struct sock *sk) in bbr_min_tso_segs()
303 static u32 bbr_tso_segs_goal(struct sock *sk) in bbr_tso_segs_goal()
320 static void bbr_save_cwnd(struct sock *sk) in bbr_save_cwnd()
331 __bpf_kfunc static void bbr_cwnd_event(struct sock *sk, enum tcp_ca_event event) in bbr_cwnd_event()
359 static u32 bbr_bdp(struct sock *sk, u32 bw, int gain) in bbr_bdp()
394 static u32 bbr_quantization_budget(struct sock *sk, u32 cwnd) in bbr_quantization_budget()
412 static u32 bbr_inflight(struct sock *sk, u32 bw, int gain) in bbr_inflight()
436 static u32 bbr_packets_in_net_at_edt(struct sock *sk, u32 inflight_now) in bbr_packets_in_net_at_edt()
456 static u32 bbr_ack_aggregation_cwnd(struct sock *sk) in bbr_ack_aggregation_cwnd()
480 struct sock *sk, const struct rate_sample *rs, u32 acked, u32 *new_cwnd) in bbr_set_cwnd_to_recover_or_restore()
518 static void bbr_set_cwnd(struct sock *sk, const struct rate_sample *rs, in bbr_set_cwnd()
553 static bool bbr_is_next_cycle_phase(struct sock *sk, in bbr_is_next_cycle_phase()
590 static void bbr_advance_cycle_phase(struct sock *sk) in bbr_advance_cycle_phase()
600 static void bbr_update_cycle_phase(struct sock *sk, in bbr_update_cycle_phase()
609 static void bbr_reset_startup_mode(struct sock *sk) in bbr_reset_startup_mode()
616 static void bbr_reset_probe_bw_mode(struct sock *sk) in bbr_reset_probe_bw_mode()
625 static void bbr_reset_mode(struct sock *sk) in bbr_reset_mode()
634 static void bbr_reset_lt_bw_sampling_interval(struct sock *sk) in bbr_reset_lt_bw_sampling_interval()
646 static void bbr_reset_lt_bw_sampling(struct sock *sk) in bbr_reset_lt_bw_sampling()
657 static void bbr_lt_bw_interval_done(struct sock *sk, u32 bw) in bbr_lt_bw_interval_done()
687 static void bbr_lt_bw_sampling(struct sock *sk, const struct rate_sample *rs) in bbr_lt_bw_sampling()
760 static void bbr_update_bw(struct sock *sk, const struct rate_sample *rs) in bbr_update_bw()
816 static void bbr_update_ack_aggregation(struct sock *sk, in bbr_update_ack_aggregation()
872 static void bbr_check_full_bw_reached(struct sock *sk, in bbr_check_full_bw_reached()
892 static void bbr_check_drain(struct sock *sk, const struct rate_sample *rs) in bbr_check_drain()
907 static void bbr_check_probe_rtt_done(struct sock *sk) in bbr_check_probe_rtt_done()
940 static void bbr_update_min_rtt(struct sock *sk, const struct rate_sample *rs) in bbr_update_min_rtt()
986 static void bbr_update_gains(struct sock *sk) in bbr_update_gains()
1015 static void bbr_update_model(struct sock *sk, const struct rate_sample *rs) in bbr_update_model()
1026 __bpf_kfunc static void bbr_main(struct sock *sk, const struct rate_sample *rs) in bbr_main()
1038 __bpf_kfunc static void bbr_init(struct sock *sk) in bbr_init()
1080 __bpf_kfunc static u32 bbr_sndbuf_expand(struct sock *sk) in bbr_sndbuf_expand()
1089 __bpf_kfunc static u32 bbr_undo_cwnd(struct sock *sk) in bbr_undo_cwnd()
1100 __bpf_kfunc static u32 bbr_ssthresh(struct sock *sk) in bbr_ssthresh()
1106 static size_t bbr_get_info(struct sock *sk, u32 ext, int *attr, in bbr_get_info()
1128 __bpf_kfunc static void bbr_set_state(struct sock *sk, u8 new_state) in bbr_set_state()