Lines Matching refs:tp
58 struct tcp_sock *tp = tcp_sk(sk); in rtt_reset() local
61 ca->end_seq = tp->snd_nxt; in rtt_reset()
222 struct tcp_sock *tp = tcp_sk(sk); in update_params() local
225 if (tp->snd_cwnd < win_thresh) { in update_params()
260 struct tcp_sock *tp = tcp_sk(sk); in tcp_illinois_cong_avoid() local
271 if (tcp_in_slow_start(tp)) in tcp_illinois_cong_avoid()
272 tcp_slow_start(tp, acked); in tcp_illinois_cong_avoid()
278 tp->snd_cwnd_cnt += ca->acked; in tcp_illinois_cong_avoid()
284 delta = (tp->snd_cwnd_cnt * ca->alpha) >> ALPHA_SHIFT; in tcp_illinois_cong_avoid()
285 if (delta >= tp->snd_cwnd) { in tcp_illinois_cong_avoid()
286 tp->snd_cwnd = min(tp->snd_cwnd + delta / tp->snd_cwnd, in tcp_illinois_cong_avoid()
287 (u32)tp->snd_cwnd_clamp); in tcp_illinois_cong_avoid()
288 tp->snd_cwnd_cnt = 0; in tcp_illinois_cong_avoid()
295 struct tcp_sock *tp = tcp_sk(sk); in tcp_illinois_ssthresh() local
299 return max(tp->snd_cwnd - ((tp->snd_cwnd * ca->beta) >> BETA_SHIFT), 2U); in tcp_illinois_ssthresh()