Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/svm/
Dnested.c1492 struct kvm_nested_state __user *user_kvm_nested_state, in svm_get_nested_state() argument
1504 &user_kvm_nested_state->data.svm[0]; in svm_get_nested_state()
1527 if (copy_to_user(user_kvm_nested_state, &kvm_state, sizeof(kvm_state))) in svm_get_nested_state()
1559 struct kvm_nested_state __user *user_kvm_nested_state, in svm_set_nested_state() argument
1564 &user_kvm_nested_state->data.svm[0]; in svm_set_nested_state()
/linux-6.1.9/arch/x86/include/asm/
Dkvm_host.h1655 struct kvm_nested_state __user *user_kvm_nested_state,
1658 struct kvm_nested_state __user *user_kvm_nested_state,
/linux-6.1.9/arch/x86/kvm/vmx/
Dnested.c6344 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_get_nested_state() argument
6359 &user_kvm_nested_state->data.vmx[0]; in vmx_get_nested_state()
6413 if (copy_to_user(user_kvm_nested_state, &kvm_state, sizeof(kvm_state))) in vmx_get_nested_state()
6476 struct kvm_nested_state __user *user_kvm_nested_state, in vmx_set_nested_state() argument
6483 &user_kvm_nested_state->data.vmx[0]; in vmx_set_nested_state()
/linux-6.1.9/arch/x86/kvm/
Dx86.c5838 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl() local
5845 BUILD_BUG_ON(sizeof(user_data_size) != sizeof(user_kvm_nested_state->size)); in kvm_arch_vcpu_ioctl()
5847 if (get_user(user_data_size, &user_kvm_nested_state->size)) in kvm_arch_vcpu_ioctl()
5850 r = kvm_x86_ops.nested_ops->get_state(vcpu, user_kvm_nested_state, in kvm_arch_vcpu_ioctl()
5856 if (put_user(r, &user_kvm_nested_state->size)) in kvm_arch_vcpu_ioctl()
5867 struct kvm_nested_state __user *user_kvm_nested_state = argp; in kvm_arch_vcpu_ioctl() local
5876 if (copy_from_user(&kvm_state, user_kvm_nested_state, sizeof(kvm_state))) in kvm_arch_vcpu_ioctl()
5895 r = kvm_x86_ops.nested_ops->set_state(vcpu, user_kvm_nested_state, &kvm_state); in kvm_arch_vcpu_ioctl()