Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dtest_printf.c29 static char *test_buffer __initdata;
43 ret = vsnprintf(test_buffer, bufsize, fmt, aq); in do_test()
58 if (memchr_inv(test_buffer, FILL_CHAR, BUF_SIZE + PAD_SIZE)) { in do_test()
67 if (test_buffer[written]) { in do_test()
73 if (memchr_inv(test_buffer + written + 1, FILL_CHAR, BUF_SIZE + PAD_SIZE - (written + 1))) { in do_test()
79 if (memcmp(test_buffer, expect, written)) { in do_test()
81 bufsize, fmt, test_buffer, written, expect); in do_test()
544 test_buffer = alloced_buffer + PAD_SIZE; in test_printf_init()
/Linux-v4.19/drivers/char/hw_random/
Dn2-drv.c505 if (np->test_buffer[i] == val) in n2rng_test_buffer_find()
517 i, np->test_buffer[i]); in n2rng_dump_test_buffer()
588 np->test_buffer, in n2rng_control_selftest()
589 sizeof(np->test_buffer), in n2rng_control_selftest()
Dn2rng.h143 u64 test_buffer[SELFTEST_BUFFER_WORDS]; member
/Linux-v4.19/tools/testing/selftests/x86/
Dmpx-mini-test.c176 uint8_t __attribute__((__aligned__(64))) test_buffer[4096]; variable
177 struct xsave_struct *xsave_test_buf = (struct xsave_struct *)test_buffer;