/* rpc_init_rtt - Initialize an RPC RTT estimator context @rt: context to initialize @timeo: initial timeout value, in jiffies  */
void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo)
/* rpc_init_rtt - Initialize an RPC RTT estimator context @rt: context to initialize @timeo: initial timeout value, in jiffies  */
void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo)
{
	unsigned long init = 0;
	unsigned i;
	rt->timeo = timeo;
	if (timeo > RPC_RTO_INIT)
		init = (timeo - RPC_RTO_INIT) << 3;
	for (i = 0; i < 5; i++) {
		rt->srtt[i] = init;
		rt->sdrtt[i] = RPC_RTO_INIT;
		rt->ntimeouts[i] = 0;
	}
}