Lines Matching refs:base
79 hnd->base = 0; in gralloc_map()
83 hnd->base = uint64_t(mappedAddress) + hnd->offset; in gralloc_map()
113 void* base = (void*)hnd->base; in gralloc_unmap() local
117 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap()
119 ALOGE("Could not unmap memory at address %p", (void*)base); in gralloc_unmap()
121 base = (void*)hnd->base_metadata; in gralloc_unmap()
123 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap()
125 ALOGE("Could not unmap memory at address %p", (void*)base); in gralloc_unmap()
131 hnd->base = 0; in gralloc_unmap()
159 hnd->base = 0; in gralloc_register_buffer()
185 if (hnd->base != 0) { in gralloc_unregister_buffer()
188 hnd->base = 0; in gralloc_unregister_buffer()
205 if (hnd->base != 0) { in terminateBuffer()
232 if (hnd->base == 0) { in gralloc_map_and_invalidate()
248 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_map_and_invalidate()
271 *vaddr = (void*)hnd->base; in gralloc_lock()
300 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()
326 void* base = va_arg(args, void*); in gralloc_perform() local
340 hnd->base = uint64_t(base) + offset; in gralloc_perform()