Home
last modified time | relevance | path

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

1234

/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()
84 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()
85 READ_ONCE(iteration) >= 0 && !READ_ONCE(host_quit)) {} in vcpu_worker()
138 iteration = 0; in run_test()
157 pr_debug("Starting iteration %d - Populating\n", iteration); in run_test()
160 iteration) in run_test()
178 while (iteration < p->iterations) { in run_test()
184 iteration++; in run_test()
186 pr_debug("Starting iteration %d\n", iteration); in run_test()
[all …]
H A Ddirty_log_test.c80 static uint64_t iteration; variable
116 vcpu_arch_put_guest(*(uint64_t *)addr, READ_ONCE(iteration)); in guest_code()
128 vcpu_arch_put_guest(*(uint64_t *)addr, READ_ONCE(iteration)); in guest_code()
517 if (val == iteration) in vm_dirty_log_verify()
528 val == iteration - 1) in vm_dirty_log_verify()
538 val < iteration) in vm_dirty_log_verify()
540 } else if (!val && iteration == 1 && bmap0_dirty) { in vm_dirty_log_verify()
554 page, val, iteration, dirty_ring_last_page, in vm_dirty_log_verify()
562 TEST_ASSERT(val < iteration, in vm_dirty_log_verify()
565 page, val, iteration, dirty_ring_last_page, in vm_dirty_log_verify()
[all …]
H A Daccess_tracking_perf_test.c61 static int iteration; variable
319 *current_iteration = READ_ONCE(iteration); in spin_wait_for_next_iteration()
368 next_iteration = ++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/drivers/gpu/drm/loongson/
H A Dlsdc_benchmark.c107 unsigned int iteration = 60; in lsdc_show_benchmark_copy() local
111 iteration, in lsdc_show_benchmark_copy()
119 iteration, in lsdc_show_benchmark_copy()
127 iteration, in lsdc_show_benchmark_copy()
/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 …]
/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/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/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()
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/lib/
H A Drandom32.c142 u32 iteration; member
283 for (j = 0; j < test2[i].iteration - 1; j++) in prandom_state_selftest()
/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/Documentation/networking/
H A Dnet_dim.rst24 iteration of the algorithm, it analyses a given sample of the data, compares it
39 Each iteration of the Net DIM algorithm follows these steps:
48 supplied to the previous iteration. The comparison step checks the difference
120 the proper state in order to move to the next iteration.
142 /* Signal net DIM work is done and it should move to next iteration */
/linux/arch/arm64/boot/dts/apple/
H A Dt8010-ipad7.dtsi9 * The iPad 7 seems to be only an iteration over the iPad 6 with some
H A Ds5l8960x-mini3.dtsi10 * The Mini 3 seems to be only an iteration over the Mini 2 with some
/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.rst266 The internal tree will be packed down if possible as part of the iteration
297 it is possible for the iteration function to see some objects twice. If
299 iteration algorithm should not, however, miss any objects.
303 stops immediately if any call to the iteration function results in a
505 slot in that parent that points to it. None-recursive iteration uses these to
509 The backpointers, however, make simultaneous alteration and iteration tricky.
528 the iteration as we won't have reached the pointer to it yet and the
563 so as long as anyone doing walking or iteration holds the RCU read lock, the
/linux/sound/soc/codecs/
H A Dda9055.c453 u8 iteration; in da9055_get_alc_data() local
455 for (iteration = 0; iteration < DA9055_ALC_AVG_ITERATIONS; in da9055_get_alc_data()
456 iteration++) { in da9055_get_alc_data()
/linux/lib/crypto/x86/
H A Dsha512-ssse3-asm.S305 # (80 rounds) / (2 rounds/iteration) + (1 iteration)
306 # +1 iteration because the scheduler leads hashing by 1 iteration
H A Dsha512-avx-asm.S306 # (80 rounds) / (2 rounds/iteration) + (1 iteration)
307 # +1 iteration because the scheduler leads hashing by 1 iteration
/linux/arch/s390/kernel/
H A Drelocate_kernel.S40 j .base # ...next iteration

1234