Lines Matching refs:getBufferPtr
131 void* getBufferPtr() const { in getBufferPtr() function
176 return ((int32_t*)cb->getBufferPtr()) + 1; in getOpenCountPtr()
417 get_mem_region(cb->getBufferPtr()); in get_ashmem_region()
431 const bool should_unmap = put_mem_region(rcEnc, cb->getBufferPtr()); in put_ashmem_region()
958 __FUNCTION__, handle, cb->getBufferPtr(), cb->bufferSize); in gralloc_free()
964 if (isHidlGralloc && cb->getBufferPtr()) { in gralloc_free()
984 if (cb->bufferSize > 0 && cb->getBufferPtr()) { in gralloc_free()
985 D("%s: unmapped %p", __FUNCTION__, cb->getBufferPtr()); in gralloc_free()
986 munmap(cb->getBufferPtr(), cb->bufferSize); in gralloc_free()
1138 int err = munmap(cb->getBufferPtr(), cb->bufferSize); in gralloc_unregister_buffer()
1228 if (cb->ashmemBasePid != getpid() || !cb->getBufferPtr()) { in gralloc_lock()
1232 cpu_addr = (void *)((char*)cb->getBufferPtr() + getAshmemColorOffset(cb)); in gralloc_lock()
1352 char *cpu_addr = (char*)cb->getBufferPtr() + getAshmemColorOffset(cb); in gralloc_unlock()