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;
76 struct yeah *yeah = inet_csk_ca(sk);
84 else if (!yeah->doing_reno_now) {
87 tp->snd_cwnd_cnt+=yeah->pkts_acked;
94 yeah->pkts_acked = 1;
130 if (after(ack, yeah->vegas.beg_snd_nxt)) {
141 if (yeah->vegas.cntRTT > 2) {
156 rtt = yeah->vegas.minRTT;
162 bw *= rtt - yeah->vegas.baseRTT;
167 rtt - yeah->vegas.baseRTT > (yeah->vegas.baseRTT / TCP_YEAH_PHY)) {
169 && tp->snd_cwnd > yeah->reno_count) {
176 yeah->reno_count);
181 if (yeah->reno_count <= 2)
182 yeah->reno_count = max(tp->snd_cwnd>>1, 2U);
184 yeah->reno_count++;
186 yeah->doing_reno_now = min(yeah->doing_reno_now + 1,
189 yeah->fast_count++;
191 if (yeah->fast_count > TCP_YEAH_ZETA) {
192 yeah->reno_count = 2;
193 yeah->fast_count = 0;
196 yeah->doing_reno_now = 0;
199 yeah->lastQ = queue;
206 yeah->vegas.beg_snd_una = yeah->vegas.beg_snd_nxt;
207 yeah->vegas.beg_snd_nxt = tp->snd_nxt;
208 yeah->vegas.beg_snd_cwnd = tp->snd_cwnd;
211 yeah->vegas.cntRTT = 0;
212 yeah->vegas.minRTT = 0x7fffffff;
218 struct yeah *yeah = inet_csk_ca(sk);
221 if (yeah->doing_reno_now < TCP_YEAH_RHO) {
222 reduction = yeah->lastQ;
230 yeah->fast_count = 0;
231 yeah->reno_count = max(yeah->reno_count>>1, 2U);
248 .name = "yeah",
253 BUG_ON(sizeof(struct yeah) > ICSK_CA_PRIV_SIZE);