Lines Matching refs:mBase
56 mBase = ::mmap(NULL, mem->size, PROT_WRITE, MAP_SHARED, mAshmemFd, 0); in AshmemDirectChannel()
57 if (mBase == nullptr) { in AshmemDirectChannel()
62 mBuffer = std::unique_ptr<LockfreeBuffer>(new LockfreeBuffer(mBase, mSize)); in AshmemDirectChannel()
69 if (mBase) { in ~AshmemDirectChannel()
71 ::munmap(mBase, mSize); in ~AshmemDirectChannel()
72 mBase = nullptr; in ~AshmemDirectChannel()
291 GRALLOC_USAGE_SW_WRITE_OFTEN, 0, 0, mem->size, 1, &mBase); in GrallocDirectChannel()
297 if (mBase == nullptr) { in GrallocDirectChannel()
304 mBuffer = std::make_unique<LockfreeBuffer>(mBase, mSize); in GrallocDirectChannel()
315 if (mBase) { in ~GrallocDirectChannel()
318 mBase = nullptr; in ~GrallocDirectChannel()