Home
last modified time | relevance | path

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

/linux/lib/
H A Dtest_sort.c11 #define TEST_LEN 1000 macro
22 a = kunit_kmalloc_array(test, TEST_LEN, sizeof(*a), GFP_KERNEL); in test_sort()
25 for (i = 0; i < TEST_LEN; i++) { in test_sort()
30 sort(a, TEST_LEN, sizeof(*a), cmpint, NULL); in test_sort()
32 for (i = 0; i < TEST_LEN - 1; i++) in test_sort()
37 for (i = 0; i < TEST_LEN - 1; i++) { in test_sort()
42 sort(a, TEST_LEN - 1, sizeof(*a), cmpint, NULL); in test_sort()
44 for (i = 0; i < TEST_LEN - 2; i++) in test_sort()
/linux/drivers/ata/pata_parport/
H A Dbpck.c297 #define TEST_LEN 16 macro
302 char buf[TEST_LEN]; in bpck_test_proto()
312 for (i = 0; i < TEST_LEN; i++) { in bpck_test_proto()
324 for (i = 0; i < TEST_LEN; i++) { in bpck_test_proto()
348 for (i = 0; i < TEST_LEN; i++) in bpck_test_proto()
352 for (i = 0; i < TEST_LEN / 2; i++) in bpck_test_proto()
356 for (i = 0; i < TEST_LEN / 4; i++) in bpck_test_proto()
370 print_hex_dump_debug("bpck: ", DUMP_PREFIX_NONE, TEST_LEN, 1, buf, in bpck_test_proto()
371 TEST_LEN, false); in bpck_test_proto()
374 for (i = 0; i < TEST_LEN; i++) { in bpck_test_proto()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_guc_relay_test.c16 #define TEST_LEN 6 macro
53 static const u32 TEST_MSG[TEST_LEN] = {
83 KUNIT_ASSERT_EQ(test, len, PF2GUC_RELAY_TO_VF_REQUEST_MSG_MIN_LEN + TEST_LEN); in replacement_xe_guc_ct_send_recv_expects_pf2guc_relay()
93 sizeof(u32) * TEST_LEN); in replacement_xe_guc_ct_send_recv_expects_pf2guc_relay()
185 TEST_MSG, TEST_LEN, NULL, 0); in pf_txn_reports_error()
201 TEST_MSG, TEST_LEN, NULL, 0); in pf_txn_sends_pf2guc()
219 TEST_MSG, TEST_LEN, NULL, 0)); in pf_sends_pf2guc()
/linux/Documentation/dev-tools/kunit/
H A Dusage.rst104 a = kunit_kmalloc_array(test, TEST_LEN, sizeof(*a), GFP_KERNEL);
106 for (i = 0; i < TEST_LEN; i++) {
110 sort(a, TEST_LEN, sizeof(*a), cmpint, NULL);
111 for (i = 0; i < TEST_LEN-1; i++)