Lines Matching defs:yeah
30 struct yeah {
44 struct yeah *yeah = inet_csk_ca(sk);
48 yeah->doing_reno_now = 0;
49 yeah->lastQ = 0;
51 yeah->reno_count = 2;
61 struct yeah *yeah = inet_csk_ca(sk);
72 if (!yeah->doing_reno_now) {
103 if (after(ack, yeah->vegas.beg_snd_nxt)) {
113 if (yeah->vegas.cntRTT > 2) {
128 rtt = yeah->vegas.minRTT;
134 bw *= rtt - yeah->vegas.baseRTT;
139 rtt - yeah->vegas.baseRTT > (yeah->vegas.baseRTT / TCP_YEAH_PHY)) {
141 tp->snd_cwnd > yeah->reno_count) {
148 yeah->reno_count);
153 if (yeah->reno_count <= 2)
154 yeah->reno_count = max(tp->snd_cwnd>>1, 2U);
156 yeah->reno_count++;
158 yeah->doing_reno_now = min(yeah->doing_reno_now + 1,
161 yeah->fast_count++;
163 if (yeah->fast_count > TCP_YEAH_ZETA) {
164 yeah->reno_count = 2;
165 yeah->fast_count = 0;
168 yeah->doing_reno_now = 0;
171 yeah->lastQ = queue;
177 yeah->vegas.beg_snd_una = yeah->vegas.beg_snd_nxt;
178 yeah->vegas.beg_snd_nxt = tp->snd_nxt;
179 yeah->vegas.beg_snd_cwnd = tp->snd_cwnd;
182 yeah->vegas.cntRTT = 0;
183 yeah->vegas.minRTT = 0x7fffffff;
190 struct yeah *yeah = inet_csk_ca(sk);
193 if (yeah->doing_reno_now < TCP_YEAH_RHO) {
194 reduction = yeah->lastQ;
202 yeah->fast_count = 0;
203 yeah->reno_count = max(yeah->reno_count>>1, 2U);
219 .name = "yeah",
224 BUG_ON(sizeof(struct yeah) > ICSK_CA_PRIV_SIZE);