Home
last modified time | relevance | path

Searched refs:page_aligned_size (Results 1 – 4 of 4) sorted by relevance

/hardware/google/aemu/host-common/testing/
DHostAddressSpace.cpp254 int allocSharedHostRegion(uint64_t page_aligned_size, uint64_t* offset) { in allocSharedHostRegion() argument
260 return allocSharedHostRegionLocked(page_aligned_size, offset); in allocSharedHostRegion()
263 int allocSharedHostRegionLocked(uint64_t page_aligned_size, uint64_t* offset) { in allocSharedHostRegionLocked() argument
266 uint64_t off = (uint64_t)(uintptr_t)mPhysicalOffsetAllocator.alloc(page_aligned_size); in allocSharedHostRegionLocked()
268 block.size = page_aligned_size; in allocSharedHostRegionLocked()
274 (unsigned long long)off + page_aligned_size); in allocSharedHostRegionLocked()
278 int allocSharedHostRegionFixedLocked(uint64_t page_aligned_size, uint64_t offset) { in allocSharedHostRegionFixedLocked() argument
279 mPhysicalOffsetAllocator.allocFixed(page_aligned_size, offset); in allocSharedHostRegionFixedLocked()
281 block.size = page_aligned_size; in allocSharedHostRegionFixedLocked()
286 (unsigned long long)offset + page_aligned_size); in allocSharedHostRegionFixedLocked()
[all …]
DHostAddressSpace.h60 static int allocSharedHostRegion(uint64_t page_aligned_size, uint64_t* offset);
62 static int allocSharedHostRegionLocked(uint64_t page_aligned_size, uint64_t* offset);
64 static int allocSharedHostRegionFixedLocked(uint64_t page_aligned_size, uint64_t offset);
/hardware/google/aemu/host-common/include/host-common/
Daddress_space_device.h86 int (*allocSharedHostRegion)(uint64_t page_aligned_size, uint64_t* offset);
93 int (*allocSharedHostRegionLocked)(uint64_t page_aligned_size, uint64_t* offset);
103 int (*allocSharedHostRegionFixedLocked)(uint64_t page_aligned_size, uint64_t offset);
/hardware/google/aemu/host-common/
Daddress_space_shared_slots_host_memory_allocator_unittests.cpp44 int allocSharedHostRegionLocked(uint64_t page_aligned_size, uint64_t* offset) { in allocSharedHostRegionLocked() argument
45 *offset = page_aligned_size * 10; in allocSharedHostRegionLocked()