Lines Matching refs:fmt
18 #define pr_fmt(fmt) fmt
21 #define pr_err(fmt, ...) \
22 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
23 #define pr_warning(fmt, ...) \
24 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
25 #define pr_warning_once(fmt, ...) ({ \
28 pr_warning(fmt, ##__VA_ARGS__); \
32 #define pr_info(fmt, ...) \
33 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__)
34 #define pr_debug(fmt, ...) \
35 eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__)
36 #define pr_debugN(n, fmt, ...) \
37 eprintf(n, verbose, pr_fmt(fmt), ##__VA_ARGS__)
38 #define pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__)
39 #define pr_debug3(fmt, ...) pr_debugN(3, pr_fmt(fmt), ##__VA_ARGS__)
40 #define pr_debug4(fmt, ...) pr_debugN(4, pr_fmt(fmt), ##__VA_ARGS__)
43 #define pr_debug2_peo(fmt, ...) { \
45 pr_debugN(0, pr_fmt(fmt), ##__VA_ARGS__); \
47 pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__); \
50 #define pr_time_N(n, var, t, fmt, ...) \
51 eprintf_time(n, var, t, fmt, ##__VA_ARGS__)
53 #define pr_oe_time(t, fmt, ...) pr_time_N(1, debug_ordered_events, t, pr_fmt(fmt), ##__VA_ARGS__)
54 #define pr_oe_time2(t, fmt, ...) pr_time_N(2, debug_ordered_events, t, pr_fmt(fmt), ##__VA_ARGS__)
60 int dump_printf(const char *fmt, ...) __printf(1, 2);
73 void pr_stat(const char *fmt, ...);
75 int eprintf(int level, int var, const char *fmt, ...) __printf(3, 4);
76 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) __printf(4, 5);
77 int veprintf(int level, int var, const char *fmt, va_list args);