OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
include
/
linux
/
sunrpc
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
addr.h
4.94 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
auth.h
7.43 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
auth_gss.h
2.33 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
bc_xprt.h
2.42 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cache.h
8.38 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
clnt.h
7.17 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
debug.h
2.76 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gss_api.h
4.56 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
gss_asn1.h
3.11 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gss_err.h
5.93 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gss_krb5.h
11.15 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gss_krb5_enctypes.h
123 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
metrics.h
3.52 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
msg_prot.h
6.23 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
rpc_pipe_fs.h
3.92 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
rpc_rdma.h
3.81 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sched.h
9.09 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
stats.h
2.01 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
svc.h
16.55 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
svc_rdma.h
7.43 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
svc_xprt.h
6.63 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
svcauth.h
6.11 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
svcauth_gss.h
824 bytes
06/16/2023 05:32:39 PM
rw-r--r--
📄
svcsock.h
2.06 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
timer.h
1.14 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
types.h
497 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
xdr.h
12.73 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
xprt.h
14.77 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
xprtmultipath.h
2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
xprtrdma.h
2.9 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
xprtsock.h
1.73 KB
01/28/2018 09:20:33 PM
rw-r--r--
Editing: timer.h
Close
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/linux/sunrpc/timer.h * * Declarations for the RPC transport timer. * * Copyright (C) 2002 Trond Myklebust <trond.myklebust@fys.uio.no> */ #ifndef _LINUX_SUNRPC_TIMER_H #define _LINUX_SUNRPC_TIMER_H #include <linux/atomic.h> struct rpc_rtt { unsigned long timeo; /* default timeout value */ unsigned long srtt[5]; /* smoothed round trip time << 3 */ unsigned long sdrtt[5]; /* smoothed medium deviation of RTT */ int ntimeouts[5]; /* Number of timeouts for the last request */ }; extern void rpc_init_rtt(struct rpc_rtt *rt, unsigned long timeo); extern void rpc_update_rtt(struct rpc_rtt *rt, unsigned timer, long m); extern unsigned long rpc_calc_rto(struct rpc_rtt *rt, unsigned timer); static inline void rpc_set_timeo(struct rpc_rtt *rt, int timer, int ntimeo) { int *t; if (!timer) return; t = &rt->ntimeouts[timer-1]; if (ntimeo < *t) { if (*t > 0) (*t)--; } else { if (ntimeo > 8) ntimeo = 8; *t = ntimeo; } } static inline int rpc_ntimeo(struct rpc_rtt *rt, int timer) { if (!timer) return 0; return rt->ntimeouts[timer-1]; } #endif /* _LINUX_SUNRPC_TIMER_H */