Home
last modified time | relevance | path

Searched refs:vm_vaddr_t (Results 1 – 18 of 18) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/kvm/include/
Dkvm_util.h25 typedef uint64_t vm_vaddr_t; /* Virtual Machine (Guest) virtual address */ typedef
80 int kvm_memcmp_hva_gva(void *hva, struct kvm_vm *vm, const vm_vaddr_t gva,
104 vm_vaddr_t vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min,
109 void *addr_gva2hva(struct kvm_vm *vm, vm_vaddr_t gva);
111 vm_paddr_t addr_gva2gpa(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/aarch64/
Ducall.c10 static vm_vaddr_t *ucall_exit_mmio_addr;
19 ucall_exit_mmio_addr = (vm_vaddr_t *)gpa; in ucall_mmio_init()
89 *ucall_exit_mmio_addr = (vm_vaddr_t)&uc; in ucall()
99 vm_vaddr_t gva; in get_ucall()
Dprocessor.c24 static uint64_t pgd_index(struct kvm_vm *vm, vm_vaddr_t gva) in pgd_index()
32 static uint64_t pud_index(struct kvm_vm *vm, vm_vaddr_t gva) in pud_index()
43 static uint64_t pmd_index(struct kvm_vm *vm, vm_vaddr_t gva) in pmd_index()
54 static uint64_t pte_index(struct kvm_vm *vm, vm_vaddr_t gva) in pte_index()
148 vm_paddr_t addr_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_gva2gpa()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Delf.c161 vm_vaddr_t seg_vstart = phdr.p_vaddr; in kvm_vm_elf_load()
162 seg_vstart &= ~(vm_vaddr_t)(vm->page_size - 1); in kvm_vm_elf_load()
163 vm_vaddr_t seg_vend = phdr.p_vaddr + phdr.p_memsz - 1; in kvm_vm_elf_load()
167 vm_vaddr_t vaddr = vm_vaddr_alloc(vm, seg_size, seg_vstart, in kvm_vm_elf_load()
Dkvm_util_internal.h62 vm_vaddr_t gdt;
63 vm_vaddr_t tss;
Dkvm_util.c506 int kvm_memcmp_hva_gva(void *hva, struct kvm_vm *vm, vm_vaddr_t gva, size_t len) in kvm_memcmp_hva_gva()
860 static vm_vaddr_t vm_vaddr_unused_gap(struct kvm_vm *vm, size_t sz, in vm_vaddr_unused_gap()
861 vm_vaddr_t vaddr_min) in vm_vaddr_unused_gap()
948 vm_vaddr_t vm_vaddr_alloc(struct kvm_vm *vm, size_t sz, vm_vaddr_t vaddr_min, in vm_vaddr_alloc()
959 vm_vaddr_t vaddr_start = vm_vaddr_unused_gap(vm, sz, vaddr_min); in vm_vaddr_alloc()
962 for (vm_vaddr_t vaddr = vaddr_start; pages > 0; in vm_vaddr_alloc()
1615 void *addr_gva2hva(struct kvm_vm *vm, vm_vaddr_t gva) in addr_gva2hva()
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dvmx_close_while_nested_test.c55 vm_vaddr_t vmx_pages_gva; in main()
Dvmx_dirty_log_test.c71 vm_vaddr_t vmx_pages_gva = 0; in main()
Dsmm_test.c90 vm_vaddr_t vmx_pages_gva = 0; in main()
Dvmx_tsc_adjust_test.c130 vm_vaddr_t vmx_pages_gva; in main()
Devmcs_test.c74 vm_vaddr_t vmx_pages_gva = 0; in main()
Dstate_test.c122 vm_vaddr_t vmx_pages_gva = 0; in main()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c47 memcpy(&ucall, addr_gva2hva(vm, (vm_vaddr_t)regs.rdi), in get_ucall()
Dvmx.c75 vcpu_alloc_vmx(struct kvm_vm *vm, vm_vaddr_t *p_vmx_gva) in vcpu_alloc_vmx()
77 vm_vaddr_t vmx_gva = vm_vaddr_alloc(vm, getpagesize(), 0x10000, 0, 0); in vcpu_alloc_vmx()
Dprocessor.c542 vm_paddr_t addr_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_gva2gpa()
653 vm_vaddr_t stack_vaddr; in vm_vcpu_add_default()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/s390x/
Dprocessor.c130 vm_paddr_t addr_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_gva2gpa()
/external/linux-kselftest/tools/testing/selftests/kvm/
Ddirty_log_test.c158 guest_array = addr_gva2hva(vm, (vm_vaddr_t)random_array); in vcpu_worker()
/external/linux-kselftest/tools/testing/selftests/kvm/include/x86_64/
Dvmx.h578 struct vmx_pages *vcpu_alloc_vmx(struct kvm_vm *vm, vm_vaddr_t *p_vmx_gva);