Lines Matching refs:memalloc
49 IMemAlloc* memalloc; in getAllocator() local
51 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
52 return memalloc; in getAllocator()
66 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
67 int err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
79 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
103 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
104 if(memalloc != NULL) { in gralloc_unmap()
105 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap()
111 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap()
226 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_and_invalidate() local
227 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_map_and_invalidate()
275 IMemAlloc* memalloc = getAllocator(hnd->flags); in gralloc_unlock() local
277 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()
286 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()