Lines Matching refs:cwnd
536 unsigned long cwnd = xprt->cwnd; in xprt_adjust_cwnd() local
538 if (result >= 0 && cwnd <= xprt->cong) { in xprt_adjust_cwnd()
541 cwnd += (RPC_CWNDSCALE * RPC_CWNDSCALE + (cwnd >> 1)) / cwnd; in xprt_adjust_cwnd()
542 if (cwnd > RPC_MAXCWND(xprt)) in xprt_adjust_cwnd()
543 cwnd = RPC_MAXCWND(xprt); in xprt_adjust_cwnd()
546 cwnd >>= 1; in xprt_adjust_cwnd()
547 if (cwnd < RPC_CWNDSCALE) in xprt_adjust_cwnd()
548 cwnd = RPC_CWNDSCALE; in xprt_adjust_cwnd()
551 xprt->cong, xprt->cwnd, cwnd); in xprt_adjust_cwnd()
552 xprt->cwnd = cwnd; in xprt_adjust_cwnd()
1933 xprt->cwnd = RPC_INITCWND; in xprt_init()