Lines Matching refs:buffer_handle
67 genlock_status_t perform_lock_unlock_operation(native_handle_t *buffer_handle,
71 if (private_handle_t::validate(buffer_handle)) {
77 (buffer_handle);
137 * handle are stored in the buffer_handle.
142 genlock_status_t genlock_create_lock(native_handle_t *buffer_handle)
146 if (private_handle_t::validate(buffer_handle)) {
151 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle);
197 genlock_status_t genlock_release_lock(native_handle_t *buffer_handle)
201 if (private_handle_t::validate(buffer_handle)) {
206 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle);
227 genlock_status_t genlock_attach_lock(native_handle_t *buffer_handle)
231 if (private_handle_t::validate(buffer_handle)) {
236 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle);
275 genlock_status_t genlock_lock_buffer(native_handle_t *buffer_handle,
292 ret = perform_lock_unlock_operation(buffer_handle, kLockType, timeout, 0);
304 genlock_status_t genlock_unlock_buffer(native_handle_t *buffer_handle)
310 ret = perform_lock_unlock_operation(buffer_handle, GENLOCK_UNLOCK, 0, 0);
322 genlock_status_t genlock_wait(native_handle_t *buffer_handle, int timeout) {
324 if (private_handle_t::validate(buffer_handle)) {
329 private_handle_t *hnd = reinterpret_cast<private_handle_t*>(buffer_handle);
359 genlock_status_t genlock_write_to_read(native_handle_t *buffer_handle,
368 ret = perform_lock_unlock_operation(buffer_handle, GENLOCK_RDLOCK, timeout,
372 ret = perform_lock_unlock_operation(buffer_handle, GENLOCK_RDLOCK,