Lines Matching refs:t_cwnd
117 uint32_t t_ssthresh, t_cwnd; in sctp_cwnd_update_after_fr() local
122 t_cwnd = 0; in sctp_cwnd_update_after_fr()
128 t_cwnd += net->cwnd; in sctp_cwnd_update_after_fr()
186 if ((net->cwnd > t_cwnd / 2) && in sctp_cwnd_update_after_fr()
187 (net->ssthresh < net->cwnd - t_cwnd / 2)) { in sctp_cwnd_update_after_fr()
188 net->ssthresh = net->cwnd - t_cwnd / 2; in sctp_cwnd_update_after_fr()
1016 uint32_t t_ssthresh, t_cwnd; in sctp_cwnd_update_after_timeout() local
1021 t_cwnd = 0; in sctp_cwnd_update_after_timeout()
1030 t_cwnd += lnet->cwnd; in sctp_cwnd_update_after_timeout()
1057 if (cc_delta < t_cwnd) { in sctp_cwnd_update_after_timeout()
1058 net->ssthresh = (uint32_t)((uint64_t)t_cwnd - cc_delta); in sctp_cwnd_update_after_timeout()
1063 if ((net->cwnd > t_cwnd / 2) && in sctp_cwnd_update_after_timeout()
1064 (net->ssthresh < net->cwnd - t_cwnd / 2)) { in sctp_cwnd_update_after_timeout()
1065 net->ssthresh = net->cwnd - t_cwnd / 2; in sctp_cwnd_update_after_timeout()