Lines Matching refs:yeah
29 struct yeah {
45 struct yeah *yeah = inet_csk_ca(sk);
49 yeah->doing_reno_now = 0;
50 yeah->lastQ = 0;
52 yeah->reno_count = 2;
64 struct yeah *yeah = inet_csk_ca(sk);
67 yeah->pkts_acked = pkts_acked;
75 struct yeah *yeah = inet_csk_ca(sk);
83 else if (!yeah->doing_reno_now) {
86 tp->snd_cwnd_cnt += yeah->pkts_acked;
93 yeah->pkts_acked = 1;
122 if (after(ack, yeah->vegas.beg_snd_nxt)) {
133 if (yeah->vegas.cntRTT > 2) {
148 rtt = yeah->vegas.minRTT;
154 bw *= rtt - yeah->vegas.baseRTT;
159 rtt - yeah->vegas.baseRTT > (yeah->vegas.baseRTT / TCP_YEAH_PHY)) {
161 tp->snd_cwnd > yeah->reno_count) {
168 yeah->reno_count);
173 if (yeah->reno_count <= 2)
174 yeah->reno_count = max(tp->snd_cwnd>>1, 2U);
176 yeah->reno_count++;
178 yeah->doing_reno_now = min(yeah->doing_reno_now + 1,
181 yeah->fast_count++;
183 if (yeah->fast_count > TCP_YEAH_ZETA) {
184 yeah->reno_count = 2;
185 yeah->fast_count = 0;
188 yeah->doing_reno_now = 0;
191 yeah->lastQ = queue;
198 yeah->vegas.beg_snd_una = yeah->vegas.beg_snd_nxt;
199 yeah->vegas.beg_snd_nxt = tp->snd_nxt;
200 yeah->vegas.beg_snd_cwnd = tp->snd_cwnd;
203 yeah->vegas.cntRTT = 0;
204 yeah->vegas.minRTT = 0x7fffffff;
210 struct yeah *yeah = inet_csk_ca(sk);
213 if (yeah->doing_reno_now < TCP_YEAH_RHO) {
214 reduction = yeah->lastQ;
222 yeah->fast_count = 0;
223 yeah->reno_count = max(yeah->reno_count>>1, 2U);
240 .name = "yeah",
245 BUG_ON(sizeof(struct yeah) > ICSK_CA_PRIV_SIZE);