Home
last modified time | relevance | path

Searched refs:test_buffer (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/lib/
Dtest_printf.c33 static char *test_buffer __initdata;
47 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test()
62 if (memchr_inv(test_buffer, FILL_CHAR, BUF_SIZE + PAD_SIZE)) { in do_test()
71 if (test_buffer[written]) { in do_test()
77 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { in do_test()
83 if (memcmp(test_buffer, expect, written)) { in do_test()
85 bufsize, fmt, test_buffer, written, expect); in do_test()
625 test_buffer = alloced_buffer + PAD_SIZE; in selftest()
/Linux-v5.4/drivers/char/hw_random/
Dn2-drv.c506 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()
Dn2rng.h143 u64 test_buffer[SELFTEST_BUFFER_WORDS]; member