Lines Matching refs:bufferFd
56 C2HandleBuf(int bufferFd, size_t size) in C2HandleBuf()
58 mFds{bufferFd}, in C2HandleBuf()
63 int bufferFd() const { return mFds.mBuffer; } in bufferFd() function
144 *base = mmap(nullptr, mapSize, prot, flags, mHandle.bufferFd(), mapOffset); in mapInternal()
147 mapSize, prot, flags, mHandle.bufferFd(), mapOffset, errno); in mapInternal()
229 ALOGV("successfully unmapped: %d", mHandle.bufferFd()); in unmap()
251 return mHandle.bufferFd() == otherAsBuf->mHandle.bufferFd(); in equals()
275 int bufferFd = -1; in C2DmaBufAllocation() local
278 bufferFd = alloc.Alloc(heap_name, allocSize, flags); in C2DmaBufAllocation()
279 if (bufferFd < 0) { in C2DmaBufAllocation()
280 ret = bufferFd; in C2DmaBufAllocation()
284 mHandle = C2HandleBuf(bufferFd, capacity); in C2DmaBufAllocation()
429 std::make_shared<C2DmaBufAllocation>(h->size(), h->bufferFd(), getId()); in priorLinearAllocation()