Lines Matching refs:host_mem
767 if (region->host_mem < cregion->host_mem) in vm_userspace_mem_region_hva_insert()
770 TEST_ASSERT(region->host_mem != in vm_userspace_mem_region_hva_insert()
771 cregion->host_mem, in vm_userspace_mem_region_hva_insert()
922 region->host_mem = align_ptr_up(region->mmap_start, alignment); in vm_userspace_mem_region_add()
927 ret = madvise(region->host_mem, npages * vm->page_size, in vm_userspace_mem_region_add()
930 region->host_mem, npages * vm->page_size, in vm_userspace_mem_region_add()
941 region->region.userspace_addr = (uintptr_t) region->host_mem; in vm_userspace_mem_region_add()
1388 return (void *)((uintptr_t)region->host_mem in addr_gpa2hva()
1417 if (hva >= region->host_mem) { in addr_hva2gpa()
1418 if (hva <= (region->host_mem in addr_hva2gpa()
1422 + (hva - (uintptr_t)region->host_mem)); in addr_hva2gpa()
2119 region->host_mem); in vm_dump()