Home
last modified time | relevance | path

Searched refs:test_buf (Results 1 – 2 of 2) sorted by relevance

/lib/
Dcrc32test.c34 static u8 const __aligned(8) test_buf[] __initconst =
680 crc ^= __crc32c_le(test[i].crc, test_buf + in crc32c_test()
689 if (test[i].crc32c_le != __crc32c_le(test[i].crc, test_buf + in crc32c_test()
717 crc_full = __crc32c_le(test[i].crc, test_buf + test[i].start, in crc32c_combine_test()
723 crc1 = __crc32c_le(test[i].crc, test_buf + in crc32c_combine_test()
725 crc2 = __crc32c_le(0, test_buf + test[i].start + in crc32c_combine_test()
760 crc ^= crc32_le(test[i].crc, test_buf + in crc32_test()
763 crc ^= crc32_be(test[i].crc, test_buf + in crc32_test()
772 if (test[i].crc_le != crc32_le(test[i].crc, test_buf + in crc32_test()
776 if (test[i].crc_be != crc32_be(test[i].crc, test_buf + in crc32_test()
[all …]
Dtest_firmware.c802 void *test_buf; in test_fw_run_batch_request() local
804 test_buf = kzalloc(TEST_FIRMWARE_BUF_SIZE, GFP_KERNEL); in test_fw_run_batch_request()
805 if (!test_buf) in test_fw_run_batch_request()
813 test_buf, in test_fw_run_batch_request()
821 test_buf, in test_fw_run_batch_request()
824 kfree(test_buf); in test_fw_run_batch_request()
826 req->fw_buf = test_buf; in test_fw_run_batch_request()