Lines Matching refs:handle
58 buffer_handle_t handle) in gralloc_map() argument
60 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
70 handle, hnd->fd, strerror(errno)); in gralloc_map()
82 handle, hnd->fd_metadata, strerror(errno)); in gralloc_map()
92 buffer_handle_t handle) in gralloc_unmap() argument
94 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
127 buffer_handle_t handle) in gralloc_register_buffer() argument
129 if (private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
141 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
144 int err = gralloc_map(module, handle); in gralloc_register_buffer()
154 buffer_handle_t handle) in gralloc_unregister_buffer() argument
156 if (private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
165 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
168 gralloc_unmap(module, handle); in gralloc_unregister_buffer()
201 buffer_handle_t handle, int usage, in gralloc_map_and_invalidate() argument
204 if (private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
208 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate()
214 err = gralloc_map(module, handle); in gralloc_map_and_invalidate()
235 buffer_handle_t handle, int usage, in gralloc_lock() argument
239 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock()
240 int err = gralloc_map_and_invalidate(module, handle, usage, l, t, w, h); in gralloc_lock()
247 buffer_handle_t handle, int usage, in gralloc_lock_ycbcr() argument
251 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr()
252 int err = gralloc_map_and_invalidate(module, handle, usage, l, t, w, h); in gralloc_lock_ycbcr()
302 buffer_handle_t handle) in gralloc_unlock() argument
304 if (private_handle_t::validate(handle) < 0) in gralloc_unlock()
307 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock()
347 native_handle_t** handle = va_arg(args, native_handle_t**); in gralloc_perform() local
361 *handle = (native_handle_t *)hnd; in gralloc_perform()