/Linux-v6.1/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()
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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
|
/Linux-v6.1/tools/testing/selftests/powerpc/security/ |
D | flush_utils.c | 29 void syscall_loop(char *p, unsigned long iterations, in syscall_loop() argument 32 for (unsigned long i = 0; i < iterations; i++) { in syscall_loop() 39 void syscall_loop_uaccess(char *p, unsigned long iterations, in syscall_loop_uaccess() argument 44 for (unsigned long i = 0; i < iterations; i++) { in syscall_loop_uaccess()
|
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.h | 16 void syscall_loop(char *p, unsigned long iterations, 19 void syscall_loop_uaccess(char *p, unsigned long iterations,
|
D | uaccess_flush.c | 28 unsigned long iterations = 100000, zero_size = 24 * 1024; in uaccess_flush_test() local 86 l1d_misses_expected = iterations * (zero_size / CACHELINE_SIZE - 2); in uaccess_flush_test() 91 syscall_loop_uaccess(p, iterations, zero_size); in uaccess_flush_test()
|
/Linux-v6.1/tools/testing/selftests/kvm/ |
D | dirty_log_perf_test.c | 129 unsigned long iterations; member 272 while (iteration < p->iterations) { in run_test() 334 avg = timespec_div(get_dirty_log_total, p->iterations); in run_test() 336 p->iterations, get_dirty_log_total.tv_sec, in run_test() 340 avg = timespec_div(clear_dirty_log_total, p->iterations); in run_test() 342 p->iterations, clear_dirty_log_total.tv_sec, in run_test() 394 .iterations = TEST_HOST_LOOP_N, in main() 418 p.iterations = atoi(optarg); in main() 458 TEST_ASSERT(p.iterations >= 2, "The test should have at least two iterations"); in main() 460 pr_info("Test iterations: %"PRIu64"\n", p.iterations); in main()
|
D | dirty_log_test.c | 688 unsigned long iterations; member 777 while (iteration < p->iterations) { in run_test() 846 .iterations = TEST_HOST_LOOP_N, in main() 863 p.iterations = strtol(optarg, NULL, 10); in main() 901 TEST_ASSERT(p.iterations > 2, "Iterations must be greater than two"); in main() 905 p.iterations, p.interval); in main()
|
/Linux-v6.1/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()
|
/Linux-v6.1/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);
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
D | evlist-open-close.c | 24 static int iterations = 100; variable 53 …OPT_INTEGER('i', "iterations", &iterations, "Number of iterations used to compute average (default… 158 printf(" Number of iterations:\t%d\n", iterations); in bench_evlist_open_close__run() 162 for (i = 0; i < iterations; i++) { in bench_evlist_open_close__run()
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/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
|
/Linux-v6.1/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() 558 cooldown_secs, cooldown_nsecs, iterations, state, in test_lockup_init()
|
/Linux-v6.1/drivers/infiniband/sw/rxe/ |
D | rxe_task.c | 36 unsigned int iterations = RXE_MAX_ITERATIONS; in rxe_do_task() local 67 } else if (iterations--) { in rxe_do_task()
|
/Linux-v6.1/Documentation/driver-api/dmaengine/ |
D | dmatest.rst | 43 % modprobe dmatest timeout=2000 iterations=1 channel=dma0chan0 run=1 49 % echo 1 > /sys/module/dmatest/parameters/iterations 55 dmatest.timeout=2000 dmatest.iterations=1 dmatest.channel=dma0chan0 dmatest.run=1 61 % echo 1 > /sys/module/dmatest/parameters/iterations 97 to complete before exiting. Note that if 'iterations' is set to 'infinite' then 102 % modprobe dmatest run=1 iterations=42 wait=1 107 % modprobe dmatest run=1 iterations=42
|