Searched refs:mMapFd (Results 1 – 1 of 1) sorted by relevance
/hardware/google/av/codec2/vndk/ |
D | C2AllocatorIon.cpp | 171 mMapFd(-1) { in Impl() 260 if (mMapFd == -1) { in map() 262 flags, mapOffset, (unsigned char**)&map.addr, &mMapFd); in map() 267 mMapFd = -1; in map() 274 map.addr = mmap(nullptr, mapSize, prot, flags, mMapFd, mapOffset); in map() 277 mapSize, prot, flags, mMapFd, mapOffset, errno); in map() 292 if (mMapFd < 0 || mMappings.empty()) { in unmap() 324 if (mMapFd >= 0) { in ~Impl() 325 close(mMapFd); in ~Impl() 326 mMapFd = -1; in ~Impl() [all …]
|