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()
286 static void bbr_set_pacing_rate(struct sock *sk, u32 bw, int gain) in bbr_set_pacing_rate()
299 __bpf_kfunc static u32 bbr_min_tso_segs(struct sock *sk) in bbr_min_tso_segs()
304 static u32 bbr_tso_segs_goal(struct sock *sk) in bbr_tso_segs_goal()
321 static void bbr_save_cwnd(struct sock *sk) in bbr_save_cwnd()
332 __bpf_kfunc static void bbr_cwnd_event(struct sock *sk, enum tcp_ca_event event) in bbr_cwnd_event()
360 static u32 bbr_bdp(struct sock *sk, u32 bw, int gain) in bbr_bdp()
395 static u32 bbr_quantization_budget(struct sock *sk, u32 cwnd) in bbr_quantization_budget()
413 static u32 bbr_inflight(struct sock *sk, u32 bw, int gain) in bbr_inflight()
437 static u32 bbr_packets_in_net_at_edt(struct sock *sk, u32 inflight_now) in bbr_packets_in_net_at_edt()
457 static u32 bbr_ack_aggregation_cwnd(struct sock *sk) in bbr_ack_aggregation_cwnd()
481 struct sock *sk, const struct rate_sample *rs, u32 acked, u32 *new_cwnd) in bbr_set_cwnd_to_recover_or_restore()
519 static void bbr_set_cwnd(struct sock *sk, const struct rate_sample *rs, in bbr_set_cwnd()
554 static bool bbr_is_next_cycle_phase(struct sock *sk, in bbr_is_next_cycle_phase()
591 static void bbr_advance_cycle_phase(struct sock *sk) in bbr_advance_cycle_phase()
601 static void bbr_update_cycle_phase(struct sock *sk, in bbr_update_cycle_phase()
610 static void bbr_reset_startup_mode(struct sock *sk) in bbr_reset_startup_mode()
617 static void bbr_reset_probe_bw_mode(struct sock *sk) in bbr_reset_probe_bw_mode()
626 static void bbr_reset_mode(struct sock *sk) in bbr_reset_mode()
635 static void bbr_reset_lt_bw_sampling_interval(struct sock *sk) in bbr_reset_lt_bw_sampling_interval()
647 static void bbr_reset_lt_bw_sampling(struct sock *sk) in bbr_reset_lt_bw_sampling()
658 static void bbr_lt_bw_interval_done(struct sock *sk, u32 bw) in bbr_lt_bw_interval_done()
688 static void bbr_lt_bw_sampling(struct sock *sk, const struct rate_sample *rs) in bbr_lt_bw_sampling()
761 static void bbr_update_bw(struct sock *sk, const struct rate_sample *rs) in bbr_update_bw()
817 static void bbr_update_ack_aggregation(struct sock *sk, in bbr_update_ack_aggregation()
873 static void bbr_check_full_bw_reached(struct sock *sk, in bbr_check_full_bw_reached()
893 static void bbr_check_drain(struct sock *sk, const struct rate_sample *rs) in bbr_check_drain()
908 static void bbr_check_probe_rtt_done(struct sock *sk) in bbr_check_probe_rtt_done()
941 static void bbr_update_min_rtt(struct sock *sk, const struct rate_sample *rs) in bbr_update_min_rtt()
987 static void bbr_update_gains(struct sock *sk) in bbr_update_gains()
1016 static void bbr_update_model(struct sock *sk, const struct rate_sample *rs) in bbr_update_model()
1027 __bpf_kfunc static void bbr_main(struct sock *sk, u32 ack, int flag, const struct rate_sample *rs) in bbr_main()
1039 __bpf_kfunc static void bbr_init(struct sock *sk) in bbr_init()
1081 __bpf_kfunc static u32 bbr_sndbuf_expand(struct sock *sk) in bbr_sndbuf_expand()
1090 __bpf_kfunc static u32 bbr_undo_cwnd(struct sock *sk) in bbr_undo_cwnd()
1101 __bpf_kfunc static u32 bbr_ssthresh(struct sock *sk) in bbr_ssthresh()
1107 static size_t bbr_get_info(struct sock *sk, u32 ext, int *attr, in bbr_get_info()
1129 __bpf_kfunc static void bbr_set_state(struct sock *sk, u8 new_state) in bbr_set_state()