Home
last modified time | relevance | path

Searched refs:current_iteration (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/tools/testing/selftests/kvm/
Daccess_tracking_perf_test.c209 static bool spin_wait_for_next_iteration(int *current_iteration) in spin_wait_for_next_iteration() argument
211 int last_iteration = *current_iteration; in spin_wait_for_next_iteration()
217 *current_iteration = READ_ONCE(iteration); in spin_wait_for_next_iteration()
218 } while (last_iteration == *current_iteration); in spin_wait_for_next_iteration()
228 int current_iteration = 0; in vcpu_thread_main() local
230 while (spin_wait_for_next_iteration(&current_iteration)) { in vcpu_thread_main()
241 vcpu_last_completed_iteration[vcpu_idx] = current_iteration; in vcpu_thread_main()
Ddirty_log_perf_test.c85 int current_iteration = READ_ONCE(iteration); in vcpu_worker() local
97 vcpu_last_completed_iteration[vcpu_idx] = current_iteration; in vcpu_worker()
101 if (current_iteration) { in vcpu_worker()
105 vcpu_idx, current_iteration, ts_diff.tv_sec, in vcpu_worker()
109 vcpu_idx, current_iteration, ts_diff.tv_sec, in vcpu_worker()
118 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()