Lines Matching refs:memalloc
52 IMemAlloc* memalloc; in getAllocator() local
54 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
55 return memalloc; in getAllocator()
61 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata() local
67 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
89 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
97 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
132 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
133 if(!memalloc) in gralloc_unmap()
137 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); in gralloc_unmap()
148 err = memalloc->unmap_buffer((void*)hnd->base_metadata, in gralloc_unmap()
238 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_and_invalidate() local
239 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_map_and_invalidate()
289 IMemAlloc* memalloc = getAllocator(hnd->flags); in gralloc_unlock() local
291 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()