xfs: Remove the macro XFS_BUF_SET_PTR
[deliverable/linux.git] / fs / xfs / linux-2.6 / xfs_message.h
CommitLineData
10e38391
DC
1#ifndef __XFS_MESSAGE_H
2#define __XFS_MESSAGE_H 1
3
4struct xfs_mount;
5
957935dc 6extern void xfs_emerg(const struct xfs_mount *mp, const char *fmt, ...)
10e38391 7 __attribute__ ((format (printf, 2, 3)));
957935dc 8extern void xfs_alert(const struct xfs_mount *mp, const char *fmt, ...)
10e38391 9 __attribute__ ((format (printf, 2, 3)));
957935dc 10extern void xfs_alert_tag(const struct xfs_mount *mp, int tag,
10e38391
DC
11 const char *fmt, ...)
12 __attribute__ ((format (printf, 3, 4)));
957935dc 13extern void xfs_crit(const struct xfs_mount *mp, const char *fmt, ...)
10e38391 14 __attribute__ ((format (printf, 2, 3)));
957935dc 15extern void xfs_err(const struct xfs_mount *mp, const char *fmt, ...)
10e38391 16 __attribute__ ((format (printf, 2, 3)));
957935dc 17extern void xfs_warn(const struct xfs_mount *mp, const char *fmt, ...)
10e38391 18 __attribute__ ((format (printf, 2, 3)));
957935dc 19extern void xfs_notice(const struct xfs_mount *mp, const char *fmt, ...)
10e38391 20 __attribute__ ((format (printf, 2, 3)));
957935dc 21extern void xfs_info(const struct xfs_mount *mp, const char *fmt, ...)
10e38391
DC
22 __attribute__ ((format (printf, 2, 3)));
23
24#ifdef DEBUG
957935dc 25extern void xfs_debug(const struct xfs_mount *mp, const char *fmt, ...)
10e38391
DC
26 __attribute__ ((format (printf, 2, 3)));
27#else
e69522a8
JP
28static inline void
29__attribute__ ((format (printf, 2, 3)))
30xfs_debug(const struct xfs_mount *mp, const char *fmt, ...)
957935dc
CH
31{
32}
10e38391
DC
33#endif
34
9130090b
DC
35extern void assfail(char *expr, char *f, int l);
36
37extern void xfs_hex_dump(void *p, int length);
38
10e38391 39#endif /* __XFS_MESSAGE_H */
This page took 0.051055 seconds and 5 git commands to generate.