Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/
H A Daccess_tracking_perf_test.c212 static bool spin_wait_for_next_iteration(int *current_iteration) in spin_wait_for_next_iteration() argument
214 int last_iteration = *current_iteration; in spin_wait_for_next_iteration()
220 *current_iteration = READ_ONCE(iteration); in spin_wait_for_next_iteration()
221 } while (last_iteration == *current_iteration); in spin_wait_for_next_iteration()
231 int current_iteration = 0; in vcpu_thread_main() local
233 while (spin_wait_for_next_iteration(&current_iteration)) { in vcpu_thread_main()
244 vcpu_last_completed_iteration[vcpu_idx] = current_iteration; in vcpu_thread_main()
H A Ddirty_log_perf_test.c83 int current_iteration = READ_ONCE(iteration); in vcpu_worker() local
95 vcpu_last_completed_iteration[vcpu_idx] = current_iteration; in vcpu_worker()
99 if (current_iteration) { in vcpu_worker()
103 vcpu_idx, current_iteration, ts_diff.tv_sec, in vcpu_worker()
107 vcpu_idx, current_iteration, ts_diff.tv_sec, in vcpu_worker()
116 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()
/linux/tools/testing/selftests/kvm/x86_64/
H A Ddirty_log_page_splitting_test.c72 int current_iteration = READ_ONCE(iteration); in vcpu_worker() local
78 vcpu_last_completed_iteration[vcpu_idx] = current_iteration; in vcpu_worker()
81 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()