Lines Matching refs:base
72 hnd->base = 0; in gralloc_map()
76 hnd->base = uint64_t(mappedAddress) + hnd->offset; in gralloc_map()
101 void* base = (void*)hnd->base; in gralloc_unmap() local
105 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap()
107 ALOGE("Could not unmap memory at address %p", base); in gralloc_unmap()
109 base = (void*)hnd->base_metadata; in gralloc_unmap()
111 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap()
113 ALOGE("Could not unmap memory at address %p", base); in gralloc_unmap()
119 hnd->base = 0; in gralloc_unmap()
146 hnd->base = 0; in gralloc_register_buffer()
171 if (hnd->base != 0) { in gralloc_unregister_buffer()
174 hnd->base = 0; in gralloc_unregister_buffer()
190 if (hnd->base != 0) { in terminateBuffer()
216 if (hnd->base == 0) { in gralloc_map_and_invalidate()
227 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_map_and_invalidate()
249 *vaddr = (void*)hnd->base; in gralloc_lock()
277 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()
286 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()
312 void* base = va_arg(args, void*); in gralloc_perform() local
325 hnd->base = uint64_t(base) + offset; in gralloc_perform()