Lines Matching refs:memalloc
41 #include "memalloc.h"
52 IMemAlloc* memalloc;
54 memalloc = alloc_ctrl->getAllocator(flags);
55 return memalloc;
61 IMemAlloc* memalloc = getAllocator(hnd->flags) ;
67 int ret = memalloc->map_buffer(&mappedAddress, size,
89 IMemAlloc* memalloc = getAllocator(hnd->flags) ;
97 err = memalloc->map_buffer(&mappedAddress, size,
132 IMemAlloc* memalloc = getAllocator(hnd->flags) ;
133 if(!memalloc)
137 err = memalloc->unmap_buffer((void*)hnd->base, hnd->size, hnd->offset);
148 err = memalloc->unmap_buffer((void*)hnd->base_metadata,
238 IMemAlloc* memalloc = getAllocator(hnd->flags) ;
239 err = memalloc->clean_buffer((void*)hnd->base,
289 IMemAlloc* memalloc = getAllocator(hnd->flags);
291 err = memalloc->clean_buffer((void*)hnd->base,