Searched refs:vcpu_lock (Results 1 – 4 of 4) sorted by relevance
139 static pthread_mutex_t vcpu_lock = PTHREAD_MUTEX_INITIALIZER; variable1148 pthread_mutex_lock(&vcpu_lock); in checkpoint_cpu_add()1154 pthread_cond_wait(&vcpus_can_run, &vcpu_lock); in checkpoint_cpu_add()1157 pthread_mutex_unlock(&vcpu_lock); in checkpoint_cpu_add()1174 pthread_mutex_lock(&vcpu_lock); in checkpoint_cpu_suspend()1178 pthread_mutex_unlock(&vcpu_lock); in checkpoint_cpu_suspend()1185 pthread_mutex_lock(&vcpu_lock); in checkpoint_cpu_resume()1187 pthread_cond_wait(&vcpus_can_run, &vcpu_lock); in checkpoint_cpu_resume()1189 pthread_mutex_unlock(&vcpu_lock); in checkpoint_cpu_resume()1196 pthread_mutex_lock(&vcpu_lock); in vm_vcpu_pause()[all …]
98 #define vcpu_lock(v) mtx_lock_spin(&((v)->mtx)) macro758 vcpu_lock(vcpu); in vcpu_notify_event()946 vcpu_lock(vcpu); in vcpu_set_state()958 vcpu_lock(vcpu); in vcpu_get_state()1040 vcpu_lock(vcpu); in vm_handle_wfi()1136 vcpu_lock(vcpu); in vm_handle_suspend()1147 vcpu_lock(vcpu); in vm_handle_suspend()
94 #define vcpu_lock(v) mtx_lock_spin(&((v)->mtx)) macro1053 vcpu_lock(vcpu); in vcpu_notify_event()1236 vcpu_lock(vcpu); in vcpu_set_state()1248 vcpu_lock(vcpu); in vcpu_get_state()1344 vcpu_lock(vcpu); in vm_handle_wfi()1422 vcpu_lock(vcpu); in vm_handle_suspend()1433 vcpu_lock(vcpu); in vm_handle_suspend()
130 #define vcpu_lock(v) mtx_lock_spin(&((v)->mtx)) macro1149 vcpu_lock(vcpu); in vm_handle_hlt()1218 vcpu_lock(vcpu); in vm_handle_hlt()1369 vcpu_lock(vcpu); in vm_handle_suspend()1384 vcpu_lock(vcpu); in vm_handle_suspend()1390 vcpu_lock(vcpu); in vm_handle_suspend()1411 vcpu_lock(vcpu); in vm_handle_reqidle()2111 vcpu_lock(vcpu); in vcpu_set_state()2123 vcpu_lock(vcpu); in vcpu_get_state()2300 vcpu_lock(vcpu); in vcpu_notify_event()