smb_debug.h

来自「Linux Kernel 2.6.9 for OMAP1710」· C头文件 代码 · 共 35 行

H
35
字号
/* * Defines some debug macros for smbfs. *//* This makes a dentry parent/child name pair. Useful for debugging printk's */#define DENTRY_PATH(dentry) \	(dentry)->d_parent->d_name.name,(dentry)->d_name.name/* * safety checks that should never happen ??? * these are normally enabled. */#ifdef SMBFS_PARANOIA# define PARANOIA(f, a...) printk(KERN_NOTICE "%s: " f, __FUNCTION__ , ## a)#else# define PARANOIA(f, a...) do { ; } while(0)#endif/* lots of debug messages */#ifdef SMBFS_DEBUG_VERBOSE# define VERBOSE(f, a...) printk(KERN_DEBUG "%s: " f, __FUNCTION__ , ## a)#else# define VERBOSE(f, a...) do { ; } while(0)#endif/* * "normal" debug messages, but not with a normal DEBUG define ... way * too common name. */#ifdef SMBFS_DEBUG#define DEBUG1(f, a...) printk(KERN_DEBUG "%s: " f, __FUNCTION__ , ## a)#else#define DEBUG1(f, a...) do { ; } while(0)#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?