Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c33 struct vmx_pages *vmx = addr_gva2hva(vm, vmx_gva); in vcpu_alloc_vmx()
37 vmx->vmxon_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx()
42 vmx->vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx()
47 vmx->msr_hva = addr_gva2hva(vm, (uintptr_t)vmx->msr); in vcpu_alloc_vmx()
53 vmx->shadow_vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->shadow_vmcs); in vcpu_alloc_vmx()
58 vmx->vmread_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmread); in vcpu_alloc_vmx()
63 vmx->vmwrite_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmwrite); in vcpu_alloc_vmx()
70 vmx->vp_assist_hva = addr_gva2hva(vm, (uintptr_t)vmx->vp_assist); in vcpu_alloc_vmx()
77 addr_gva2hva(vm, (uintptr_t)vmx->enlightened_vmcs); in vcpu_alloc_vmx()
Dprocessor.c446 void *gdt = addr_gva2hva(vm, vm->gdt); in kvm_seg_fill_gdt_64bit()
/external/linux-kselftest/tools/testing/selftests/kvm/include/
Dkvm_util.h90 void *addr_gva2hva(struct kvm_vm *vm, vm_vaddr_t gva);
137 typeof(g) *_p = addr_gva2hva(vm, (vm_vaddr_t)&(g)); \
142 typeof(g) *_p = addr_gva2hva(vm, (vm_vaddr_t)&(g)); \
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Delf.c176 memset(addr_gva2hva(vm, vaddr), 0, seg_size); in kvm_vm_elf_load()
193 test_read(fd, addr_gva2hva(vm, phdr.p_vaddr), in kvm_vm_elf_load()
Ducall.c130 memcpy(uc, addr_gva2hva(vm, (vm_vaddr_t)regs.rdi), sizeof(*uc)); in get_ucall()
140 memcpy(uc, addr_gva2hva(vm, gva), sizeof(*uc)); in get_ucall()
Dkvm_util.c455 uintptr_t ptr2 = (uintptr_t)addr_gva2hva(vm, gva + offset); in kvm_memcmp_hva_gva()
1486 void *addr_gva2hva(struct kvm_vm *vm, vm_vaddr_t gva) in addr_gva2hva() function
/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c121 guest_array = addr_gva2hva(vm, (vm_vaddr_t)random_array); in vcpu_worker()