Lines Matching refs:fmt
5 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt argument
45 const char *fmt, va_list ap) in do_test() argument
54 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test()
59 bufsize, fmt, ret, elen); in do_test()
66 fmt); in do_test()
75 bufsize, fmt); in do_test()
81 bufsize, fmt, test_buffer, written, expect); in do_test()
88 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument
96 va_start(ap, fmt); in __test()
104 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test()
107 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test()
108 failed_tests += do_test(0, expect, elen, fmt, ap); in __test()
110 p = kvasprintf(GFP_KERNEL, fmt, ap); in __test()
114 fmt, p, expect); in __test()
122 #define test(expect, fmt, ...) \ argument
123 __test(expect, strlen(expect), fmt, ##__VA_ARGS__)