• Home
  • Raw
  • Download

Lines Matching refs:tp

141 	struct tcp_sock *tp = tcp_sk(sk);  in tcp_cdg_hystart_update()  local
162 tp->snd_cwnd); in tcp_cdg_hystart_update()
163 tp->snd_ssthresh = tp->snd_cwnd; in tcp_cdg_hystart_update()
181 tp->snd_cwnd); in tcp_cdg_hystart_update()
182 tp->snd_ssthresh = tp->snd_cwnd; in tcp_cdg_hystart_update()
242 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_backoff() local
253 ca->shadow_wnd = max(ca->shadow_wnd, tp->snd_cwnd); in tcp_cdg_backoff()
263 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_cong_avoid() local
267 if (tcp_in_slow_start(tp) && hystart_detect) in tcp_cdg_cong_avoid()
275 ca->rtt_seq = tp->snd_nxt; in tcp_cdg_cong_avoid()
286 ca->shadow_wnd = min(ca->shadow_wnd, tp->snd_cwnd); in tcp_cdg_cong_avoid()
290 prior_snd_cwnd = tp->snd_cwnd; in tcp_cdg_cong_avoid()
293 incr = tp->snd_cwnd - prior_snd_cwnd; in tcp_cdg_cong_avoid()
300 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_acked() local
309 if (tp->sacked_out == 0) { in tcp_cdg_acked()
329 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_ssthresh() local
331 ca->undo_cwnd = tp->snd_cwnd; in tcp_cdg_ssthresh()
334 return max(2U, (tp->snd_cwnd * min(1024U, backoff_beta)) >> 10); in tcp_cdg_ssthresh()
337 return tp->snd_cwnd; in tcp_cdg_ssthresh()
339 ca->shadow_wnd = min(ca->shadow_wnd >> 1, tp->snd_cwnd); in tcp_cdg_ssthresh()
341 return max3(2U, ca->shadow_wnd, tp->snd_cwnd >> 1); in tcp_cdg_ssthresh()
342 return max(2U, tp->snd_cwnd >> 1); in tcp_cdg_ssthresh()
355 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_cwnd_event() local
366 ca->rtt_seq = tp->snd_nxt; in tcp_cdg_cwnd_event()
367 ca->shadow_wnd = tp->snd_cwnd; in tcp_cdg_cwnd_event()
371 ca->rtt_seq = tp->snd_nxt; in tcp_cdg_cwnd_event()
383 struct tcp_sock *tp = tcp_sk(sk); in tcp_cdg_init() local
389 ca->rtt_seq = tp->snd_nxt; in tcp_cdg_init()
390 ca->shadow_wnd = tp->snd_cwnd; in tcp_cdg_init()