Home
last modified time | relevance | path

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

/Linux-v4.19/lib/
Dtest_sort.c7 #define TEST_LEN 1000 macro
18 a = kmalloc_array(TEST_LEN, sizeof(*a), GFP_KERNEL); in test_sort_init()
22 for (i = 0; i < TEST_LEN; i++) { in test_sort_init()
27 sort(a, TEST_LEN, sizeof(*a), cmpint, NULL); in test_sort_init()
30 for (i = 0; i < TEST_LEN-1; i++) in test_sort_init()
/Linux-v4.19/drivers/block/paride/
Dbpck.c276 #define TEST_LEN 16 macro
281 char buf[TEST_LEN]; in bpck_test_proto()
290 for(i=0;i<TEST_LEN;i++) { in bpck_test_proto()
301 for(i=0;i<TEST_LEN;i++) { t2(4); buf[i] = r0(); } in bpck_test_proto()
320 case 2: for (i=0;i<TEST_LEN;i++) buf[i] = r4(); in bpck_test_proto()
322 case 3: for (i=0;i<TEST_LEN/2;i++) ((u16 *)buf)[i] = r4w(); in bpck_test_proto()
324 case 4: for (i=0;i<TEST_LEN/4;i++) ((u32 *)buf)[i] = r4l(); in bpck_test_proto()
339 for (i=0;i<TEST_LEN;i++) printk("%3d",buf[i]); in bpck_test_proto()
344 for (i=0;i<TEST_LEN;i++) if (buf[i] != (i+1)) e++; in bpck_test_proto()