Lines Matching refs:fmt
19 #define pr_fmt(fmt) fmt
22 #define pr_err(fmt, ...) \
23 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
24 #define pr_warning(fmt, ...) \
25 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
26 #define pr_warning_once(fmt, ...) ({ \
29 pr_warning(fmt, ##__VA_ARGS__); \
33 #define pr_info(fmt, ...) \
34 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
35 #define pr_debug(fmt, ...) \
36 eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__)
37 #define pr_debugN(n, fmt, ...) \
38 eprintf(n, verbose, pr_fmt(fmt), ##__VA_ARGS__)
39 #define pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__)
40 #define pr_debug3(fmt, ...) pr_debugN(3, pr_fmt(fmt), ##__VA_ARGS__)
41 #define pr_debug4(fmt, ...) pr_debugN(4, pr_fmt(fmt), ##__VA_ARGS__)
44 #define pr_debug2_peo(fmt, ...) { \
46 pr_debugN(0, pr_fmt(fmt), ##__VA_ARGS__); \
48 pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__); \
51 #define pr_time_N(n, var, t, fmt, ...) \
52 eprintf_time(n, var, t, fmt, ##__VA_ARGS__)
54 #define pr_oe_time(t, fmt, ...) pr_time_N(1, debug_ordered_events, t, pr_fmt(fmt), ##__VA_ARGS__)
55 #define pr_oe_time2(t, fmt, ...) pr_time_N(2, debug_ordered_events, t, pr_fmt(fmt), ##__VA_ARGS__)
61 int dump_printf(const char *fmt, ...) __printf(1, 2);
74 void pr_stat(const char *fmt, ...);
76 int eprintf(int level, int var, const char *fmt, ...) __printf(3, 4);
77 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) __printf(4, 5);
78 int veprintf(int level, int var, const char *fmt, va_list args);