Home
last modified time | relevance | path

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

/Linux-v5.4/arch/x86/kvm/vmx/
Dops.h20 void invept_error(unsigned long ext, u64 eptp, gpa_t gpa);
247 static inline void __invept(unsigned long ext, u64 eptp, gpa_t gpa) in __invept() argument
250 u64 eptp, gpa; in __invept() member
251 } operand = {eptp, gpa}; in __invept()
253 vmx_asm2(invept, "r"(ext), "m"(operand), ext, eptp, gpa); in __invept()
297 static inline void ept_sync_context(u64 eptp) in ept_sync_context() argument
300 __invept(VMX_EPT_EXTENT_CONTEXT, eptp, 0); in ept_sync_context()
Dvmx.c387 noinline void invept_error(unsigned long ext, u64 eptp, gpa_t gpa) in invept_error() argument
390 ext, eptp, gpa); in invept_error()
2983 u64 eptp = VMX_EPTP_MT_WB; in construct_eptp() local
2985 eptp |= (get_ept_level(vcpu) == 5) ? VMX_EPTP_PWL_5 : VMX_EPTP_PWL_4; in construct_eptp()
2989 eptp |= VMX_EPTP_AD_ENABLE_BIT; in construct_eptp()
2990 eptp |= (root_hpa & PAGE_MASK); in construct_eptp()
2992 return eptp; in construct_eptp()
2999 u64 eptp; in vmx_set_cr3() local
3003 eptp = construct_eptp(vcpu, cr3); in vmx_set_cr3()
3004 vmcs_write64(EPT_POINTER, eptp); in vmx_set_cr3()
[all …]
Dnested.c4914 u64 eptp, gpa; in handle_invept() member
/Linux-v5.4/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c214 struct eptPageTablePointer eptp = { in init_vmcs_control_fields() local
221 memcpy(&ept_paddr, &eptp, sizeof(ept_paddr)); in init_vmcs_control_fields()
533 vmx->eptp = (void *)vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in prepare_eptp()
534 vmx->eptp_hva = addr_gva2hva(vm, (uintptr_t)vmx->eptp); in prepare_eptp()
535 vmx->eptp_gpa = addr_gva2gpa(vm, (uintptr_t)vmx->eptp); in prepare_eptp()
/Linux-v5.4/tools/testing/selftests/kvm/include/x86_64/
Dvmx.h575 void *eptp; member