Home
last modified time | relevance | path

Searched refs:user_kvm_nested_state (Results 1 – 3 of 3) sorted by relevance

/arch/x86/include/asm/
Dkvm_host.h1195 struct kvm_nested_state __user *user_kvm_nested_state,
1198 struct kvm_nested_state __user *user_kvm_nested_state,
/arch/x86/kvm/vmx/
Dnested.c5524 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_get_nested_state() argument
5537 &user_kvm_nested_state->data.vmx[0]; in vmx_get_nested_state()
5579 if (copy_to_user(user_kvm_nested_state, &kvm_state, sizeof(kvm_state))) in vmx_get_nested_state()
5639 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_set_nested_state() argument
5646 &user_kvm_nested_state->data.vmx[0]; in vmx_set_nested_state()
/arch/x86/kvm/
Dx86.c4516 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl() local
4523 BUILD_BUG_ON(sizeof(user_data_size) != sizeof(user_kvm_nested_state->size)); in kvm_arch_vcpu_ioctl()
4525 if (get_user(user_data_size, &user_kvm_nested_state->size)) in kvm_arch_vcpu_ioctl()
4528 r = kvm_x86_ops->get_nested_state(vcpu, user_kvm_nested_state, in kvm_arch_vcpu_ioctl()
4534 if (put_user(r, &user_kvm_nested_state->size)) in kvm_arch_vcpu_ioctl()
4545 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl() local
4554 if (copy_from_user(&kvm_state, user_kvm_nested_state, sizeof(kvm_state))) in kvm_arch_vcpu_ioctl()
4572 r = kvm_x86_ops->set_nested_state(vcpu, user_kvm_nested_state, &kvm_state); in kvm_arch_vcpu_ioctl()