Searched refs:mp_state (Results 1 – 2 of 2) sorted by relevance
413 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument416 mp_state->mp_state = KVM_MP_STATE_STOPPED; in kvm_arch_vcpu_ioctl_get_mpstate()418 mp_state->mp_state = KVM_MP_STATE_RUNNABLE; in kvm_arch_vcpu_ioctl_get_mpstate()424 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument428 switch (mp_state->mp_state) { in kvm_arch_vcpu_ioctl_set_mpstate()
2895 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local2897 r = kvm_arch_vcpu_ioctl_get_mpstate(vcpu, &mp_state); in kvm_vcpu_ioctl()2901 if (copy_to_user(argp, &mp_state, sizeof(mp_state))) in kvm_vcpu_ioctl()2907 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local2910 if (copy_from_user(&mp_state, argp, sizeof(mp_state))) in kvm_vcpu_ioctl()2912 r = kvm_arch_vcpu_ioctl_set_mpstate(vcpu, &mp_state); in kvm_vcpu_ioctl()