Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cifs_debug.h File Reference

Go to the source code of this file.

Macros

#define CIFS_DEBUG   /* BB temporary */
 
#define DBG2   0
 
#define CIFS_INFO   0x01
 
#define CIFS_RC   0x02
 
#define CIFS_TIMER   0x04
 
#define cifsfyi(fmt, arg...)
 
#define cFYI(set, fmt, arg...)
 
#define cifswarn(fmt, arg...)   printk(KERN_WARNING fmt "\n", ##arg)
 
#define cEVENT(fmt, arg...)
 
#define cifserror(fmt, arg...)
 
#define cERROR(set, fmt, arg...)
 

Functions

void cifs_dump_mem (char *label, void *data, int length)
 
void cifs_dump_detail (void *)
 
void cifs_dump_mids (struct TCP_Server_Info *)
 
void dump_smb (void *, int)
 

Variables

int traceSMB
 
int cifsFYI
 
int cifsERROR
 

Macro Definition Documentation

#define cERROR (   set,
  fmt,
  arg... 
)
Value:
do { \
if (set) \
cifserror(fmt, ##arg); \
} while (0)

Definition at line 79 of file cifs_debug.h.

#define cEVENT (   fmt,
  arg... 
)
Value:
do { \
if (cifsERROR) \
printk(KERN_EVENT "%s: " fmt "\n", __FILE__, ##arg); \
} while (0)

Definition at line 66 of file cifs_debug.h.

#define cFYI (   set,
  fmt,
  arg... 
)
Value:
do { \
if (set) \
cifsfyi(fmt, ##arg); \
} while (0)

Definition at line 54 of file cifs_debug.h.

#define CIFS_DEBUG   /* BB temporary */

Definition at line 21 of file cifs_debug.h.

#define CIFS_INFO   0x01

Definition at line 36 of file cifs_debug.h.

#define CIFS_RC   0x02

Definition at line 37 of file cifs_debug.h.

#define CIFS_TIMER   0x04

Definition at line 38 of file cifs_debug.h.

#define cifserror (   fmt,
  arg... 
)
Value:
do { \
if (cifsERROR) \
printk(KERN_ERR "CIFS VFS: " fmt "\n", ##arg); \
} while (0)

Definition at line 73 of file cifs_debug.h.

#define cifsfyi (   fmt,
  arg... 
)
Value:
do { \
if (cifsFYI & CIFS_INFO) \
printk(KERN_DEBUG "%s: " fmt "\n", __FILE__, ##arg); \
} while (0)

Definition at line 48 of file cifs_debug.h.

#define cifswarn (   fmt,
  arg... 
)    printk(KERN_WARNING fmt "\n", ##arg)

Definition at line 60 of file cifs_debug.h.

#define DBG2   0

Definition at line 32 of file cifs_debug.h.

Function Documentation

void cifs_dump_detail ( void )

Definition at line 60 of file cifs_debug.c.

void cifs_dump_mem ( char label,
void data,
int  length 
)

Definition at line 35 of file cifs_debug.c.

void cifs_dump_mids ( struct TCP_Server_Info )

Definition at line 72 of file cifs_debug.c.

void dump_smb ( void ,
int   
)

Definition at line 497 of file misc.c.

Variable Documentation

int cifsERROR

Definition at line 57 of file cifsfs.c.

int cifsFYI

Definition at line 56 of file cifsfs.c.

int traceSMB

Definition at line 58 of file cifsfs.c.