Blame view

fs/xfs/xfs_message.h 1.1 KB
10e38391c   Dave Chinner   xfs: introduce ne...
1
2
3
4
  #ifndef __XFS_MESSAGE_H
  #define __XFS_MESSAGE_H 1
  
  struct xfs_mount;
b9075fa96   Joe Perches   treewide: use __p...
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  extern __printf(2, 3)
  void xfs_emerg(const struct xfs_mount *mp, const char *fmt, ...);
  extern __printf(2, 3)
  void xfs_alert(const struct xfs_mount *mp, const char *fmt, ...);
  extern __printf(3, 4)
  void xfs_alert_tag(const struct xfs_mount *mp, int tag, const char *fmt, ...);
  extern __printf(2, 3)
  void xfs_crit(const struct xfs_mount *mp, const char *fmt, ...);
  extern __printf(2, 3)
  void xfs_err(const struct xfs_mount *mp, const char *fmt, ...);
  extern __printf(2, 3)
  void xfs_warn(const struct xfs_mount *mp, const char *fmt, ...);
  extern __printf(2, 3)
  void xfs_notice(const struct xfs_mount *mp, const char *fmt, ...);
  extern __printf(2, 3)
  void xfs_info(const struct xfs_mount *mp, const char *fmt, ...);
10e38391c   Dave Chinner   xfs: introduce ne...
21
22
  
  #ifdef DEBUG
b9075fa96   Joe Perches   treewide: use __p...
23
24
  extern __printf(2, 3)
  void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...);
10e38391c   Dave Chinner   xfs: introduce ne...
25
  #else
b9075fa96   Joe Perches   treewide: use __p...
26
27
  static inline __printf(2, 3)
  void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...)
957935dcd   Christoph Hellwig   xfs: fix xfs_debu...
28
29
  {
  }
10e38391c   Dave Chinner   xfs: introduce ne...
30
  #endif
9130090b5   Dave Chinner   xfs: kill support...
31
32
33
  extern void assfail(char *expr, char *f, int l);
  
  extern void xfs_hex_dump(void *p, int length);
10e38391c   Dave Chinner   xfs: introduce ne...
34
  #endif	/* __XFS_MESSAGE_H */