/linux/tools/testing/selftests/sync/ |
A 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()
|
A 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/drivers/usb/misc/ |
A D | usbtest.c | 31 __u32 iterations; member 48 __u32 iterations; member 457 int iterations, in simple_io() argument 602 unsigned iterations, in perform_sglist() argument 2162 int iterations, in test_unaligned_bulk() argument 2280 param->iterations, in usbtest_do_ioctl() 2299 param->iterations, in usbtest_do_ioctl() 2419 param->iterations, in usbtest_do_ioctl() 2432 param->iterations, in usbtest_do_ioctl() 2445 param->iterations, in usbtest_do_ioctl() [all …]
|
/linux/tools/testing/selftests/arm64/fp/ |
A 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/tools/testing/selftests/kvm/ |
A D | dirty_log_perf_test.c | 88 unsigned long iterations; member 232 while (iteration < p->iterations) { in run_test() 282 avg = timespec_div(get_dirty_log_total, p->iterations); in run_test() 284 p->iterations, get_dirty_log_total.tv_sec, in run_test() 288 avg = timespec_div(clear_dirty_log_total, p->iterations); in run_test() 290 p->iterations, clear_dirty_log_total.tv_sec, in run_test() 331 .iterations = TEST_HOST_LOOP_N, in main() 349 p.iterations = atoi(optarg); in main() 386 TEST_ASSERT(p.iterations >= 2, "The test should have at least two iterations"); in main() 388 pr_info("Test iterations: %"PRIu64"\n", p.iterations); in main()
|
A D | dirty_log_test.c | 696 unsigned long iterations; member 786 while (iteration < p->iterations) { in run_test() 855 .iterations = TEST_HOST_LOOP_N, in main() 872 p.iterations = strtol(optarg, NULL, 10); in main() 910 TEST_ASSERT(p.iterations > 2, "Iterations must be greater than two"); in main() 914 p.iterations, p.interval); in main()
|
/linux/tools/testing/selftests/powerpc/security/ |
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | flush_utils.h | 16 void syscall_loop(char *p, unsigned long iterations, 19 void syscall_loop_uaccess(char *p, unsigned long iterations,
|
/linux/samples/timers/ |
A 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/arch/powerpc/crypto/ |
A 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/tools/testing/selftests/powerpc/benchmarks/ |
A 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()
|
A D | mmap_bench.c | 21 static int iterations = ITERATIONS; variable 37 unsigned long i = iterations; in test_mmap() 80 iterations = atoi(optarg); in main()
|
A 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/tools/testing/selftests/timers/ |
A 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/arch/powerpc/include/asm/ |
A 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/tools/perf/bench/ |
A 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()
|
A 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/tools/testing/selftests/powerpc/stringloops/ |
A 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/drivers/staging/greybus/tools/ |
A 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/Documentation/driver-api/dmaengine/ |
A 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
|
/linux/lib/ |
A 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() 553 cooldown_secs, cooldown_nsecs, iterations, state, in test_lockup_init()
|
/linux/drivers/dma/ |
A 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() 685 (params->iterations && total_tests >= params->iterations))) { in dmatest_func() 1102 params->iterations = iterations; in add_threaded_test() 1337 if (params->iterations && wait) in dmatest_init()
|