Lines Matching refs:handle

56                        buffer_handle_t handle)  in gralloc_map()  argument
61 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map()
71 handle, hnd->fd, strerror(errno)); in gralloc_map()
83 handle, hnd->fd_metadata, strerror(errno)); in gralloc_map()
93 buffer_handle_t handle) in gralloc_unmap() argument
98 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unmap()
131 buffer_handle_t handle) in gralloc_register_buffer() argument
133 if (!module || private_handle_t::validate(handle) < 0) in gralloc_register_buffer()
145 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_register_buffer()
148 int err = gralloc_map(module, handle); in gralloc_register_buffer()
158 buffer_handle_t handle) in gralloc_unregister_buffer() argument
160 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unregister_buffer()
169 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unregister_buffer()
172 gralloc_unmap(module, handle); in gralloc_unregister_buffer()
208 buffer_handle_t handle, int usage) in gralloc_map_and_invalidate() argument
210 if (!module || private_handle_t::validate(handle) < 0) in gralloc_map_and_invalidate()
214 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_map_and_invalidate()
220 err = gralloc_map(module, handle); in gralloc_map_and_invalidate()
242 buffer_handle_t handle, int usage, in gralloc_lock() argument
246 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock()
247 int err = gralloc_map_and_invalidate(module, handle, usage); in gralloc_lock()
254 buffer_handle_t handle, int usage, in gralloc_lock_ycbcr() argument
258 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_lock_ycbcr()
259 int err = gralloc_map_and_invalidate(module, handle, usage); in gralloc_lock_ycbcr()
266 buffer_handle_t handle) in gralloc_unlock() argument
268 if (!module || private_handle_t::validate(handle) < 0) in gralloc_unlock()
272 private_handle_t* hnd = (private_handle_t*)handle; in gralloc_unlock()
317 native_handle_t** handle = va_arg(args, native_handle_t**); in gralloc_perform() local
330 *handle = (native_handle_t *)hnd; in gralloc_perform()