Lines Matching refs:handle
37 int mali_gralloc_reference_retain(mali_gralloc_module const *module, buffer_handle_t handle) in mali_gralloc_reference_retain() argument
41 if (private_handle_t::validate(handle) < 0) in mali_gralloc_reference_retain()
43 AERR("Registering/Retaining invalid buffer %p, returning error", handle); in mali_gralloc_reference_retain()
47 private_handle_t *hnd = (private_handle_t *)handle; in mali_gralloc_reference_retain()
81 int mali_gralloc_reference_release(mali_gralloc_module const *module, buffer_handle_t handle, bool … in mali_gralloc_reference_release() argument
85 if (private_handle_t::validate(handle) < 0) in mali_gralloc_reference_release()
87 AERR("unregistering/releasing invalid buffer %p, returning error", handle); in mali_gralloc_reference_release()
91 private_handle_t *hnd = (private_handle_t *)handle; in mali_gralloc_reference_release()
96 AERR("Buffer %p should have already been released", handle); in mali_gralloc_reference_release()
116 mali_gralloc_buffer_free(handle); in mali_gralloc_reference_release()
117 delete handle; in mali_gralloc_reference_release()