Lines Matching refs:getBufferPtr
145 return ((int32_t*)cb->getBufferPtr()) + 1; in getOpenCountPtr()
398 get_mem_region(cb->getBufferPtr()); in get_ashmem_region()
412 const bool should_unmap = put_mem_region(rcEnc, cb->getBufferPtr()); in put_ashmem_region()
940 __FUNCTION__, handle, cb->getBufferPtr(), cb->bufferSize); in gralloc_free()
946 if (isHidlGralloc && cb->getBufferPtr()) { in gralloc_free()
965 if (cb->bufferSize > 0 && cb->getBufferPtr()) { in gralloc_free()
966 D("%s: unmapped %p", __FUNCTION__, cb->getBufferPtr()); in gralloc_free()
967 munmap(cb->getBufferPtr(), cb->bufferSize); in gralloc_free()
1114 int err = munmap(cb->getBufferPtr(), cb->bufferSize); in gralloc_unregister_buffer()
1204 if (cb->ashmemBasePid != getpid() || !cb->getBufferPtr()) { in gralloc_lock()
1208 cpu_addr = (void *)((char*)cb->getBufferPtr() + getAshmemColorOffset(cb)); in gralloc_lock()
1328 char *cpu_addr = (char*)cb->getBufferPtr() + getAshmemColorOffset(cb); in gralloc_unlock()