Searched refs:mapped_addr_ (Results 1 – 2 of 2) sorted by relevance
/system/core/fs_mgr/libsnapshot/ |
D | snapuserd.cpp | 57 struct CowHeader* ch = reinterpret_cast<struct CowHeader*>(mapped_addr_); in CommitMerge() 65 int ret = msync(mapped_addr_, BLOCK_SZ, MS_SYNC); in CommitMerge() 206 int ret = msync(mapped_addr_, total_mapped_addr_length_, MS_SYNC); in ReadAheadIOCompleted() 221 ret = msync(mapped_addr_, BLOCK_SZ, MS_SYNC); in ReadAheadIOCompleted() 273 struct CowHeader* ch = reinterpret_cast<struct CowHeader*>(mapped_addr_); in CheckMergeCompletionStatus() 635 mapped_addr_ = mmap(NULL, total_mapped_addr_length_, PROT_READ | PROT_WRITE, MAP_SHARED, in MmapMetadata() 637 if (mapped_addr_ == MAP_FAILED) { in MmapMetadata() 646 int ret = munmap(mapped_addr_, total_mapped_addr_length_); in UnmapBufferRegion() 764 reinterpret_cast<struct BufferState*>((char*)mapped_addr_ + header.header_size); in GetBufferState()
|
D | snapuserd.h | 263 void* GetMappedAddr() { return mapped_addr_; } in GetMappedAddr() 324 void* mapped_addr_; variable
|