Lines Matching refs:mp_state
4915 vcpu->arch.mp_state = KVM_MP_STATE_HALTED; in kvm_emulate_halt()
5349 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_SIPI_RECEIVED)) { in __vcpu_run()
5356 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in __vcpu_run()
5363 if (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE && in __vcpu_run()
5372 switch(vcpu->arch.mp_state) { in __vcpu_run()
5374 vcpu->arch.mp_state = in __vcpu_run()
5465 if (unlikely(vcpu->arch.mp_state == KVM_MP_STATE_UNINITIALIZED)) { in kvm_arch_vcpu_ioctl_run()
5617 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
5619 mp_state->mp_state = vcpu->arch.mp_state; in kvm_arch_vcpu_ioctl_get_mpstate()
5624 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument
5626 vcpu->arch.mp_state = mp_state->mp_state; in kvm_arch_vcpu_ioctl_set_mpstate()
5724 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in kvm_arch_vcpu_ioctl_set_sregs()
6096 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in kvm_arch_vcpu_init()
6098 vcpu->arch.mp_state = KVM_MP_STATE_UNINITIALIZED; in kvm_arch_vcpu_init()
6357 return (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE && in kvm_arch_vcpu_runnable()
6360 || vcpu->arch.mp_state == KVM_MP_STATE_SIPI_RECEIVED in kvm_arch_vcpu_runnable()
6548 vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; in kvm_arch_async_page_present()