Lines Matching refs:cwnd
90 #define RPCXPRT_CONGESTED(xprt) ((xprt)->cong >= (xprt)->cwnd)
403 task->tk_pid, xprt->cong, xprt->cwnd); in __xprt_get_cong()
450 unsigned long cwnd = xprt->cwnd; in xprt_adjust_cwnd() local
452 if (result >= 0 && cwnd <= xprt->cong) { in xprt_adjust_cwnd()
455 cwnd += (RPC_CWNDSCALE * RPC_CWNDSCALE + (cwnd >> 1)) / cwnd; in xprt_adjust_cwnd()
456 if (cwnd > RPC_MAXCWND(xprt)) in xprt_adjust_cwnd()
457 cwnd = RPC_MAXCWND(xprt); in xprt_adjust_cwnd()
460 cwnd >>= 1; in xprt_adjust_cwnd()
461 if (cwnd < RPC_CWNDSCALE) in xprt_adjust_cwnd()
462 cwnd = RPC_CWNDSCALE; in xprt_adjust_cwnd()
465 xprt->cong, xprt->cwnd, cwnd); in xprt_adjust_cwnd()
466 xprt->cwnd = cwnd; in xprt_adjust_cwnd()
1262 xprt->cwnd = RPC_INITCWND; in xprt_init()