Lines Matching refs:test_buffer
23 static char *test_buffer __initdata;
198 snprintf(test_buffer, BUF_SIZE, gen_fmt, expect_val); \
199 _test(fn, &expect_val, test_buffer, "%" scan_fmt, 1, &result); \
361 append_delim(test_buffer, &pos, BUF_SIZE, \
365 append_fmt(test_buffer, &pos, BUF_SIZE, gen_fmt, expect[i]); \
369 test_array_8(fn, expect, test_buffer, fmt_buffer, result); \
389 append_delim(test_buffer, &pos, BUF_SIZE, \
392 val_len = append_fmt(test_buffer, &pos, BUF_SIZE, gen_fmt, \
398 test_array_8(fn, expect, test_buffer, fmt_buffer, result); \
690 len = snprintf(test_buffer, BUF_SIZE, gen_fmt, expect); \
691 got = (fn)(test_buffer, &endp, base); \
692 pr_debug(#fn "(\"%s\", %d) -> " gen_fmt "\n", test_buffer, base, got); \
696 test_buffer, base, got, expect); \
697 } else if (endp != test_buffer + len) { \
700 test_buffer, base, test_buffer, \
701 test_buffer + len, endp); \
788 test_buffer = kmalloc(BUF_SIZE, GFP_KERNEL); in selftest()
789 if (!test_buffer) in selftest()
794 kfree(test_buffer); in selftest()
808 kfree(test_buffer); in selftest()