Home
last modified time | relevance | path

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

/linux/arch/x86/kvm/vmx/
H A Dtdx.c84 static __always_inline struct vcpu_tdx *to_tdx(struct kvm_vcpu *vcpu) in to_tdx() function
243 return to_tdx(vcpu)->vp_enter_args.r10; in tdvmcall_exit_type()
248 return to_tdx(vcpu)->vp_enter_args.r11; in tdvmcall_leaf()
254 to_tdx(vcpu)->vp_enter_args.r10 = val; in tdvmcall_set_return_code()
260 to_tdx(vcpu)->vp_enter_args.r11 = val; in tdvmcall_set_return_val()
281 list_del(&to_tdx(vcpu)->cpu_list); in tdx_disassociate_vp()
391 if (to_tdx(vcpu)->state != VCPU_TD_STATE_UNINITIALIZED) { in tdx_flush_vp()
398 err = tdh_vp_flush(&to_tdx(vcpu)->vp); in tdx_flush_vp()
671 struct vcpu_tdx *tdx = to_tdx(vcpu); in tdx_vcpu_create()
719 struct vcpu_tdx *tdx = to_tdx(vcpu); in tdx_vcpu_load()
[all …]