/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | dirty_log_page_splitting_test.c | 31 static int iteration; variable 57 iteration++; in run_vcpu_iteration() 60 iteration) in run_vcpu_iteration() 71 int current_iteration = READ_ONCE(iteration); in vcpu_worker() 79 /* Wait for the start of the next iteration to be signaled. */ in vcpu_worker() 80 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker() 81 READ_ONCE(iteration) >= 0 && in vcpu_worker() 118 iteration = -1; in run_test() 134 while (iteration < ITERATIONS) { in run_test() 136 get_page_stats(vm, &stats_dirty_pass[iteration in run_test() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/ |
H A D | dirty_log_perf_test.c | 31 static uint64_t iteration; variable 51 uint64_t current_iteration = READ_ONCE(iteration); in vcpu_worker() 64 pr_debug("vCPU %d updated last completed iteration to %lu\n", in vcpu_worker() 70 pr_debug("vCPU %d iteration %lu dirty memory time: %ld.%.9lds\n", in vcpu_worker() 74 pr_debug("vCPU %d iteration %lu populate memory time: %ld.%.9lds\n", in vcpu_worker() 79 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker() 84 pr_debug("\nvCPU %d dirtied 0x%lx pages over %lu iterations in %ld.%.9lds. (Avg %ld.%.9lds/iteration)\n", in vcpu_worker() 137 iteration = 0; in run_test() 147 pr_debug("Starting iteration %lu - Populating\n", iteration); in run_test() [all...] |
H A D | dirty_log_test.c | 70 static uint64_t iteration; variable 98 * pages during the first iteration. in guest_code() 102 *(uint64_t *)addr = READ_ONCE(iteration); in guest_code() 111 *(uint64_t *)addr = READ_ONCE(iteration); in guest_code() 205 * bit set in the _next_ iteration. For example, if we detected the 206 * page value changed to current iteration but at the same time the 304 "set in this iteration but it is missing", in vm_dirty_log_verify() 313 * previous iteration number or the current one. in vm_dirty_log_verify() 315 TEST_ASSERT(*value_ptr == iteration || in vm_dirty_log_verify() 316 *value_ptr == iteration in vm_dirty_log_verify() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/ |
H A D | dirty_log_perf_test.c | 67 static int iteration; variable 85 int current_iteration = READ_ONCE(iteration); in vcpu_worker() 98 pr_debug("vCPU %d updated last completed iteration to %d\n", in vcpu_worker() 104 pr_debug("vCPU %d iteration %d dirty memory time: %ld.%.9lds\n", in vcpu_worker() 108 pr_debug("vCPU %d iteration %d populate memory time: %ld.%.9lds\n", in vcpu_worker() 115 * (iteration is negative) so that vCPUs are accessing memory in vcpu_worker() 118 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker() 119 READ_ONCE(iteration) >= 0 && !READ_ONCE(host_quit)) {} in vcpu_worker() 123 pr_debug("\nvCPU %d dirtied 0x%lx pages over %d iterations in %ld.%.9lds. (Avg %ld.%.9lds/iteration)\n", in vcpu_worker() 177 iteration in run_test() [all...] |
H A D | dirty_log_test.c | 80 static uint64_t iteration; variable 108 * pages during the first iteration. in guest_code() 112 *(uint64_t *)addr = READ_ONCE(iteration); in guest_code() 121 *(uint64_t *)addr = READ_ONCE(iteration); in guest_code() 392 pr_info("Iteration %ld collected %u pages\n", iteration, count); in dirty_ring_collect_dirty_pages() 457 * bit set in the _next_ iteration. For example, if we detected the 458 * page value changed to current iteration but at the same time the 579 "set in this iteration but it is missing", in vm_dirty_log_verify() 591 * previous iteration number or the current one. in vm_dirty_log_verify() 593 matched = (*value_ptr == iteration || in vm_dirty_log_verify() [all...] |
H A D | access_tracking_perf_test.c | 52 static int iteration; variable 54 /* Defines what vCPU threads should do during a given iteration. */ 62 /* The iteration that was last completed by each vCPU. */ 220 *current_iteration = READ_ONCE(iteration); in spin_wait_for_next_iteration() 268 /* Kick off the vCPUs by incrementing iteration. */ in run_iteration() 269 next_iteration = ++iteration; in run_iteration() 273 /* Wait for all vCPUs to finish the iteration. */ in run_iteration()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
H A D | lsdc_benchmark.c | 106 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()
|
/kernel/linux/linux-5.10/tools/gpio/ |
H A D | gpio-hammer.c | 34 unsigned int iteration = 0; in hammer_device() local 100 iteration++; in hammer_device() 101 if (loops && iteration == loops) in hammer_device()
|
/kernel/linux/linux-6.6/tools/gpio/ |
H A D | gpio-hammer.c | 34 unsigned int iteration = 0; in hammer_device() local 100 iteration++; in hammer_device() 101 if (loops && iteration == loops) in hammer_device()
|
/kernel/linux/linux-6.6/tools/testing/selftests/iommu/ |
H A D | iommufd_fail_nth.c | 86 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() 140 /* printf(" nth %u result=%d nth=%u\n", nth_state->iteration, in fail_nth_next() 147 /* printf(" nth %u result=%d\n", nth_state->iteration, 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | selftest.c | 48 __be16 iteration; member 342 /* Check that iteration matches */ in efx_loopback_rx_packet() 343 if (received->iteration != payload->iteration) { in efx_loopback_rx_packet() 345 "saw RX packet from iteration %d (wanted %d) in " in efx_loopback_rx_packet() 346 "%s loopback test\n", ntohs(received->iteration), in efx_loopback_rx_packet() 347 ntohs(payload->iteration), LOOPBACK_MODE(efx)); in efx_loopback_rx_packet() 372 /* Initialise an efx_selftest_state for a new iteration */ 399 payload->iteration = htons(ntohs(payload->iteration) in efx_iterate_state() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A D | selftest.c | 45 __be16 iteration; member 344 /* Check that iteration matches */ in ef4_loopback_rx_packet() 345 if (received->iteration != payload->iteration) { in ef4_loopback_rx_packet() 347 "saw RX packet from iteration %d (wanted %d) in " in ef4_loopback_rx_packet() 348 "%s loopback test\n", ntohs(received->iteration), in ef4_loopback_rx_packet() 349 ntohs(payload->iteration), LOOPBACK_MODE(efx)); in ef4_loopback_rx_packet() 374 /* Initialise an ef4_selftest_state for a new iteration */ 401 payload->iteration = htons(ntohs(payload->iteration) in ef4_iterate_state() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | selftest.c | 47 __be16 iteration; 350 /* Check that iteration matches */ in ef4_loopback_rx_packet() 351 if (received.iteration != payload->iteration) { in ef4_loopback_rx_packet() 353 "saw RX packet from iteration %d (wanted %d) in " 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() 381 /* Initialise an ef4_selftest_state for a new iteration */ 409 payload->iteration = htons(ntohs(payload->iteration) in ef4_iterate_state() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | selftest.c | 49 __be16 iteration; 347 /* Check that iteration matches */ in efx_loopback_rx_packet() 348 if (received.iteration != payload->iteration) { in efx_loopback_rx_packet() 350 "saw RX packet from iteration %d (wanted %d) in " 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() 378 /* Initialise an efx_selftest_state for a new iteration */ 406 payload->iteration = htons(ntohs(payload->iteration) in efx_iterate_state() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | selftest.c | 50 __be16 iteration; 348 /* Check that iteration matches */ in efx_siena_loopback_rx_packet() 349 if (received.iteration != payload->iteration) { in efx_siena_loopback_rx_packet() 351 "saw RX packet from iteration %d (wanted %d) in " 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() 379 /* Initialise an efx_siena_selftest_state for a new iteration */ 407 payload->iteration = htons(ntohs(payload->iteration) in efx_iterate_state() [all...] |
/kernel/linux/linux-5.10/arch/xtensa/lib/ |
H A D | memcopy.S | 123 # 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 397 # per iteration 403 # copy 16 bytes per iteration for word-aligned dst and word-aligned src 471 # copy 16 bytes per iteration for word-aligned dst and unaligned src
|
/kernel/linux/linux-6.6/arch/xtensa/lib/ |
H A D | memcopy.S | 123 # 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 D | usercopy.S | 77 # 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
|
/kernel/linux/linux-6.6/lib/ |
H A D | random32.c | 142 u32 iteration; member 283 for (j = 0; j < test2[i].iteration - 1; j++) in prandom_state_selftest()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | relocate_kernel.S | 40 j .base # ...next iteration
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | sha512-avx-asm.S | 311 # (80 rounds) / (2 rounds/iteration) + (1 iteration) 312 # +1 iteration because the scheduler leads hashing by 1 iteration
|
H A D | sha512-ssse3-asm.S | 313 # (80 rounds) / (2 rounds/iteration) + (1 iteration) 314 # +1 iteration because the scheduler leads hashing by 1 iteration
|
/kernel/linux/linux-5.10/drivers/pnp/isapnp/ |
H A D | core.c | 288 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()
|
/kernel/linux/linux-6.6/drivers/pnp/isapnp/ |
H A D | core.c | 288 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()
|
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | sha512-ssse3-asm.S | 310 # (80 rounds) / (2 rounds/iteration) + (1 iteration) 311 # +1 iteration because the scheduler leads hashing by 1 iteration
|