Lines Matching refs:mPtr
275 mPtr[i] = NULL; in QCamera3HeapMemory()
400 return mPtr[index]; in getPtrLocked()
594 mPtr[i] = vaddr; in allocate()
603 munmap(mPtr[j], mMemInfo[j].size); in allocate()
604 mPtr[j] = NULL; in allocate()
652 mPtr[mBufferCount] = vaddr; in allocateOne()
672 munmap(mPtr[i], mMemInfo[i].size); in deallocate()
673 mPtr[i] = NULL; in deallocate()
697 return cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
751 mPtr[i] = nullptr; in QCamera3GrallocMemory()
860 if (mPtr[idx] != nullptr) { in unregisterBufferLocked()
861 munmap(mPtr[idx], mMemInfo[idx].size); in unregisterBufferLocked()
862 mPtr[idx] = nullptr; in unregisterBufferLocked()
1128 rc = cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
1131 rc = cacheOpsInternal(index, cmd, mPtr[index]); in cacheOps()
1227 if (mPtr[index] == nullptr) { in getPtrLocked()
1240 mPtr[index] = vaddr; in getPtrLocked()
1244 return mPtr[index]; in getPtrLocked()