Searched refs:test_buffer (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/lib/ |
H A 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 …]
|
H A D | test_printf.c | 42 static char *test_buffer __initdata; 56 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test() 71 if (memchr_inv(test_buffer, FILL_CHAR, BUF_SIZE + PAD_SIZE)) { in do_test() 80 if (test_buffer[written]) { in do_test() 86 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, bufsize - (written + 1))) { in do_test() 92 if (memchr_inv(test_buffer + bufsize, FILL_CHAR, BUF_SIZE + PAD_SIZE - bufsize)) { in do_test() 97 if (memcmp(test_buffer, expect, written)) { in do_test() 99 bufsize, fmt, test_buffer, written, expect); in do_test() 815 test_buffer = alloced_buffer + PAD_SIZE; in selftest()
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_debugfs_kunit.c | 261 static char test_buffer[TEST_BUF_SZ]; in test_prf() local 272 cnt = vscnprintf(test_buffer, TEST_BUF_SZ, fmt, args); in test_prf() 277 test_buffer[idx]; in test_prf() 278 if (test_buffer[idx] == '\n') { in test_prf()
|
/openbmc/linux/drivers/char/hw_random/ |
H A 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()
|
H A D | n2rng.h | 143 u64 test_buffer[SELFTEST_BUFFER_WORDS]; member
|