Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c906 uint64_t guest_paddr, uint32_t slot, uint64_t npages, in vm_mem_add() argument
921 TEST_ASSERT((guest_paddr % vm->page_size) == 0, "Guest physical " in vm_mem_add()
924 guest_paddr, vm->page_size); in vm_mem_add()
925 TEST_ASSERT((((guest_paddr >> vm->page_shift) + npages) - 1) in vm_mem_add()
930 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_mem_add()
937 vm, guest_paddr, (guest_paddr + npages * vm->page_size) - 1); in vm_mem_add()
944 guest_paddr, npages, vm->page_size, in vm_mem_add()
958 slot, guest_paddr, npages, in vm_mem_add()
985 TEST_ASSERT_EQ(guest_paddr, align_up(guest_paddr, backing_src_pagesz)); in vm_mem_add()
1050 guest_paddr >> vm->page_shift, npages); in vm_mem_add()
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dkvm_util.h580 uint64_t guest_paddr, uint32_t slot, uint64_t npages,
583 uint64_t guest_paddr, uint32_t slot, uint64_t npages,