Searched refs:memalloc (Results 1 – 5 of 5) sorted by relevance
/hardware/qcom/display/libgralloc/ |
D | mapper.cpp | 53 IMemAlloc* memalloc; in getAllocator() local 55 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator() 56 return memalloc; in getAllocator() 68 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local 69 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map() 100 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local 101 if(memalloc != NULL) in gralloc_unmap() 102 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap() 275 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unlock() local 276 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()
|
D | alloc_controller.cpp | 155 IMemAlloc* memalloc = NULL; in getAllocator() local 157 memalloc = mIonAlloc; in getAllocator() 162 return memalloc; in getAllocator() 276 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags); in free_buffer() local 277 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd); in free_buffer()
|
D | gpu.cpp | 260 IMemAlloc* memalloc = mAllocCtrl->getAllocator(hnd->flags); in free_impl() local 261 int err = memalloc->free_buffer((void*)hnd->base, (size_t) hnd->size, in free_impl()
|
/hardware/qcom/display/liboverlay/ |
D | overlayMem.h | 170 IMemAlloc* memalloc = mAlloc->getAllocator(mAllocType); in close() local 171 ret = memalloc->free_buffer(mBaseAddr, mBufSz * mNumBuffers, 0, mFd); in close()
|
/hardware/qcom/display/libcopybit/ |
D | copybit_c2d.cpp | 957 IMemAlloc* memalloc = sAlloc->getAllocator(data.allocType); in free_temp_buffer() local 958 memalloc->free_buffer(data.base, data.size, 0, data.fd); in free_temp_buffer() 1176 IMemAlloc* memalloc = sAlloc->getAllocator(src_hnd->flags); in stretch_copybit_internal() local 1177 if (memalloc->clean_buffer((void *)(src_hnd->base), src_hnd->size, in stretch_copybit_internal() 1247 IMemAlloc* memalloc = sAlloc->getAllocator(dst_hnd->flags); in stretch_copybit_internal() local 1248 memalloc->clean_buffer((void *)(dst_hnd->base), dst_hnd->size, in stretch_copybit_internal()
|