Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c78 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()
Ducall.c47 memcpy(&ucall, addr_gva2hva(vm, (vm_vaddr_t)regs.rdi), in get_ucall()
Dprocessor.c443 void *gdt = addr_gva2hva(vm, vm->gdt); in kvm_seg_fill_gdt_64bit()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Delf.c175 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()
Dkvm_util.c521 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/
Dkvm_util.h109 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/
Ducall.c47 memcpy(&ucall, addr_gva2hva(vm, run->s.regs.gprs[reg]), in get_ucall()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/aarch64/
Ducall.c104 memcpy(&ucall, addr_gva2hva(vm, gva), sizeof(ucall)); in get_ucall()
/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c158 guest_array = addr_gva2hva(vm, (vm_vaddr_t)random_array); in vcpu_worker()