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: debug.h
Close
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/include/linux/sunrpc/debug.h * * Debugging support for sunrpc module * * Copyright (C) 1996, Olaf Kirch <okir@monad.swb.de> */ #ifndef _LINUX_SUNRPC_DEBUG_H_ #define _LINUX_SUNRPC_DEBUG_H_ #include <uapi/linux/sunrpc/debug.h> /* * Debugging macros etc */ #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) extern unsigned int rpc_debug; extern unsigned int nfs_debug; extern unsigned int nfsd_debug; extern unsigned int nlm_debug; #endif #define dprintk(fmt, ...) \ dfprintk(FACILITY, fmt, ##__VA_ARGS__) #define dprintk_cont(fmt, ...) \ dfprintk_cont(FACILITY, fmt, ##__VA_ARGS__) #define dprintk_rcu(fmt, ...) \ dfprintk_rcu(FACILITY, fmt, ##__VA_ARGS__) #define dprintk_rcu_cont(fmt, ...) \ dfprintk_rcu_cont(FACILITY, fmt, ##__VA_ARGS__) #undef ifdebug #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) # define ifdebug(fac) if (unlikely(rpc_debug & RPCDBG_##fac)) # define dfprintk(fac, fmt, ...) \ do { \ ifdebug(fac) \ printk(KERN_DEFAULT fmt, ##__VA_ARGS__); \ } while (0) # define dfprintk_cont(fac, fmt, ...) \ do { \ ifdebug(fac) \ printk(KERN_CONT fmt, ##__VA_ARGS__); \ } while (0) # define dfprintk_rcu(fac, fmt, ...) \ do { \ ifdebug(fac) { \ rcu_read_lock(); \ printk(KERN_DEFAULT fmt, ##__VA_ARGS__); \ rcu_read_unlock(); \ } \ } while (0) # define dfprintk_rcu_cont(fac, fmt, ...) \ do { \ ifdebug(fac) { \ rcu_read_lock(); \ printk(KERN_CONT fmt, ##__VA_ARGS__); \ rcu_read_unlock(); \ } \ } while (0) # define RPC_IFDEBUG(x) x #else # define ifdebug(fac) if (0) # define dfprintk(fac, fmt, ...) do {} while (0) # define dfprintk_cont(fac, fmt, ...) do {} while (0) # define dfprintk_rcu(fac, fmt, ...) do {} while (0) # define RPC_IFDEBUG(x) #endif /* * Sysctl interface for RPC debugging */ struct rpc_clnt; struct rpc_xprt; #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) void rpc_register_sysctl(void); void rpc_unregister_sysctl(void); void sunrpc_debugfs_init(void); void sunrpc_debugfs_exit(void); void rpc_clnt_debugfs_register(struct rpc_clnt *); void rpc_clnt_debugfs_unregister(struct rpc_clnt *); void rpc_xprt_debugfs_register(struct rpc_xprt *); void rpc_xprt_debugfs_unregister(struct rpc_xprt *); #else static inline void sunrpc_debugfs_init(void) { return; } static inline void sunrpc_debugfs_exit(void) { return; } static inline void rpc_clnt_debugfs_register(struct rpc_clnt *clnt) { return; } static inline void rpc_clnt_debugfs_unregister(struct rpc_clnt *clnt) { return; } static inline void rpc_xprt_debugfs_register(struct rpc_xprt *xprt) { return; } static inline void rpc_xprt_debugfs_unregister(struct rpc_xprt *xprt) { return; } #endif #endif /* _LINUX_SUNRPC_DEBUG_H_ */