Lines Matching refs:cwnd

559 	__u32 cwnd, ssthresh, flight_size, pba, pmtu;  in sctp_transport_raise_cwnd()  local
561 cwnd = transport->cwnd; in sctp_transport_raise_cwnd()
573 if (cwnd <= ssthresh) { in sctp_transport_raise_cwnd()
596 if (flight_size < cwnd) in sctp_transport_raise_cwnd()
600 cwnd += pmtu; in sctp_transport_raise_cwnd()
602 cwnd += bytes_acked; in sctp_transport_raise_cwnd()
606 __func__, transport, bytes_acked, cwnd, ssthresh, in sctp_transport_raise_cwnd()
632 if (pba > cwnd && flight_size < cwnd) in sctp_transport_raise_cwnd()
633 pba = cwnd; in sctp_transport_raise_cwnd()
634 if (pba >= cwnd && flight_size >= cwnd) { in sctp_transport_raise_cwnd()
635 pba = pba - cwnd; in sctp_transport_raise_cwnd()
636 cwnd += pmtu; in sctp_transport_raise_cwnd()
642 transport, bytes_acked, cwnd, ssthresh, in sctp_transport_raise_cwnd()
646 transport->cwnd = cwnd; in sctp_transport_raise_cwnd()
667 transport->ssthresh = max(transport->cwnd/2, in sctp_transport_lower_cwnd()
669 transport->cwnd = asoc->pathmtu; in sctp_transport_lower_cwnd()
695 transport->ssthresh = max(transport->cwnd/2, in sctp_transport_lower_cwnd()
697 transport->cwnd = transport->ssthresh; in sctp_transport_lower_cwnd()
715 transport->ssthresh = max(transport->cwnd/2, in sctp_transport_lower_cwnd()
717 transport->cwnd = transport->ssthresh; in sctp_transport_lower_cwnd()
731 transport->cwnd = max(transport->cwnd/2, in sctp_transport_lower_cwnd()
734 transport->ssthresh = transport->cwnd; in sctp_transport_lower_cwnd()
741 __func__, transport, reason, transport->cwnd, in sctp_transport_lower_cwnd()
758 u32 old_cwnd = t->cwnd; in sctp_transport_burst_limited()
766 t->cwnd = max_burst_bytes; in sctp_transport_burst_limited()
777 t->cwnd = t->burst_limited; in sctp_transport_burst_reset()
805 t->cwnd = min(4*asoc->pathmtu, max_t(__u32, 2*asoc->pathmtu, 4380)); in sctp_transport_reset()