Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util.c511 uint64_t guest_paddr, uint32_t slot, uint64_t npages, in vm_userspace_mem_region_add() argument
519 TEST_ASSERT((guest_paddr % vm->page_size) == 0, "Guest physical " in vm_userspace_mem_region_add()
522 guest_paddr, vm->page_size); in vm_userspace_mem_region_add()
523 TEST_ASSERT((((guest_paddr >> vm->page_shift) + npages) - 1) in vm_userspace_mem_region_add()
528 guest_paddr, npages, vm->max_gfn, vm->page_size); in vm_userspace_mem_region_add()
535 vm, guest_paddr, guest_paddr + npages * vm->page_size); in vm_userspace_mem_region_add()
542 guest_paddr, npages, vm->page_size, in vm_userspace_mem_region_add()
551 if ((guest_paddr <= (region->region.guest_phys_addr in vm_userspace_mem_region_add()
553 && ((guest_paddr + npages * vm->page_size) in vm_userspace_mem_region_add()
562 slot, guest_paddr, npages, in vm_userspace_mem_region_add()
[all …]
/external/linux-kselftest/tools/testing/selftests/kvm/include/
Dkvm_util.h76 uint64_t guest_paddr, uint32_t slot, uint64_t npages,