Lines Matching refs:mHandle
143 *base = mmap(nullptr, mapSize, prot, flags, mHandle.bufferFd(), mapOffset); in mapInternal()
146 mapSize, prot, flags, mHandle.bufferFd(), mapOffset, errno); in mapInternal()
157 C2HandleBuf mHandle; member in android::C2DmaBufAllocation
226 ALOGV("successfully unmapped: %d", mHandle.bufferFd()); in unmap()
248 return mHandle.bufferFd() == otherAsBuf->mHandle.bufferFd(); in equals()
252 return &mHandle; in handle()
264 native_handle_close(&mHandle); in ~C2DmaBufAllocation()
270 : C2LinearAllocation(capacity), mHandle(-1, 0) { in C2DmaBufAllocation()
280 mHandle = C2HandleBuf(bufferFd, capacity); in C2DmaBufAllocation()
286 : C2LinearAllocation(size), mHandle(-1, 0) { in C2DmaBufAllocation()
287 mHandle = C2HandleBuf(shareFd, size); in C2DmaBufAllocation()