Searched refs:current_iteration (Results 1 – 2 of 2) sorted by relevance
209 static bool spin_wait_for_next_iteration(int *current_iteration) in spin_wait_for_next_iteration() argument211 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() local230 while (spin_wait_for_next_iteration(¤t_iteration)) { in vcpu_thread_main()241 vcpu_last_completed_iteration[vcpu_idx] = current_iteration; in vcpu_thread_main()
85 int current_iteration = READ_ONCE(iteration); in vcpu_worker() local97 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()