Lines Matching full:ai
97 u32 ai; member
105 ca->ai = 0; in hstcp_init()
126 * hstcp_aimd_vals[ca->ai-1].cwnd < in hstcp_cong_avoid()
128 * hstcp_aimd_vals[ca->ai].cwnd in hstcp_cong_avoid()
130 if (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd) { in hstcp_cong_avoid()
131 while (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd && in hstcp_cong_avoid()
132 ca->ai < HSTCP_AIMD_MAX - 1) in hstcp_cong_avoid()
133 ca->ai++; in hstcp_cong_avoid()
134 } else if (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) { in hstcp_cong_avoid()
135 while (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) in hstcp_cong_avoid()
136 ca->ai--; in hstcp_cong_avoid()
142 tp->snd_cwnd_cnt += ca->ai + 1; in hstcp_cong_avoid()
157 return max(tcp_snd_cwnd(tp) - ((tcp_snd_cwnd(tp) * hstcp_aimd_vals[ca->ai].md) >> 8), 2U); in hstcp_ssthresh()