Home
last modified time | relevance | path

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

1234

/linux-6.12.1/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c65 static int iteration; variable
83 int current_iteration = READ_ONCE(iteration); in vcpu_worker()
116 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()
117 READ_ONCE(iteration) >= 0 && !READ_ONCE(host_quit)) {} in vcpu_worker()
172 iteration = 0; in run_test()
191 pr_debug("Starting iteration %d - Populating\n", iteration); in run_test()
194 iteration) in run_test()
212 while (iteration < p->iterations) { in run_test()
218 iteration++; in run_test()
220 pr_debug("Starting iteration %d\n", iteration); in run_test()
[all …]
Ddirty_log_test.c77 static uint64_t iteration; variable
109 vcpu_arch_put_guest(*(uint64_t *)addr, READ_ONCE(iteration)); in guest_code()
119 vcpu_arch_put_guest(*(uint64_t *)addr, READ_ONCE(iteration)); in guest_code()
389 pr_info("Iteration %ld collected %u pages\n", iteration, count); in dirty_ring_collect_dirty_pages()
577 matched = (*value_ptr == iteration || in vm_dirty_log_verify()
578 *value_ptr == iteration - 1); in vm_dirty_log_verify()
581 if (*value_ptr == iteration - 2 && min_iter <= iteration - 2) { in vm_dirty_log_verify()
614 min_iter = iteration - 1; in vm_dirty_log_verify()
628 page, *value_ptr, iteration); in vm_dirty_log_verify()
650 TEST_ASSERT(*value_ptr <= iteration, in vm_dirty_log_verify()
[all …]
Daccess_tracking_perf_test.c52 static int iteration; variable
220 *current_iteration = READ_ONCE(iteration); in spin_wait_for_next_iteration()
269 next_iteration = ++iteration; in run_iteration()
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
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-6.12.1/drivers/gpu/drm/loongson/
Dlsdc_benchmark.c106 unsigned int iteration = 60; in lsdc_show_benchmark_copy() local
110 iteration, in lsdc_show_benchmark_copy()
118 iteration, in lsdc_show_benchmark_copy()
126 iteration, in lsdc_show_benchmark_copy()
/linux-6.12.1/tools/gpio/
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-6.12.1/arch/sh/lib/
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 …]
Dcopy_page.S310 1: ! Read longword, write two words per iteration
332 ! Read longword, write byte, word, byte per iteration
/linux-6.12.1/tools/testing/selftests/iommu/
Diommufd_fail_nth.c86 unsigned int iteration; member
113 ASSERT_GT(400, nth_state->iteration); in fail_nth_next()
114 if (nth_state->iteration != 0) { in fail_nth_next()
150 nth_state->iteration++; in fail_nth_next()
165 if (!nth_state->iteration) in __fail_nth_enable()
168 len = snprintf(buf, sizeof(buf), "%u", nth_state->iteration); in __fail_nth_enable()
/linux-6.12.1/drivers/net/ethernet/sfc/
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-6.12.1/drivers/net/ethernet/sfc/siena/
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-6.12.1/drivers/net/ethernet/sfc/falcon/
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-6.12.1/arch/xtensa/lib/
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
Dmemset.S49 # per iteration
56 # set 16 bytes per iteration for word-aligned dst
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-6.12.1/lib/
Drandom32.c142 u32 iteration; member
283 for (j = 0; j < test2[i].iteration - 1; j++) in prandom_state_selftest()
/linux-6.12.1/Documentation/gpu/
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-6.12.1/Documentation/networking/
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-6.12.1/drivers/pnp/isapnp/
Dcore.c288 int iteration = 1; in isapnp_isolate() local
320 iteration++; in isapnp_isolate()
328 if (iteration == 1) { in isapnp_isolate()
332 } else if (iteration > 1) { in isapnp_isolate()
/linux-6.12.1/Documentation/core-api/
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 immediately if any call to the iteration function results in a non-zero
495 slot in that parent that points to it. None-recursive iteration uses these to
499 The backpointers, however, make simultaneous alteration and iteration tricky.
518 the iteration as we won't have reached the pointer to it yet and the
553 so as long as anyone doing walking or iteration holds the RCU read lock, the
/linux-6.12.1/sound/soc/codecs/
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-6.12.1/arch/s390/kernel/
Drelocate_kernel.S40 j .base # ...next iteration
/linux-6.12.1/arch/x86/crypto/
Dsha512-ssse3-asm.S310 # (80 rounds) / (2 rounds/iteration) + (1 iteration)
311 # +1 iteration because the scheduler leads hashing by 1 iteration
Dsha512-avx-asm.S308 # (80 rounds) / (2 rounds/iteration) + (1 iteration)
309 # +1 iteration because the scheduler leads hashing by 1 iteration
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-module68 Description: Read and write number of grant entries to attempt to free per iteration.

1234