Home
last modified time | relevance | path

Searched refs:iterations (Results 1 – 25 of 132) sorted by relevance

123456

/openbmc/qemu/tests/unit/
H A Dtest-crypto-pbkdf.c36 unsigned int iterations; member
57 .iterations = 1,
71 .iterations = 2,
85 .iterations = 1200,
99 .iterations = 5,
113 .iterations = 1200,
128 .iterations = 1200,
143 .iterations = 50,
159 .iterations = 1,
171 .iterations = 2,
[all …]
H A Dtest-blockjob-txn.c22 unsigned int iterations; member
32 while (s->iterations--) { in test_block_job_run()
78 static BlockJob *test_block_job_start(unsigned int iterations, in test_block_job_start() argument
100 s->iterations = iterations; in test_block_job_start()
/openbmc/linux/tools/testing/selftests/sync/
H A Dsync_stress_consumer.c55 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()
H A Dsync_stress_parallelism.c35 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()
/openbmc/qemu/crypto/
H A Dpbkdf.c96 uint64_t iterations; member
113 uint64_t iterations = (1 << 15); in threaded_qcrypto_pbkdf2_count_iters() local
123 iterations, in threaded_qcrypto_pbkdf2_count_iters()
140 iterations = iterations * 10; in threaded_qcrypto_pbkdf2_count_iters()
142 iterations = (iterations * 1000 / delta_ms); in threaded_qcrypto_pbkdf2_count_iters()
146 iterations = iterations * 1000 / delta_ms; in threaded_qcrypto_pbkdf2_count_iters()
148 ret = iterations; in threaded_qcrypto_pbkdf2_count_iters()
152 iters_data->iterations = ret; in threaded_qcrypto_pbkdf2_count_iters()
171 return data.iterations; in qcrypto_pbkdf2_count_iters()
H A Dpbkdf-nettle.c46 uint64_t iterations, in qcrypto_pbkdf2() argument
60 if (iterations > UINT_MAX) { in qcrypto_pbkdf2()
63 (long long unsigned)iterations, UINT_MAX); in qcrypto_pbkdf2()
71 MD5_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
77 SHA1_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
83 SHA224_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
89 SHA256_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
95 SHA384_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
101 SHA512_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
107 RIPEMD160_DIGEST_SIZE, iterations, nsalt, salt, nout, out); in qcrypto_pbkdf2()
H A Dpbkdf-gcrypt.c45 uint64_t iterations, in qcrypto_pbkdf2() argument
60 if (iterations > ULONG_MAX) { in qcrypto_pbkdf2()
63 (long long unsigned)iterations, ULONG_MAX); in qcrypto_pbkdf2()
77 salt, nsalt, iterations, in qcrypto_pbkdf2()
H A Dpbkdf-gnutls.c45 uint64_t iterations, in qcrypto_pbkdf2() argument
62 if (iterations > ULONG_MAX) { in qcrypto_pbkdf2()
65 (long long unsigned)iterations, ULONG_MAX); in qcrypto_pbkdf2()
80 iterations, in qcrypto_pbkdf2()
/openbmc/u-boot/lib/dhry/
H A Dcmd_dhry.c15 int iterations = 1000000; in do_dhry() local
18 iterations = simple_strtoul(argv[1], NULL, 10); in do_dhry()
21 dhry(iterations); in do_dhry()
23 dhry_per_sec = lldiv(iterations * 1000ULL, duration); in do_dhry()
25 printf("%d iterations in %lu ms: %lu/s, %lu DMIPS\n", iterations, in do_dhry()
/openbmc/linux/lib/
H A Ddhry_run.c27 static int iterations = -1; variable
28 module_param(iterations, int, 0644);
29 MODULE_PARM_DESC(iterations,
37 if (iterations > 0) { in dhry_benchmark()
38 n = dhry(iterations); in dhry_benchmark()
/openbmc/linux/drivers/usb/misc/
H A Dusbtest.c31 __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 …]
/openbmc/linux/tools/testing/selftests/arm64/fp/
H A DREADME30 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
/openbmc/linux/tools/testing/selftests/powerpc/security/
H A Dflush_utils.c30 void syscall_loop(char *p, unsigned long iterations, in syscall_loop() argument
33 for (unsigned long i = 0; i < iterations; i++) { in syscall_loop()
40 void syscall_loop_uaccess(char *p, unsigned long iterations, in syscall_loop_uaccess() argument
45 for (unsigned long i = 0; i < iterations; i++) { in syscall_loop_uaccess()
H A Dflush_utils.h16 void syscall_loop(char *p, unsigned long iterations,
19 void syscall_loop_uaccess(char *p, unsigned long iterations,
H A Drfi_flush.c27 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()
/openbmc/linux/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c129 unsigned long iterations; member
217 while (iteration < p->iterations) { in run_test()
280 avg = timespec_div(get_dirty_log_total, p->iterations); in run_test()
282 p->iterations, get_dirty_log_total.tv_sec, in run_test()
286 avg = timespec_div(clear_dirty_log_total, p->iterations); in run_test()
288 p->iterations, clear_dirty_log_total.tv_sec, in run_test()
345 .iterations = TEST_HOST_LOOP_N, in main()
383 p.iterations = atoi_positive("Number of iterations", optarg); in main()
428 TEST_ASSERT(p.iterations >= 2, "The test should have at least two iterations"); in main()
430 pr_info("Test iterations: %"PRIu64"\n", p.iterations); in main()
/openbmc/linux/samples/timers/
H A Dhpet_example.c134 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()
/openbmc/linux/arch/powerpc/crypto/
H A Dcrc-vpmsum_test.c18 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);
/openbmc/openbmc-test-automation/security/
H A Dtest_bmc_network_security.robot28 ${iterations} 5000 variable
58 ... ${OPENBMC_HOST} ${iterations} ${ICMP_PACKETS}
83 ... ${OPENBMC_HOST} ${iterations} ${TCP_PACKETS} ${IPMI_PORT}
97 ... ${OPENBMC_HOST} ${iterations} ${TCP_PACKETS} ${SSH_PORT}
116 ${OPENBMC_HOST} ${iterations} ${REDFISH_INTERFACE} ${SYN_PACKETS}
122 ${OPENBMC_HOST} ${iterations} ${REDFISH_INTERFACE} ${FIN_PACKETS}
128 ${OPENBMC_HOST} ${iterations} ${REDFISH_INTERFACE} ${ALL_FLAGS}
138 ... ${OPENBMC_HOST} ${iterations} ${TCP_PACKETS} ${HOST_SOL_PORT}
155 ... ${OPENBMC_HOST} ${iterations} ${TCP_CONNECTION} ${HTTPS_PORT}
173 ... ${OPENBMC_HOST} ${iterations} ${TCP_CONNECTION} ${IPMI_PORT}
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dpage_64.h45 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()
/openbmc/linux/tools/testing/selftests/powerpc/benchmarks/
H A Dmmap_bench.c21 static int iterations = ITERATIONS; variable
37 unsigned long i = iterations; in test_mmap()
80 iterations = atoi(optarg); in main()
H A Dfork.c72 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()
/openbmc/linux/tools/perf/bench/
H A Dkallsyms-parse.c14 static unsigned int iterations = 100; variable
17 OPT_UINTEGER('i', "iterations", &iterations,
46 for (i = 0; i < iterations; i++) { in do_kallsyms_parse()
H A Dpmu-scan.c18 static unsigned int iterations = 100; variable
29 OPT_UINTEGER('i', "iterations", &iterations,
138 iterations); in run_pmu_scan()
148 for (unsigned int i = 0; i < iterations; i++) { in run_pmu_scan()
/openbmc/linux/tools/testing/selftests/timers/
H A Dleap-a-day.c185 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()

123456