Searched refs:guest_paddr (Results 1 – 2 of 2) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 577 uint64_t guest_paddr, uint32_t slot, uint64_t npages, in vm_userspace_mem_region_add() argument 585 TEST_ASSERT((guest_paddr % vm->page_size) == 0, "Guest physical " in vm_userspace_mem_region_add() 588 guest_paddr, vm->page_size); in vm_userspace_mem_region_add() 589 TEST_ASSERT((((guest_paddr >> vm->page_shift) + npages) - 1) in vm_userspace_mem_region_add() 594 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add() 601 vm, guest_paddr, (guest_paddr + npages * vm->page_size) - 1); in vm_userspace_mem_region_add() 608 guest_paddr, npages, vm->page_size, in vm_userspace_mem_region_add() 623 slot, guest_paddr, npages, in vm_userspace_mem_region_add() 672 guest_paddr >> vm->page_shift, npages); in vm_userspace_mem_region_add() 675 region->region.guest_phys_addr = guest_paddr; in vm_userspace_mem_region_add() [all …]
|
/external/linux-kselftest/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 94 uint64_t guest_paddr, uint32_t slot, uint64_t npages,
|