Searched refs:current_iteration (Results 1 – 3 of 3) sorted by relevance
212 static bool spin_wait_for_next_iteration(int *current_iteration) in spin_wait_for_next_iteration() argument214 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() local233 while (spin_wait_for_next_iteration(¤t_iteration)) { in vcpu_thread_main()244 vcpu_last_completed_iteration[vcpu_idx] = current_iteration; in vcpu_thread_main()
83 int current_iteration = READ_ONCE(iteration); in vcpu_worker() local95 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()
72 int current_iteration = READ_ONCE(iteration); in vcpu_worker() local78 vcpu_last_completed_iteration[vcpu_idx] = current_iteration; in vcpu_worker()81 while (current_iteration == READ_ONCE(iteration) && in vcpu_worker()