7 #define RPCDBG_XPRT 0x0001
8 #define RPCDBG_CALL 0x0002
9 #define RPCDBG_DEBUG 0x0004
10 #define RPCDBG_NFS 0x0008
11 #define RPCDBG_AUTH 0x0010
12 #define RPCDBG_BIND 0x0020
13 #define RPCDBG_SCHED 0x0040
14 #define RPCDBG_TRANS 0x0080
15 #define RPCDBG_SVCSOCK 0x0100
16 #define RPCDBG_SVCDSP 0x0200
17 #define RPCDBG_MISC 0x0400
18 #define RPCDBG_CACHE 0x0800
19 #define RPCDBG_ALL 0x7fff
22 * Declarations for the sysctl debug interface, which allows to read or
23 * change the debug flags for rpc, nfs, nfsd, and lockd. Since the sunrpc
24 * module currently registers its sysctl table dynamically, the sysctl path
25 * for module FOO is <CTL_SUNRPC, CTL_FOODEBUG>.
27 #define CTL_SUNRPC 7249 /* arbitrary and hopefully unused */
40 #define NFSDDBG_SOCK 0x0001
41 #define NFSDDBG_FH 0x0002
42 #define NFSDDBG_EXPORT 0x0004
43 #define NFSDDBG_SVC 0x0008
44 #define NFSDDBG_PROC 0x0010
45 #define NFSDDBG_FILEOP 0x0020
46 #define NFSDDBG_AUTH 0x0040
47 #define NFSDDBG_REPCACHE 0x0080
48 #define NFSDDBG_XDR 0x0100
49 #define NFSDDBG_LOCKD 0x0200
50 #define NFSDDBG_ALL 0x7FFF
51 #define NFSDDBG_NOCHANGE 0xFFFF
56 #define NLMDBG_SVC 0x0001
57 #define NLMDBG_CLIENT 0x0002
58 #define NLMDBG_CLNTLOCK 0x0004
59 #define NLMDBG_SVCLOCK 0x0008
60 #define NLMDBG_MONITOR 0x0010
61 #define NLMDBG_CLNTSUBS 0x0020
62 #define NLMDBG_SVCSUBS 0x0040
63 #define NLMDBG_HOSTCACHE 0x0080
64 #define NLMDBG_XDR 0x0100
65 #define NLMDBG_ALL 0x7fff
68 #define NFSDBG_VFS 0x0001
69 #define NFSDBG_DIRCACHE 0x0002
70 #define NFSDBG_LOOKUPCACHE 0x0004
71 #define NFSDBG_PAGECACHE 0x0008
72 #define NFSDBG_PROC 0x0010
73 #define NFSDBG_XDR 0x0020
74 #define NFSDBG_FILE 0x0040
75 #define NFSDBG_ROOT 0x0080
76 #define NFSDBG_CALLBACK 0x0100
77 #define NFSDBG_CLIENT 0x0200
78 #define NFSDBG_MOUNT 0x0400
79 #define NFSDBG_ALL 0xFFFF
81 #endif /* _NFS_DEBUG_H */