Lines Matching refs:fd
66 mMemInfo[i].fd = 0; in QCameraMemory()
120 cache_inv_data.fd = mMemInfo[index].fd; in cacheOpsInternal()
127 __func__, cache_inv_data.vaddr, cache_inv_data.fd, in cacheOpsInternal()
152 return mMemInfo[index].fd; in getFd()
206 bufDef.fd = mMemInfo[index].fd; in getBufDef()
215 bufDef.planes[0].m.userptr = mMemInfo[index].fd; in getBufDef()
220 bufDef.planes[i].m.userptr = mMemInfo[i].fd; in getBufDef()
333 memInfo.fd = ion_info_fd.fd; in allocOneBuffer()
362 if (memInfo.fd > 0) { in deallocOneBuffer()
363 close(memInfo.fd); in deallocOneBuffer()
364 memInfo.fd = 0; in deallocOneBuffer()
452 mMemInfo[i].fd, 0); in allocate()
624 mCameraMemory[i] = mGetMemory(mMemInfo[i].fd, mMemInfo[i].size, 1, this); in allocate()
820 nh->data[0] = mMemInfo[i].fd; in allocate()
1131 ion_info_fd.fd = mPrivateHandle[cnt]->fd; in allocate()
1158 mGetMemory(mPrivateHandle[cnt]->fd, in allocate()
1163 __func__, cnt, mPrivateHandle[cnt]->fd, in allocate()
1166 mMemInfo[cnt].fd = in allocate()
1167 mPrivateHandle[cnt]->fd; in allocate()