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.c85 static __always_inline struct vcpu_tdx *to_tdx(struct kvm_vcpu *vcpu) in to_tdx() function
246 return to_tdx(vcpu)->vp_enter_args.r10; in tdvmcall_exit_type()
251 return to_tdx(vcpu)->vp_enter_args.r11; in tdvmcall_leaf()
257 to_tdx(vcpu)->vp_enter_args.r10 = val; in tdvmcall_set_return_code()
263 to_tdx(vcpu)->vp_enter_args.r11 = val; in tdvmcall_set_return_val()
285 list_del(&to_tdx(vcpu)->cpu_list); in tdx_disassociate_vp()
395 if (to_tdx(vcpu)->state != VCPU_TD_STATE_UNINITIALIZED) { in tdx_flush_vp()
402 err = tdh_vp_flush(&to_tdx(vcpu)->vp); in tdx_flush_vp()
679 struct vcpu_tdx *tdx = to_tdx(vcpu); in tdx_vcpu_create()
725 struct vcpu_tdx *tdx = to_tdx(vcpu); in tdx_vcpu_load()
[all …]