Lines Matching refs:timer
3 * linux/include/linux/sunrpc/timer.h
5 * Declarations for the RPC transport timer.
24 extern void rpc_update_rtt(struct rpc_rtt *rt, unsigned timer, long m);
25 extern unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned timer);
27 static inline void rpc_set_timeo(struct rpc_rtt *rt, int timer, int ntimeo)
30 if (!timer)
32 t = &rt->ntimeouts[timer-1];
43 static inline int rpc_ntimeo(struct rpc_rtt *rt, int timer)
45 if (!timer)
47 return rt->ntimeouts[timer-1];