Lines Matching refs:memalloc
54 IMemAlloc* memalloc; in getAllocator() local
56 memalloc = alloc_ctrl->getAllocator(flags); in getAllocator()
57 return memalloc; in getAllocator()
63 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_metadata() local
69 int ret = memalloc->map_buffer(&mappedAddress, size, in gralloc_map_metadata()
91 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map() local
99 err = memalloc->map_buffer(&mappedAddress, size, in gralloc_map()
134 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_unmap() local
135 if(!memalloc) in gralloc_unmap()
139 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset); in gralloc_unmap()
150 err = memalloc->unmap_buffer((void*)hnd->base_metadata, in gralloc_unmap()
240 IMemAlloc* memalloc = getAllocator(hnd->flags) ; in gralloc_map_and_invalidate() local
241 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_map_and_invalidate()
291 IMemAlloc* memalloc = getAllocator(hnd->flags); in gralloc_unlock() local
293 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()