Searched refs:memFd (Results 1 – 3 of 3) sorted by relevance
193 int memFd = ashmem_create_region("C2SurfaceMem", sizeof(C2SyncVariables)); in configure() local194 size_t memSize = memFd < 0 ? 0 : ashmem_get_size_region(memFd); in configure()196 syncMem = C2SurfaceSyncMemory::Create(memFd, memSize); in configure()208 if (memFd >= 0) { in configure()209 ::close(memFd); in configure()
160 int memFd() const {return mFds.mMem;} in memFd() function
72 void *ptr = mmap(NULL, o->size(), PROT_READ | PROT_WRITE, MAP_SHARED, o->memFd(), 0); in Import()