Lines Matching defs:timer
3 * linux/net/sunrpc/timer.c
55 * @timer: timer array index (request type)
61 void rpc_update_rtt(struct rpc_rtt *rt, unsigned int timer, long m)
65 if (timer-- == 0)
75 srtt = (long *)&rt->srtt[timer];
82 sdrtt = (long *)&rt->sdrtt[timer];
95 * @timer: timer array index (request type)
102 * happen so infrequently that timer estimation would probably be
110 unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned int timer)
114 if (timer-- == 0)
117 res = ((rt->srtt[timer] + 7) >> 3) + rt->sdrtt[timer];