Searched refs:guest_paddr (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 814 uint64_t guest_paddr, uint32_t slot, uint64_t npages, in vm_userspace_mem_region_add() argument 826 TEST_ASSERT((guest_paddr % vm->page_size) == 0, "Guest physical " in vm_userspace_mem_region_add() 829 guest_paddr, vm->page_size); in vm_userspace_mem_region_add() 830 TEST_ASSERT((((guest_paddr >> vm->page_shift) + npages) - 1) in vm_userspace_mem_region_add() 835 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add() 842 vm, guest_paddr, (guest_paddr + npages * vm->page_size) - 1); in vm_userspace_mem_region_add() 849 guest_paddr, npages, vm->page_size, in vm_userspace_mem_region_add() 863 slot, guest_paddr, npages, in vm_userspace_mem_region_add() 890 ASSERT_EQ(guest_paddr, align_up(guest_paddr, backing_src_pagesz)); in vm_userspace_mem_region_add() 928 guest_paddr >> vm->page_shift, npages); in vm_userspace_mem_region_add() [all …]
|
/linux-6.1.9/tools/testing/selftests/kvm/include/ |
D | kvm_util_base.h | 379 uint64_t guest_paddr, uint32_t slot, uint64_t npages,
|