Lines Matching refs:host_mem
751 if (region->host_mem < cregion->host_mem) in vm_userspace_mem_region_hva_insert()
754 TEST_ASSERT(region->host_mem != in vm_userspace_mem_region_hva_insert()
755 cregion->host_mem, in vm_userspace_mem_region_hva_insert()
914 region->host_mem = align_ptr_up(region->mmap_start, alignment); in vm_userspace_mem_region_add()
919 ret = madvise(region->host_mem, npages * vm->page_size, in vm_userspace_mem_region_add()
922 region->host_mem, npages * vm->page_size, in vm_userspace_mem_region_add()
933 region->region.userspace_addr = (uintptr_t) region->host_mem; in vm_userspace_mem_region_add()
1363 return (void *)((uintptr_t)region->host_mem in addr_gpa2hva()
1392 if (hva >= region->host_mem) { in addr_hva2gpa()
1393 if (hva <= (region->host_mem in addr_hva2gpa()
1397 + (hva - (uintptr_t)region->host_mem)); in addr_hva2gpa()
1700 region->host_mem); in vm_dump()