Searched refs:vcpu_lock (Results 1 – 2 of 2) sorted by relevance
140 static pthread_mutex_t vcpu_lock = PTHREAD_MUTEX_INITIALIZER; variable1149 pthread_mutex_lock(&vcpu_lock); in checkpoint_cpu_add()1155 pthread_cond_wait(&vcpus_can_run, &vcpu_lock); in checkpoint_cpu_add()1158 pthread_mutex_unlock(&vcpu_lock); in checkpoint_cpu_add()1175 pthread_mutex_lock(&vcpu_lock); in checkpoint_cpu_suspend()1179 pthread_mutex_unlock(&vcpu_lock); in checkpoint_cpu_suspend()1186 pthread_mutex_lock(&vcpu_lock); in checkpoint_cpu_resume()1188 pthread_cond_wait(&vcpus_can_run, &vcpu_lock); in checkpoint_cpu_resume()1190 pthread_mutex_unlock(&vcpu_lock); in checkpoint_cpu_resume()1197 pthread_mutex_lock(&vcpu_lock); in vm_vcpu_pause()[all …]
129 #define vcpu_lock(v) mtx_lock_spin(&((v)->mtx)) macro1498 vcpu_lock(vcpu); in vm_handle_hlt()1567 vcpu_lock(vcpu); in vm_handle_hlt()1718 vcpu_lock(vcpu); in vm_handle_suspend()1733 vcpu_lock(vcpu); in vm_handle_suspend()1739 vcpu_lock(vcpu); in vm_handle_suspend()1760 vcpu_lock(vcpu); in vm_handle_reqidle()2460 vcpu_lock(vcpu); in vcpu_set_state()2472 vcpu_lock(vcpu); in vcpu_get_state()2649 vcpu_lock(vcpu); in vcpu_notify_event()