Home
last modified time | relevance | path

Searched refs:guest_paddr (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c604 uint64_t guest_paddr, uint32_t slot, uint64_t npages, in vm_userspace_mem_region_add() argument
616 TEST_ASSERT((guest_paddr % vm->page_size) == 0, "Guest physical " in vm_userspace_mem_region_add()
619 guest_paddr, vm->page_size); in vm_userspace_mem_region_add()
620 TEST_ASSERT((((guest_paddr >> vm->page_shift) + npages) - 1) in vm_userspace_mem_region_add()
625 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add()
632 vm, guest_paddr, (guest_paddr + npages * vm->page_size) - 1); in vm_userspace_mem_region_add()
639 guest_paddr, npages, vm->page_size, in vm_userspace_mem_region_add()
652 slot, guest_paddr, npages, in vm_userspace_mem_region_add()
710 guest_paddr >> vm->page_shift, npages); in vm_userspace_mem_region_add()
713 region->region.guest_phys_addr = guest_paddr; in vm_userspace_mem_region_add()
[all …]
/Linux-v5.10/tools/testing/selftests/kvm/include/
Dkvm_util.h109 uint64_t guest_paddr, uint32_t slot, uint64_t npages,