• Home
  • Raw
  • Download

Lines Matching refs:tp

118 	struct tcp_sock *tp = tcp_sk(sk);  in bictcp_hystart_reset()  local
122 ca->end_seq = tp->snd_nxt; in bictcp_hystart_reset()
324 struct tcp_sock *tp = tcp_sk(sk); in cubictcp_cong_avoid() local
330 if (tcp_in_slow_start(tp)) { in cubictcp_cong_avoid()
331 acked = tcp_slow_start(tp, acked); in cubictcp_cong_avoid()
335 bictcp_update(ca, tcp_snd_cwnd(tp), acked); in cubictcp_cong_avoid()
336 tcp_cong_avoid_ai(tp, ca->cnt, acked); in cubictcp_cong_avoid()
341 const struct tcp_sock *tp = tcp_sk(sk); in cubictcp_recalc_ssthresh() local
347 if (tcp_snd_cwnd(tp) < ca->last_max_cwnd && fast_convergence) in cubictcp_recalc_ssthresh()
348 ca->last_max_cwnd = (tcp_snd_cwnd(tp) * (BICTCP_BETA_SCALE + beta)) in cubictcp_recalc_ssthresh()
351 ca->last_max_cwnd = tcp_snd_cwnd(tp); in cubictcp_recalc_ssthresh()
353 return max((tcp_snd_cwnd(tp) * beta) / BICTCP_BETA_SCALE, 2U); in cubictcp_recalc_ssthresh()
386 struct tcp_sock *tp = tcp_sk(sk); in hystart_update() local
390 if (after(tp->snd_una, ca->end_seq)) in hystart_update()
414 ca->delay_min, hystart_ack_delay(sk), tcp_snd_cwnd(tp)); in hystart_update()
419 tcp_snd_cwnd(tp)); in hystart_update()
420 tp->snd_ssthresh = tcp_snd_cwnd(tp); in hystart_update()
439 tcp_snd_cwnd(tp)); in hystart_update()
440 tp->snd_ssthresh = tcp_snd_cwnd(tp); in hystart_update()
448 const struct tcp_sock *tp = tcp_sk(sk); in cubictcp_acked() local
469 if (!ca->found && tcp_in_slow_start(tp) && hystart && in cubictcp_acked()
470 tcp_snd_cwnd(tp) >= hystart_low_window) in cubictcp_acked()