⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smb_debug.h

📁 linux 内核源代码
💻 H
字号:
/* * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -