Searched refs:addr_gva2hva (Results 1 – 9 of 9) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | vmx.c | 78 struct vmx_pages *vmx = addr_gva2hva(vm, vmx_gva); in vcpu_alloc_vmx() 82 vmx->vmxon_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmxon); in vcpu_alloc_vmx() 87 vmx->vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmcs); in vcpu_alloc_vmx() 92 vmx->msr_hva = addr_gva2hva(vm, (uintptr_t)vmx->msr); in vcpu_alloc_vmx() 98 vmx->shadow_vmcs_hva = addr_gva2hva(vm, (uintptr_t)vmx->shadow_vmcs); in vcpu_alloc_vmx() 103 vmx->vmread_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmread); in vcpu_alloc_vmx() 108 vmx->vmwrite_hva = addr_gva2hva(vm, (uintptr_t)vmx->vmwrite); in vcpu_alloc_vmx() 115 vmx->vp_assist_hva = addr_gva2hva(vm, (uintptr_t)vmx->vp_assist); in vcpu_alloc_vmx() 122 addr_gva2hva(vm, (uintptr_t)vmx->enlightened_vmcs); in vcpu_alloc_vmx() 534 vmx->eptp_hva = addr_gva2hva(vm, (uintptr_t)vmx->eptp); in prepare_eptp()
|
D | ucall.c | 47 memcpy(&ucall, addr_gva2hva(vm, (vm_vaddr_t)regs.rdi), in get_ucall()
|
D | processor.c | 443 void *gdt = addr_gva2hva(vm, vm->gdt); in kvm_seg_fill_gdt_64bit()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | elf.c | 175 memset(addr_gva2hva(vm, vaddr), 0, seg_size); in kvm_vm_elf_load() 192 test_read(fd, addr_gva2hva(vm, phdr.p_vaddr), in kvm_vm_elf_load()
|
D | kvm_util.c | 521 uintptr_t ptr2 = (uintptr_t)addr_gva2hva(vm, gva + offset); in kvm_memcmp_hva_gva() 1615 void *addr_gva2hva(struct kvm_vm *vm, vm_vaddr_t gva) in addr_gva2hva() function
|
/external/linux-kselftest/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 109 void *addr_gva2hva(struct kvm_vm *vm, vm_vaddr_t gva); 171 typeof(g) *_p = addr_gva2hva(vm, (vm_vaddr_t)&(g)); \ 176 typeof(g) *_p = addr_gva2hva(vm, (vm_vaddr_t)&(g)); \
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/s390x/ |
D | ucall.c | 47 memcpy(&ucall, addr_gva2hva(vm, run->s.regs.gprs[reg]), in get_ucall()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/aarch64/ |
D | ucall.c | 104 memcpy(&ucall, addr_gva2hva(vm, gva), sizeof(ucall)); in get_ucall()
|
/external/linux-kselftest/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 158 guest_array = addr_gva2hva(vm, (vm_vaddr_t)random_array); in vcpu_worker()
|