Home
last modified time | relevance | path

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

/virt/kvm/arm/
Darm.c413 struct kvm_mp_state *mp_state) in kvm_arch_vcpu_ioctl_get_mpstate() argument
416 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() argument
428 switch (mp_state->mp_state) { in kvm_arch_vcpu_ioctl_set_mpstate()
/virt/kvm/
Dkvm_main.c2895 struct kvm_mp_state mp_state; in kvm_vcpu_ioctl() local
2897 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() local
2910 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()