Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/vmx/
Dnested.c6358 struct kvm_vmx_nested_state_data __user *user_vmx_nested_state = in vmx_get_nested_state() local
6362 return kvm_state.size + sizeof(*user_vmx_nested_state); in vmx_get_nested_state()
6373 kvm_state.size += sizeof(user_vmx_nested_state->vmcs12); in vmx_get_nested_state()
6382 kvm_state.size += sizeof(user_vmx_nested_state->shadow_vmcs12); in vmx_get_nested_state()
6446 BUILD_BUG_ON(sizeof(user_vmx_nested_state->vmcs12) < VMCS12_SIZE); in vmx_get_nested_state()
6447 BUILD_BUG_ON(sizeof(user_vmx_nested_state->shadow_vmcs12) < VMCS12_SIZE); in vmx_get_nested_state()
6453 if (copy_to_user(user_vmx_nested_state->vmcs12, vmcs12, VMCS12_SIZE)) in vmx_get_nested_state()
6458 if (copy_to_user(user_vmx_nested_state->shadow_vmcs12, in vmx_get_nested_state()
6482 struct kvm_vmx_nested_state_data __user *user_vmx_nested_state = in vmx_set_nested_state() local
6594 if (copy_from_user(vmcs12, user_vmx_nested_state->vmcs12, sizeof(*vmcs12))) in vmx_set_nested_state()
[all …]