• Home
  • Raw
  • Download

Lines Matching refs:tp

43 	struct tcp_sock *tp = tcp_sk(sk);  in tcp_yeah_init()  local
55 tp->snd_cwnd_clamp = min_t(u32, tp->snd_cwnd_clamp, 0xffffffff/128); in tcp_yeah_init()
60 struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_cong_avoid() local
66 if (tcp_in_slow_start(tp)) { in tcp_yeah_cong_avoid()
67 acked = tcp_slow_start(tp, acked); in tcp_yeah_cong_avoid()
74 tcp_cong_avoid_ai(tp, min(tcp_snd_cwnd(tp), TCP_SCALABLE_AI_CNT), in tcp_yeah_cong_avoid()
78 tcp_cong_avoid_ai(tp, tcp_snd_cwnd(tp), acked); in tcp_yeah_cong_avoid()
133 bw = tcp_snd_cwnd(tp); in tcp_yeah_cong_avoid()
141 tcp_snd_cwnd(tp) > yeah->reno_count) { in tcp_yeah_cong_avoid()
143 tcp_snd_cwnd(tp) >> TCP_YEAH_EPSILON); in tcp_yeah_cong_avoid()
145 tcp_snd_cwnd_set(tp, tcp_snd_cwnd(tp) - reduction); in tcp_yeah_cong_avoid()
147 tcp_snd_cwnd_set(tp, max(tcp_snd_cwnd(tp), in tcp_yeah_cong_avoid()
150 tp->snd_ssthresh = tcp_snd_cwnd(tp); in tcp_yeah_cong_avoid()
154 yeah->reno_count = max(tcp_snd_cwnd(tp)>>1, 2U); in tcp_yeah_cong_avoid()
178 yeah->vegas.beg_snd_nxt = tp->snd_nxt; in tcp_yeah_cong_avoid()
179 yeah->vegas.beg_snd_cwnd = tcp_snd_cwnd(tp); in tcp_yeah_cong_avoid()
189 const struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_ssthresh() local
196 reduction = min(reduction, max(tcp_snd_cwnd(tp)>>1, 2U)); in tcp_yeah_ssthresh()
198 reduction = max(reduction, tcp_snd_cwnd(tp) >> TCP_YEAH_DELTA); in tcp_yeah_ssthresh()
200 reduction = max(tcp_snd_cwnd(tp)>>1, 2U); in tcp_yeah_ssthresh()
205 return max_t(int, tcp_snd_cwnd(tp) - reduction, 2); in tcp_yeah_ssthresh()