Lines Matching refs:user_vmx_nested_state
6358 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()
6616 sizeof(user_vmx_nested_state->vmcs12) + sizeof(*shadow_vmcs12)) in vmx_set_nested_state()
6620 user_vmx_nested_state->shadow_vmcs12, in vmx_set_nested_state()