Searched refs:mp_state (Results 1 – 4 of 4) sorted by relevance
425 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument428 mp_state->mp_state = KVM_MP_STATE_STOPPED; in kvm_arch_vcpu_ioctl_get_mpstate()430 mp_state->mp_state = KVM_MP_STATE_RUNNABLE; in kvm_arch_vcpu_ioctl_get_mpstate()436 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_set_mpstate() argument440 switch (mp_state->mp_state) { in kvm_arch_vcpu_ioctl_set_mpstate()
2920 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local2922 r = kvm_arch_vcpu_ioctl_get_mpstate(vcpu, &mp_state); in kvm_vcpu_ioctl()2926 if (copy_to_user(argp, &mp_state, sizeof(mp_state))) in kvm_vcpu_ioctl()2932 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local2935 if (copy_from_user(&mp_state, argp, sizeof(mp_state))) in kvm_vcpu_ioctl()2937 r = kvm_arch_vcpu_ioctl_set_mpstate(vcpu, &mp_state); in kvm_vcpu_ioctl()
841 struct kvm_mp_state *mp_state);843 struct kvm_mp_state *mp_state);
523 __u32 mp_state; member