Searched refs:vm_vaddr_t (Results 1 – 18 of 18) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 25 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/ |
D | ucall.c | 10 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()
|
D | processor.c | 24 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/ |
D | elf.c | 161 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()
|
D | kvm_util_internal.h | 62 vm_vaddr_t gdt; 63 vm_vaddr_t tss;
|
D | kvm_util.c | 506 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/ |
D | vmx_close_while_nested_test.c | 55 vm_vaddr_t vmx_pages_gva; in main()
|
D | vmx_dirty_log_test.c | 71 vm_vaddr_t vmx_pages_gva = 0; in main()
|
D | smm_test.c | 90 vm_vaddr_t vmx_pages_gva = 0; in main()
|
D | vmx_tsc_adjust_test.c | 130 vm_vaddr_t vmx_pages_gva; in main()
|
D | evmcs_test.c | 74 vm_vaddr_t vmx_pages_gva = 0; in main()
|
D | state_test.c | 122 vm_vaddr_t vmx_pages_gva = 0; in main()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | ucall.c | 47 memcpy(&ucall, addr_gva2hva(vm, (vm_vaddr_t)regs.rdi), in get_ucall()
|
D | vmx.c | 75 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()
|
D | processor.c | 542 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/ |
D | processor.c | 130 vm_paddr_t addr_gva2gpa(struct kvm_vm *vm, vm_vaddr_t gva) in addr_gva2gpa()
|
/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()
|
/external/linux-kselftest/tools/testing/selftests/kvm/include/x86_64/ |
D | vmx.h | 578 struct vmx_pages *vcpu_alloc_vmx(struct kvm_vm *vm, vm_vaddr_t *p_vmx_gva);
|