Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/libs/fs/
Dshared_fd.h246 class ScopedMMap {
248 ScopedMMap();
249 ScopedMMap(void* ptr, size_t size);
250 ScopedMMap(const ScopedMMap& other) = delete;
251 ScopedMMap& operator=(const ScopedMMap& other) = delete;
252 ScopedMMap(ScopedMMap&& other);
254 ~ScopedMMap();
376 ScopedMMap MMap(void* addr, size_t length, int prot, int flags, off_t offset);
Dshared_fd.cpp798 ScopedMMap::ScopedMMap(void* ptr, size_t len) : ptr_(ptr), len_(len) {} in ScopedMMap() function in cuttlefish::ScopedMMap
800 ScopedMMap::ScopedMMap() : ptr_(MAP_FAILED), len_(0) {} in ScopedMMap() function in cuttlefish::ScopedMMap
802 ScopedMMap::ScopedMMap(ScopedMMap&& other) in ScopedMMap() function in cuttlefish::ScopedMMap
808 ScopedMMap::~ScopedMMap() { in ~ScopedMMap()
1019 ScopedMMap FileInstance::MMap(void* addr, size_t length, int prot, int flags, in MMap()
1024 return ScopedMMap(ptr, length); in MMap()
/device/google/cuttlefish/host/libs/audio_connector/
Dserver.h74 AudioClientConnection(ScopedMMap tx_shm, ScopedMMap rx_shm, in AudioClientConnection()
91 ScopedMMap tx_shm_;
92 ScopedMMap rx_shm_;
Dserver.cpp34 ScopedMMap AllocateShm(size_t size, const std::string& name, SharedFD* shm_fd) { in AllocateShm()
39 return ScopedMMap(); in AllocateShm()
46 return ScopedMMap(); in AllocateShm()
58 volatile uint8_t* BufferAt(ScopedMMap& shm, size_t offset, size_t len) { in BufferAt()