The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/fs/smbfs/smb_debug.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * Defines some debug macros for smbfs.
    3  */
    4 
    5 /* This makes a dentry parent/child name pair. Useful for debugging printk's */
    6 #define DENTRY_PATH(dentry) \
    7         (dentry)->d_parent->d_name.name,(dentry)->d_name.name
    8 
    9 /*
   10  * safety checks that should never happen ???
   11  * these are normally enabled.
   12  */
   13 #ifdef SMBFS_PARANOIA
   14 # define PARANOIA(f, a...) printk(KERN_NOTICE "%s: " f, __func__ , ## a)
   15 #else
   16 # define PARANOIA(f, a...) do { ; } while(0)
   17 #endif
   18 
   19 /* lots of debug messages */
   20 #ifdef SMBFS_DEBUG_VERBOSE
   21 # define VERBOSE(f, a...) printk(KERN_DEBUG "%s: " f, __func__ , ## a)
   22 #else
   23 # define VERBOSE(f, a...) do { ; } while(0)
   24 #endif
   25 
   26 /*
   27  * "normal" debug messages, but not with a normal DEBUG define ... way
   28  * too common name.
   29  */
   30 #ifdef SMBFS_DEBUG
   31 #define DEBUG1(f, a...) printk(KERN_DEBUG "%s: " f, __func__ , ## a)
   32 #else
   33 #define DEBUG1(f, a...) do { ; } while(0)
   34 #endif

Cache object: 334a53d2456dddfe711bb794f60cd30e


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.