Searched refs:iterations (Results 1 - 25 of 64) sorted by relevance

123

/linux-master/tools/testing/selftests/powerpc/security/
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 Dflush_utils.c30 void syscall_loop(char *p, unsigned long iterations, argument
33 for (unsigned long i = 0; i < iterations; i++) {
40 void syscall_loop_uaccess(char *p, unsigned long iterations, argument
45 for (unsigned long i = 0; i < iterations; i++) {
H A Drfi_flush.c27 unsigned long iterations = 100000, zero_size = 24 * 1024; local
73 l1d_misses_expected = iterations * (zero_size / CACHELINE_SIZE - 2);
78 syscall_loop(p, iterations, zero_size);
H A Dentry_flush.c27 unsigned long iterations = 100000, zero_size = 24 * 1024; local
72 l1d_misses_expected = iterations * (zero_size / CACHELINE_SIZE - 2);
77 syscall_loop(p, iterations, zero_size);
H A Duaccess_flush.c28 unsigned long iterations = 100000, zero_size = 24 * 1024; local
86 l1d_misses_expected = iterations * (zero_size / CACHELINE_SIZE - 2);
91 syscall_loop_uaccess(p, iterations, zero_size);
/linux-master/tools/testing/selftests/sync/
H A Dsync_stress_consumer.c55 int iterations; member in struct:__anon15381
69 int iterations = test_data_mpsc.iterations; local
71 for (i = 0; i < iterations; i++) {
81 if ((iterations + id) % 8 != 0) {
111 int iterations = test_data_mpsc.iterations; local
114 for (it = 1; it <= iterations; it++) {
132 if (iterations % 8 != 0) {
155 int iterations local
[all...]
H A Dsync_stress_parallelism.c35 int iterations; member in struct:__anon15382
44 int iterations = test_data_two_threads.iterations; local
47 for (i = 0; i < iterations; i++) {
84 test_data_two_threads.iterations = 1 << 16;
105 test_data_two_threads.iterations * 2,
/linux-master/lib/
H A Ddhry_run.c26 static int iterations = -1; variable
27 module_param(iterations, int, 0644);
28 MODULE_PARM_DESC(iterations,
29 "Number of iterations through the benchmark (default: auto)");
36 if (iterations > 0) {
37 n = dhry(iterations);
53 pr_err("Please increase the number of iterations\n");
H A Dtest_lockup.c29 MODULE_PARM_DESC(cooldown_secs, "cooldown time between iterations in seconds, default 0");
35 static unsigned int iterations = 1; variable
36 module_param(iterations, uint, 0600);
37 MODULE_PARM_DESC(iterations, "lockup iterations, default 1");
66 MODULE_PARM_DESC(reacquire_locks, "release and reacquire locks/irq/preempt between iterations");
70 MODULE_PARM_DESC(touch_softlockup, "touch soft-lockup watchdog between iterations");
74 MODULE_PARM_DESC(touch_hardlockup, "touch hard-lockup watchdog between iterations");
78 MODULE_PARM_DESC(call_cond_resched, "call cond_resched() between iterations");
142 MODULE_PARM_DESC(reallocate_pages, "free and allocate pages between iterations");
[all...]
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dmmap_bench.c21 static int iterations = ITERATIONS; variable
25 { "iterations", required_argument, 0, 'i' },
31 printf("mmap_bench <--pgfault> <--iterations count>\n");
37 unsigned long i = iterations;
80 iterations = atoi(optarg);
H A Dfork.c72 static unsigned long iterations; variable
103 iterations++;
125 iterations++;
173 iterations++;
179 unsigned long i = iterations;
H A Dcontext_switch.c143 static unsigned long iterations; variable
148 unsigned long i = iterations;
194 iterations += 2;
236 iterations += 2;
366 iterations += 2;
/linux-master/arch/powerpc/include/asm/
H A Dpage_64.h45 unsigned long iterations; local
48 iterations = ppc64_caches.l1d.blocks_per_page / 8;
74 : "r" (iterations), "0" (addr), "b" (onex), "b" (twox),
/linux-master/tools/perf/bench/
H A Dkallsyms-parse.c14 static unsigned int iterations = 100; variable
17 OPT_UINTEGER('i', "iterations", &iterations,
18 "Number of iterations used to compute average"),
46 for (i = 0; i < iterations; i++) {
H A Dpmu-scan.c18 static unsigned int iterations = 100; variable
29 OPT_UINTEGER('i', "iterations", &iterations,
30 "Number of iterations used to compute average"),
138 iterations);
148 for (unsigned int i = 0; i < iterations; i++) {
H A Devlist-open-close.c24 static int iterations = 100; variable
53 OPT_INTEGER('i', "iterations", &iterations, "Number of iterations used to compute average (default=100)"),
158 printf(" Number of iterations:\t%d\n", iterations);
162 for (i = 0; i < iterations; i++) {
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_phy.h12 s32 igc_phy_has_link(struct igc_hw *hw, u32 iterations,
/linux-master/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);
79 for (i=0; i<iterations; i++) {
110 pr_info("crc-vpmsum_test done, completed %lu iterations\n", i);
129 module_param(iterations, long, 0400);
/linux-master/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c123 pr_debug("\nvCPU %d dirtied 0x%lx pages over %d iterations in %ld.%.9lds. (Avg %ld.%.9lds/iteration)\n",
129 unsigned long iterations; member in struct:test_params
176 /* Start the iterations */
188 * occurring during the dirty memory iterations below, which
217 while (iteration < p->iterations) {
280 avg = timespec_div(get_dirty_log_total, p->iterations);
281 pr_info("Get dirty log over %lu iterations took %ld.%.9lds. (Avg %ld.%.9lds/iteration)\n",
282 p->iterations, get_dirty_log_total.tv_sec,
286 avg = timespec_div(clear_dirty_log_total, p->iterations);
287 pr_info("Clear dirty log over %lu iterations too
[all...]
H A Ddirty_log_test.c697 unsigned long iterations; member in struct:test_params
776 /* Start the iterations */
788 * verification of all iterations.
797 while (iteration < p->iterations) {
828 if (++iteration == p->iterations)
849 printf("usage: %s [-h] [-i iterations] [-I interval] "
872 .iterations = TEST_HOST_LOOP_N,
889 p.iterations = strtol(optarg, NULL, 10);
927 TEST_ASSERT(p.iterations > 2, "Iterations must be greater than two");
930 pr_info("Test iterations
[all...]
/linux-master/drivers/usb/misc/
H A Dusbtest.c31 __u32 iterations; member in struct:usbtest_param_32
48 __u32 iterations; member in struct:usbtest_param_64
457 int iterations,
470 while (retval == 0 && iterations-- > 0) {
509 "%s failed, iterations left %d, status %d (not %d)\n",
510 label, iterations, retval, expected);
602 unsigned iterations,
617 while (retval == 0 && iterations-- > 0) {
645 "iterations left %d, status %d\n",
646 iterations, retva
454 simple_io( struct usbtest_dev *tdev, struct urb *urb, int iterations, int vary, int expected, const char *label ) argument
600 perform_sglist( struct usbtest_dev *tdev, unsigned iterations, int pipe, struct usb_sg_request *req, struct scatterlist *sg, int nents ) argument
2158 test_unaligned_bulk( struct usbtest_dev *tdev, int pipe, unsigned length, int iterations, unsigned transfer_flags, const char *label) argument
[all...]
/linux-master/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c78 int iterations; local
82 iterations = islarge ? LARGE_ITERATIONS : ITERATIONS;
98 for (i = 0; i < iterations; i++) {
124 for (i = 0; i < iterations; i++) {
/linux-master/samples/timers/
H A Dhpet_example.c134 int iterations, i, fd; local
142 fprintf(stderr, "hpet_poll: device-name freq iterations\n");
147 iterations = atoi(argv[2]);
181 for (i = 0; i < iterations; i++) {
226 int iterations, i, fd, value; local
239 fprintf(stderr, "hpet_fasync: device-name freq iterations\n");
259 iterations = atoi(argv[2]);
283 for (i = 0; i < iterations; i++) {
/linux-master/tools/testing/selftests/timers/
H A Dleap-a-day.c21 * -i: Number of iterations to run (default: infinite)
185 int iterations = 10; local
196 iterations = atoi(optarg);
202 printf("Usage: %s [-w] [-i <iterations>]\n", argv[0]);
205 printf(" -i: Number of iterations (-1 = infinite, default is 10)\n");
230 if (iterations < 0)
233 printf("Running for %i iterations. Press ctrl-c to stop\n", iterations);
372 if ((iterations != -1) && !(--iterations))
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_task.c100 * max iterations so one task cannot hold the cpu forever.
105 unsigned int iterations; local
123 iterations = RXE_MAX_ITERATIONS;
128 } while (ret == 0 && iterations-- > 0);
131 /* we're not done yet but we ran out of iterations.

Completed in 293 milliseconds

123