Lines Matching full:prevent
95 * @prevent: flag to prevent coupled idle while a cpu is hotplugging
104 int prevent; member
405 * the waiting count first to prevent another cpu looping back in and seeing
480 while (coupled->prevent) { in cpuidle_enter_state_coupled()
491 /* Read barrier ensures online_count is read after prevent is cleared */ in cpuidle_enter_state_coupled()
529 if (coupled->prevent) { in cpuidle_enter_state_coupled()
670 coupled->prevent++; in cpuidle_coupled_register_device()
703 * cpuidle_coupled_prevent_idle - prevent cpus from entering a coupled state
714 coupled->prevent++; in cpuidle_coupled_prevent_idle()
734 * see prevent == 0. in cpuidle_coupled_allow_idle()
737 coupled->prevent--; in cpuidle_coupled_allow_idle()
738 /* Force cpus out of the prevent loop. */ in cpuidle_coupled_allow_idle()