Home
last modified time | relevance | path

Searched refs:iteration (Results 1 – 25 of 58) sorted by relevance

123

/linux/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c33 static int iteration; variable
51 int current_iteration = READ_ONCE(iteration); in vcpu_worker()
64 pr_debug("vCPU %d updated last completed iteration to %d\n", in vcpu_worker()
70 pr_debug("vCPU %d iteration %d dirty memory time: %ld.%.9lds\n", in vcpu_worker()
74 pr_debug("vCPU %d iteration %d populate memory time: %ld.%.9lds\n", in vcpu_worker()
81 * (iteration is negative) so that vCPUs are accessing memory in vcpu_worker()
84 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()
85 READ_ONCE(iteration) >= 0 && !READ_ONCE(host_quit)) {} in vcpu_worker()
89 pr_debug("\nvCPU %d dirtied 0x%lx pages over %d iterations in %ld.%.9lds. (Avg %ld.%.9lds/iteration)\n", in vcpu_worker()
138 iteration in run_test()
[all...]
H A Ddirty_log_test.c42 * iteration to provide a lower bound on coverage.
76 static u64 iteration;
108 * pages during the first iteration. in guest_code()
112 vcpu_arch_put_guest(*(u64 *)addr, READ_ONCE(iteration)); in guest_code()
124 vcpu_arch_put_guest(*(u64 *)addr, READ_ONCE(iteration)); in guest_code()
204 * iteration, the test fails.
208 * write during iteration N-1, thus remember last iteration last log entry
209 * and also don't fail when it is reported in the next iteration, together with
210 * an outdated iteration coun
80 static u64 iteration; global() variable
[all...]
H A Daccess_tracking_perf_test.c61 static int iteration; variable
66 /* Defines what vCPU threads should do during a given iteration. */
74 /* The iteration that was last completed by each vCPU. */
319 *current_iteration = READ_ONCE(iteration); in spin_wait_for_next_iteration()
367 /* Kick off the vCPUs by incrementing iteration. */ in run_iteration()
368 next_iteration = ++iteration; in run_iteration()
372 /* Wait for all vCPUs to finish the iteration. */ in run_iteration()
/linux/tools/testing/selftests/kvm/x86/
H A Ddirty_log_page_splitting_test.c32 static int iteration; variable
58 iteration++; in run_vcpu_iteration()
61 iteration) in run_vcpu_iteration()
72 int current_iteration = READ_ONCE(iteration); in vcpu_worker()
81 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()
82 READ_ONCE(iteration) >= 0 && in vcpu_worker()
121 iteration = -1; in run_test()
137 while (iteration < ITERATIONS) { in run_test()
139 get_page_stats(vm, &stats_dirty_pass[iteration - 1], in run_test()
147 get_page_stats(vm, &stats_clear_pass[iteration - 1], "clearing dirty log"); in run_test()
/linux/tools/gpio/
H A Dgpio-hammer.c34 unsigned int iteration = 0; in hammer_device() local
100 iteration++; in hammer_device()
101 if (loops && iteration == loops) in hammer_device()
/linux/arch/sh/lib/
H A Dmemcpy-sh4.S29 ! At the start of each iteration, r7 contains last long load
39 ! 6 cycles, 4 bytes per iteration
102 ! At the start of each iteration, r7 contains last long load
112 ! 6 cycles, 4 bytes per iteration
222 ! 4 cycles, 2 bytes per iteration
250 ! 3 cycles, 1 byte per iteration
332 ! 4 cycles, 2 long words per iteration
366 ! 4 cycles, 2 long words per iteration
386 ! 3 cycles, 1 byte per iteration
434 ! 4 cycles, 2 long words per iteration
[all …]
H A Dcopy_page.S310 1: ! Read longword, write two words per iteration
332 ! Read longword, write byte, word, byte per iteration
/linux/drivers/net/ethernet/sfc/falcon/
H A Dselftest.c47 __be16 iteration;
351 if (received.iteration != payload->iteration) { in ef4_loopback_rx_packet()
354 "%s loopback test\n", ntohs(received.iteration), in ef4_loopback_rx_packet()
355 ntohs(payload->iteration), LOOPBACK_MODE(efx)); in ef4_loopback_rx_packet()
409 payload->iteration = htons(ntohs(payload->iteration) + 1); in ef4_iterate_state()
/linux/drivers/net/ethernet/sfc/
H A Dselftest.c49 __be16 iteration;
348 if (received.iteration != payload->iteration) { in efx_loopback_rx_packet()
351 "%s loopback test\n", ntohs(received.iteration), in efx_loopback_rx_packet()
352 ntohs(payload->iteration), LOOPBACK_MODE(efx)); in efx_loopback_rx_packet()
406 payload->iteration = htons(ntohs(payload->iteration) + 1); in efx_iterate_state()
/linux/drivers/net/ethernet/sfc/siena/
H A Dselftest.c50 __be16 iteration;
349 if (received.iteration != payload->iteration) { in efx_siena_loopback_rx_packet()
352 "%s loopback test\n", ntohs(received.iteration), in efx_siena_loopback_rx_packet()
353 ntohs(payload->iteration), LOOPBACK_MODE(efx)); in efx_siena_loopback_rx_packet()
407 payload->iteration = htons(ntohs(payload->iteration) + 1); in efx_iterate_state()
/linux/tools/testing/selftests/iommu/
H A Diommufd_fail_nth.c89 unsigned int iteration; member
116 ASSERT_GT(1000, nth_state->iteration); in fail_nth_next()
117 if (nth_state->iteration != 0) { in fail_nth_next()
143 /* printf(" nth %u result=%d nth=%u\n", nth_state->iteration, in fail_nth_next()
150 /* printf(" nth %u result=%d\n", nth_state->iteration, in fail_nth_next()
153 nth_state->iteration++; in fail_nth_next()
168 if (!nth_state->iteration) in __fail_nth_enable()
171 len = snprintf(buf, sizeof(buf), "%u", nth_state->iteration); in __fail_nth_enable()
/linux/arch/xtensa/lib/
H A Dmemcopy.S123 # per iteration
129 # copy 16 bytes per iteration for word-aligned dst and word-aligned src
195 # copy 16 bytes per iteration for word-aligned dst and unaligned src
384 # per iteration
390 # copy 16 bytes per iteration for word-aligned dst and word-aligned src
458 # copy 16 bytes per iteration for word-aligned dst and unaligned src
H A Dmemset.S49 # per iteration
56 # set 16 bytes per iteration for word-aligned dst
H A Dusercopy.S77 # per iteration
140 # copy 16 bytes per iteration for word-aligned dst and word-aligned src
205 # copy 16 bytes per iteration for word-aligned dst and unaligned src
/linux/Documentation/gpu/
H A Ddrm-vm-bind-locking.rst172 // The following list iteration needs the Gem object's
246 one of the :ref:`gpu_vm list spinlocks <Spinlock iteration>`. Once
250 iteration scheme needs to be used.
321 .. _Spinlock iteration:
365 might want to avoid also this iteration scheme. Particularly, if the
367 anticipated number of list items is small, where list iteration doesn't
369 associated with each iteration, the atomic operation overhead
370 associated with this type of iteration is, most likely, negligible. Note that
372 iteration is protected by an outer level lock or semaphore, since list
377 concurrently with list iteration.
[all …]
/linux/drivers/pnp/isapnp/
H A Dcore.c289 int iteration = 1; in isapnp_isolate() local
321 iteration++; in isapnp_isolate()
329 if (iteration == 1) { in isapnp_isolate()
333 } else if (iteration > 1) { in isapnp_isolate()
/linux/Documentation/core-api/
H A Dassoc_array.rst268 The internal tree will be packed down if possible as part of the iteration
299 it is possible for the iteration function to see some objects twice. If
301 iteration algorithm should not, however, miss any objects.
305 stops immediately if any call to the iteration function results in a
507 slot in that parent that points to it. None-recursive iteration uses these to
511 The backpointers, however, make simultaneous alteration and iteration tricky.
530 the iteration as we won't have reached the pointer to it yet and the
565 so as long as anyone doing walking or iteration holds the RCU read lock, the
H A Didr.rst52 idr_for_each_entry_continue() to continue an iteration. You can
/linux/lib/crypto/x86/
H A Dsha512-ssse3-asm.S306 # (80 rounds) / (2 rounds/iteration) + (1 iteration)
307 # +1 iteration because the scheduler leads hashing by 1 iteration
H A Dsha512-avx-asm.S307 # (80 rounds) / (2 rounds/iteration) + (1 iteration)
308 # +1 iteration because the scheduler leads hashing by 1 iteration
H A Dsha1-ssse3-and-avx.S299 .set i, ((\r) % 80) # pre-compute for the next iteration
373 # vector iteration / 4 scalar rounds
/linux/arch/s390/kernel/
H A Drelocate_kernel.S40 j .base # ...next iteration
/linux/Documentation/filesystems/
H A Dpropagate_umount.txt71 added on an earlier iteration of the outer loop - all additions made
72 during one iteration of the outer loop have different parents. So
191 decreases at least by one on each iteration. When the loop terminates,
193 the beginning of each iteration no mount remaining in S will be forbidden
329 * the loop in Trim_ancestors() sets its mark once per iteration and
419 #Candidates, each iteration of the first loop in handle_locked() removes
/linux/Documentation/block/
H A Dbiovecs.rst140 bio_vec' will contain a single-page IO vector during the iteration::
146 bio_vec' will contain a multi-page IO vector during the iteration::
/linux/drivers/platform/raspberrypi/vchiq-interface/
H A DTESTING48 ======== iteration 1 ========

123