Home
last modified time | relevance | path

Searched refs:physAddr (Results 1 – 17 of 17) sorted by relevance

/hardware/google/aemu/host-common/testing/
DHostAddressSpace.cpp83 uint64_t allocBlock(uint32_t handle, size_t size, uint64_t* physAddr) { in allocBlock() argument
85 return allocBlockLocked(handle, size, physAddr); in allocBlock()
104 void setHostAddrByPhysAddr(uint64_t physAddr, void* hva) { in setHostAddrByPhysAddr() argument
105 if (!physAddr) return; in setHostAddrByPhysAddr()
106 const uint64_t off = physAddr - kPciStart; in setHostAddrByPhysAddr()
124 void unsetHostAddrByPhysAddr(uint64_t physAddr) { in unsetHostAddrByPhysAddr() argument
125 if (!physAddr) return; in unsetHostAddrByPhysAddr()
126 const uint64_t off = physAddr - kPciStart; in unsetHostAddrByPhysAddr()
144 void* getHostAddr(uint64_t physAddr) { in getHostAddr() argument
145 HASD_LOG("get hva of 0x%llx", (unsigned long long)physAddr); in getHostAddr()
[all …]
DHostAddressSpace.h42 uint64_t allocBlock(uint32_t handle, size_t size, uint64_t* physAddr);
46 void setHostAddrByPhysAddr(uint64_t physAddr, void* hva);
47 void unsetHostAddrByPhysAddr(uint64_t physAddr);
48 void* getHostAddr(uint64_t physAddr);
/hardware/google/aemu/host-common/
Daddress_space_shared_slots_host_memory_allocator.cpp335 uint64_t physAddr = kv.second.allocate(alignedSize); in allocate() local
336 if (physAddr) { in allocate()
337 return populatePhysAddr(info, physAddr, alignedSize, &kv.second); in allocate()
343 const uint64_t physAddr = newBlock.allocate(alignedSize); in allocate() local
344 if (!physAddr) { in allocate()
354 return populatePhysAddr(info, physAddr, alignedSize, &r.first->second); in allocate()
359 const uint64_t physAddr) { in unallocate() argument
362 auto i = m_allocations.find(physAddr); in unallocate()
368 block->unallocate(physAddr, i->second.first); in unallocate()
369 m_allocations.erase(physAddr); in unallocate()
[all …]
DHostAddressSpace_unittest.cpp210 uint64_t physAddr = hwFuncs->getPhysAddrStart() + offset; in TEST_F() local
211 mDevice->setHostAddrByPhysAddr(physAddr, buf); in TEST_F()
213 EXPECT_EQ(buf, mDevice->getHostAddr(physAddr)); in TEST_F()
Daddress_space_host_media.cpp40 mGuestAddr = create.physAddr; in AddressSpaceHostMediaContext()
41 allocatePages(create.physAddr, kNumPages); in AddressSpaceHostMediaContext()
Daddress_space_device.cpp127 create.physAddr = phys_addr; in ping()
152 create.physAddr = phys_addr; in pingAtHva()
286 create.physAddr = pingInfoGpa; in load()
Daddress_space_graphics.cpp575 [](uint64_t physAddr) { return (char*)sGlobals()->controlOps()->get_host_ptr(physAddr); }, in AddressSpaceGraphicsContext() argument
Daddress_space_graphics_unittests.cpp511 char* ptr = mCallbacks.getPtr(currentXfer.physAddr); in type2Read()
/hardware/google/aemu/host-common/include/host-common/
Daddress_space_device.h25 uint64_t physAddr; member
Daddress_space_graphics_types.h218 uint64_t physAddr; member
/hardware/google/gfxstream/guest/GoldfishAddressSpace/include/
Dgoldfish_address_space.h66 uint64_t physAddr() const;
Daddress_space_graphics_types.h218 uint64_t physAddr; member
Dgoldfish_address_space_fuchsia.impl154 uint64_t GoldfishAddressSpaceBlock::physAddr() const
Dgoldfish_address_space_android.impl238 uint64_t GoldfishAddressSpaceBlock::physAddr() const
/hardware/google/gfxstream/host/
DRingStream.cpp301 mCallbacks.getPtr(xfersPtr[i].physAddr); in type2Read()
/hardware/google/gfxstream/host/vulkan/
DVkDecoderGlobalState.cpp4090 uint64_t physAddr) { in mapHostVisibleMemoryToGuestPhysicalAddressLocked() argument
4100 info->guestPhysAddr = physAddr; in mapHostVisibleMemoryToGuestPhysicalAddressLocked()
/hardware/google/gfxstream/guest/vulkan_enc/
DResourceTracker.cpp6189 *pAddress = block->physAddr(); in on_vkMapMemoryIntoAddressSpaceGOOGLE_pre()