Lines Matching refs:memalloc
51 IMemAlloc* memalloc; in getAllocator() local
53 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
54 return memalloc; in getAllocator()
65 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
66 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
78 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
99 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
100 if(memalloc != NULL) { in gralloc_unmap()
101 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap()
107 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap()
219 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_and_invalidate() local
220 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_map_and_invalidate()
308 IMemAlloc* memalloc = getAllocator(hnd->flags); in gralloc_unlock() local
311 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()
320 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()