Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
xfs_message.c File Reference
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_types.h"
#include "xfs_log.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_mount.h"

Go to the source code of this file.

Macros

#define define_xfs_printk_level(func, kern_level)
 

Functions

 define_xfs_printk_level (xfs_emerg, KERN_EMERG)
 
 define_xfs_printk_level (xfs_alert, KERN_ALERT)
 
 define_xfs_printk_level (xfs_crit, KERN_CRIT)
 
 define_xfs_printk_level (xfs_err, KERN_ERR)
 
 define_xfs_printk_level (xfs_warn, KERN_WARNING)
 
 define_xfs_printk_level (xfs_notice, KERN_NOTICE)
 
 define_xfs_printk_level (xfs_info, KERN_INFO)
 
void xfs_alert_tag (const struct xfs_mount *mp, int panic_tag, const char *fmt,...)
 
void assfail (char *expr, char *file, int line)
 
void xfs_hex_dump (void *p, int length)
 

Macro Definition Documentation

#define define_xfs_printk_level (   func,
  kern_level 
)
Value:
void func(const struct xfs_mount *mp, const char *fmt, ...) \
{ \
va_start(args, fmt); \
\
vaf.fmt = fmt; \
vaf.va = &args; \
\
__xfs_printk(kern_level, mp, &vaf); \
va_end(args); \
} \

Definition at line 43 of file xfs_message.c.

Function Documentation

void assfail ( char expr,
char file,
int  line 
)

Definition at line 96 of file xfs_message.c.

define_xfs_printk_level ( xfs_emerg  ,
KERN_EMERG   
)
define_xfs_printk_level ( xfs_alert  ,
KERN_ALERT   
)
define_xfs_printk_level ( xfs_crit  ,
KERN_CRIT   
)
define_xfs_printk_level ( xfs_err  ,
KERN_ERR   
)
define_xfs_printk_level ( xfs_warn  ,
KERN_WARNING   
)
define_xfs_printk_level ( xfs_notice  ,
KERN_NOTICE   
)
define_xfs_printk_level ( xfs_info  ,
KERN_INFO   
)
void xfs_alert_tag ( const struct xfs_mount *  mp,
int  panic_tag,
const char fmt,
  ... 
)

Definition at line 70 of file xfs_message.c.

void xfs_hex_dump ( void p,
int  length 
)

Definition at line 104 of file xfs_message.c.