Home
last modified time | relevance | path

Searched refs:mp_state (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/virt/kvm/arm/
Darm.c425 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
428 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() argument
440 switch (mp_state->mp_state) { in kvm_arch_vcpu_ioctl_set_mpstate()
/linux-4.19.296/virt/kvm/
Dkvm_main.c2920 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local
2922 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() local
2935 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()
/linux-4.19.296/include/linux/
Dkvm_host.h841 struct kvm_mp_state *mp_state);
843 struct kvm_mp_state *mp_state);
/linux-4.19.296/include/uapi/linux/
Dkvm.h523 __u32 mp_state; member