Lines Matching refs:guest_paddr
906 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()
1053 region->region.guest_phys_addr = guest_paddr; in vm_mem_add()
1062 guest_paddr, (uint64_t) region->region.memory_size, in vm_mem_add()
1086 uint64_t guest_paddr, uint32_t slot, in vm_userspace_mem_region_add() argument
1089 vm_mem_add(vm, src_type, guest_paddr, slot, npages, flags, -1, 0); in vm_userspace_mem_region_add()