Searched refs:test_buffer (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/lib/ |
D | test_scanf.c | 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); \ [all …]
|
D | test_printf.c | 35 static char *test_buffer __initdata; 51 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test() 66 if (memchr_inv(test_buffer, FILL_CHAR, BUF_SIZE + PAD_SIZE)) { in do_test() 75 if (test_buffer[written]) { in do_test() 81 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { in do_test() 87 if (memcmp(test_buffer, expect, written)) { in do_test() 89 bufsize, fmt, test_buffer, written, expect); in do_test() 791 test_buffer = alloced_buffer + PAD_SIZE; in selftest()
|
/linux-5.19.10/drivers/char/hw_random/ |
D | n2-drv.c | 506 if (np->test_buffer[i] == val) in n2rng_test_buffer_find() 518 i, np->test_buffer[i]); in n2rng_dump_test_buffer() 589 np->test_buffer, in n2rng_control_selftest() 590 sizeof(np->test_buffer), in n2rng_control_selftest()
|
D | n2rng.h | 143 u64 test_buffer[SELFTEST_BUFFER_WORDS]; member
|