/kernel/linux/linux-5.10/tools/testing/selftests/sync/ |
D | sync_stress_consumer.c | 55 int iterations; member 69 int iterations = test_data_mpsc.iterations; in mpsc_producer_thread() local 71 for (i = 0; i < iterations; i++) { in mpsc_producer_thread() 81 if ((iterations + id) % 8 != 0) { in mpsc_producer_thread() 111 int iterations = test_data_mpsc.iterations; in mpcs_consumer_thread() local 114 for (it = 1; it <= iterations; it++) { in mpcs_consumer_thread() 132 if (iterations % 8 != 0) { in mpcs_consumer_thread() 155 int iterations = 1 << 12; in test_consumer_stress_multi_producer_single_consumer() local 168 test_data_mpsc.iterations = iterations; in test_consumer_stress_multi_producer_single_consumer()
|
D | sync_stress_parallelism.c | 35 int iterations; member 44 int iterations = test_data_two_threads.iterations; in test_stress_two_threads_shared_timeline_thread() local 47 for (i = 0; i < iterations; i++) { in test_stress_two_threads_shared_timeline_thread() 84 test_data_two_threads.iterations = 1 << 16; in test_stress_two_threads_shared_timeline() 105 test_data_two_threads.iterations * 2, in test_stress_two_threads_shared_timeline()
|
/kernel/linux/linux-5.10/drivers/usb/misc/ |
D | usbtest.c | 31 __u32 iterations; member 48 __u32 iterations; member 457 int iterations, in simple_io() argument 470 while (retval == 0 && iterations-- > 0) { in simple_io() 510 label, iterations, retval, expected); in simple_io() 602 unsigned iterations, in perform_sglist() argument 617 while (retval == 0 && iterations-- > 0) { in perform_sglist() 646 iterations, retval); in perform_sglist() 1208 if (param->sglen == 0 || param->iterations > UINT_MAX / param->sglen) in test_ctrl_queue() 1214 context.count = param->sglen * param->iterations; in test_ctrl_queue() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/ |
D | dirty_log_perf_test.c | 95 static void run_test(enum vm_guest_mode mode, unsigned long iterations, in run_test() argument 164 while (iteration < iterations) { in run_test() 218 avg = timespec_div(get_dirty_log_total, iterations); in run_test() 220 iterations, get_dirty_log_total.tv_sec, in run_test() 224 avg = timespec_div(clear_dirty_log_total, iterations); in run_test() 226 iterations, clear_dirty_log_total.tv_sec, in run_test() 280 unsigned long iterations = TEST_HOST_LOOP_N; in main() local 323 iterations = strtol(optarg, NULL, 10); in main() 362 TEST_ASSERT(iterations >= 2, "The test should have at least two iterations"); in main() 364 pr_info("Test iterations: %"PRIu64"\n", iterations); in main() [all …]
|
D | dirty_log_test.c | 378 static void run_test(enum vm_guest_mode mode, unsigned long iterations, in run_test() argument 467 while (iteration < iterations) { in run_test() 532 unsigned long iterations = TEST_HOST_LOOP_N; in main() local 564 iterations = strtol(optarg, NULL, 10); in main() 610 TEST_ASSERT(iterations > 2, "Iterations must be greater than two"); in main() 614 iterations, interval); in main() 630 run_test(i, iterations, interval, phys_offset); in main() 634 run_test(i, iterations, interval, phys_offset); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/fp/ |
D | README | 30 Terminated by signal 15, no error, iterations=9467, signals=1014 33 Terminated by signal 15, no error, iterations=9448, signals=1028 36 Terminated by signal 15, no error, iterations=9436, signals=1039 39 Terminated by signal 15, no error, iterations=9421, signals=1039 42 Terminated by signal 15, no error, iterations=9403, signals=1039 45 Terminated by signal 15, no error, iterations=9385, signals=1036 48 Terminated by signal 15, no error, iterations=9376, signals=1039 51 Terminated by signal 15, no error, iterations=9361, signals=1039 54 Terminated by signal 15, no error, iterations=9350, signals=1039
|
/kernel/linux/linux-5.10/samples/timers/ |
D | hpet_example.c | 134 int iterations, i, fd; in hpet_poll() local 147 iterations = atoi(argv[2]); in hpet_poll() 181 for (i = 0; i < iterations; i++) { in hpet_poll() 226 int iterations, i, fd, value; in hpet_fasync() local 259 iterations = atoi(argv[2]); in hpet_fasync() 283 for (i = 0; i < iterations; i++) { in hpet_fasync()
|
/kernel/linux/linux-5.10/arch/powerpc/crypto/ |
D | crc-vpmsum_test.c | 18 static unsigned long iterations = 10000; variable 78 pr_info("crc-vpmsum_test begins, %lu iterations\n", iterations); in crc_test_init() 79 for (i=0; i<iterations; i++) { in crc_test_init() 129 module_param(iterations, long, 0400);
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | page_64.h | 45 unsigned long iterations; in clear_page() local 48 iterations = ppc64_caches.l1d.blocks_per_page / 8; in clear_page() 74 : "r" (iterations), "0" (addr), "b" (onex), "b" (twox), in clear_page()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/ |
D | fork.c | 72 static unsigned long iterations; variable 103 iterations++; in bench_fork() 125 iterations++; in bench_vfork() 173 iterations++; in bench_thread() 179 unsigned long i = iterations; in sigalrm_handler()
|
D | mmap_bench.c | 21 static int iterations = ITERATIONS; variable 37 unsigned long i = iterations; in test_mmap() 80 iterations = atoi(optarg); in main()
|
D | context_switch.c | 143 static unsigned long iterations; variable 148 unsigned long i = iterations; in sigalrm_handler() 194 iterations += 2; in pipe_thread1() 236 iterations += 2; in yield_thread1() 366 iterations += 2; in futex_thread1()
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
D | kallsyms-parse.c | 14 static unsigned int iterations = 100; variable 17 OPT_UINTEGER('i', "iterations", &iterations, 46 for (i = 0; i < iterations; i++) { in do_kallsyms_parse()
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
D | leap-a-day.c | 185 int iterations = 10; in main() local 196 iterations = atoi(optarg); in main() 230 if (iterations < 0) in main() 233 printf("Running for %i iterations. Press ctrl-c to stop\n", iterations); in main() 372 if ((iterations != -1) && !(--iterations)) in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/stringloops/ |
D | memcmp.c | 78 int iterations; in testcase() local 82 iterations = islarge ? LARGE_ITERATIONS : ITERATIONS; in testcase() 98 for (i = 0; i < iterations; i++) { in testcase() 124 for (i = 0; i < iterations; i++) { in testcase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/security/ |
D | entry_flush.c | 27 unsigned long iterations = 100000, zero_size = 24 * 1024; in entry_flush_test() local 72 l1d_misses_expected = iterations * (zero_size / CACHELINE_SIZE - 2); in entry_flush_test() 77 syscall_loop(p, iterations, zero_size); in entry_flush_test()
|
D | rfi_flush.c | 27 unsigned long iterations = 100000, zero_size = 24 * 1024; in rfi_flush_test() local 73 l1d_misses_expected = iterations * (zero_size / CACHELINE_SIZE - 2); in rfi_flush_test() 78 syscall_loop(p, iterations, zero_size); in rfi_flush_test()
|
D | flush_utils.c | 28 void syscall_loop(char *p, unsigned long iterations, in syscall_loop() argument 31 for (unsigned long i = 0; i < iterations; i++) { in syscall_loop()
|
D | flush_utils.h | 16 void syscall_loop(char *p, unsigned long iterations,
|
/kernel/linux/linux-5.10/drivers/staging/greybus/tools/ |
D | README.loopback | 26 iteration_max - Number of tests iterations to perform. 40 iteration_count - Number of iterations performed. 80 -i iteration count - the number of iterations to run the test over 148 * Run a transfer test 10 iterations of size 100 bytes on all available devices 177 iterations: 10 191 iterations: 10
|
/kernel/linux/linux-5.10/Documentation/driver-api/dmaengine/ |
D | dmatest.rst | 33 % modprobe dmatest timeout=2000 iterations=1 channel=dma0chan0 run=1 39 % echo 1 > /sys/module/dmatest/parameters/iterations 45 dmatest.timeout=2000 dmatest.iterations=1 dmatest.channel=dma0chan0 dmatest.run=1 51 % echo 1 > /sys/module/dmatest/parameters/iterations 87 to complete before exiting. Note that if 'iterations' is set to 'infinite' then 92 % modprobe dmatest run=1 iterations=42 wait=1 97 % modprobe dmatest run=1 iterations=42
|
/kernel/linux/linux-5.10/lib/ |
D | test_lockup.c | 35 static unsigned int iterations = 1; variable 36 module_param(iterations, uint, 0600); 37 MODULE_PARM_DESC(iterations, "lockup iterations, default 1"); 361 while (iter++ < iterations && !signal_pending(main_task)) { in test_lockup() 542 cooldown_secs, cooldown_nsecs, iterations, state, in test_lockup_init()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
D | rxe_task.c | 37 unsigned int iterations = RXE_MAX_ITERATIONS; in rxe_do_task() local 68 } else if (iterations--) { in rxe_do_task()
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | dmatest.c | 43 static unsigned int iterations; variable 44 module_param(iterations, uint, S_IRUGO | S_IWUSR); 45 MODULE_PARM_DESC(iterations, 115 unsigned int iterations; member 283 if (params->iterations) in dmatest_wait_get() 682 (params->iterations && total_tests >= params->iterations))) { in dmatest_func() 1099 params->iterations = iterations; in add_threaded_test() 1334 if (params->iterations && wait) in dmatest_init()
|
/kernel/linux/linux-5.10/tools/usb/ |
D | testusb.c | 45 unsigned iterations; member 387 param.iterations = 1000; in main() 408 if (parse_num(¶m.iterations, optarg)) in main()
|