Home
last modified time | relevance | path

Searched refs:usbi_mutex_lock (Results 1 – 13 of 13) sorted by relevance

/external/libusb/libusb/
Dio.c1465 usbi_mutex_lock(&ctx->flying_transfers_lock); in remove_from_flying_list()
1531 usbi_mutex_lock(&ctx->flying_transfers_lock); in libusb_submit_transfer()
1532 usbi_mutex_lock(&itransfer->lock); in libusb_submit_transfer()
1588 usbi_mutex_lock(&itransfer->lock); in libusb_cancel_transfer()
1672 usbi_mutex_lock(&itransfer->lock); in usbi_handle_transfer_completion()
1712 usbi_mutex_lock(&ctx->flying_transfers_lock); in usbi_handle_transfer_cancellation()
1737 usbi_mutex_lock(&ctx->event_data_lock); in usbi_signal_transfer_completion()
1775 usbi_mutex_lock(&ctx->event_data_lock); in libusb_try_lock_events()
1812 usbi_mutex_lock(&ctx->events_lock); in libusb_lock_events()
1833 usbi_mutex_lock(&ctx->event_waiters_lock); in libusb_unlock_events()
[all …]
Dhotplug.c185 usbi_mutex_lock(&ctx->hotplug_cbs_lock); in usbi_hotplug_match()
195 usbi_mutex_lock(&ctx->hotplug_cbs_lock); in usbi_hotplug_match()
222 usbi_mutex_lock(&ctx->event_data_lock); in usbi_hotplug_notification()
277 usbi_mutex_lock(&ctx->hotplug_cbs_lock); in libusb_hotplug_register_callback()
334 usbi_mutex_lock(&ctx->hotplug_cbs_lock); in libusb_hotplug_deregister_callback()
347 usbi_mutex_lock(&ctx->event_data_lock); in libusb_hotplug_deregister_callback()
372 usbi_mutex_lock(&ctx->hotplug_cbs_lock); in libusb_hotplug_get_user_data()
387 usbi_mutex_lock(&ctx->hotplug_cbs_lock); in usbi_hotplug_deregister()
Dcore.c727 usbi_mutex_lock(&dev->ctx->usb_devs_lock); in usbi_connect_device()
743 usbi_mutex_lock(&dev->lock); in usbi_disconnect_device()
747 usbi_mutex_lock(&ctx->usb_devs_lock); in usbi_disconnect_device()
793 usbi_mutex_lock(&ctx->usb_devs_lock); in usbi_get_device_by_session_id()
847 usbi_mutex_lock(&ctx->usb_devs_lock); in libusb_get_device_list()
1176 usbi_mutex_lock(&dev->lock); in libusb_ref_device()
1194 usbi_mutex_lock(&dev->lock); in libusb_unref_device()
1275 usbi_mutex_lock(&ctx->open_devs_lock); in libusb_wrap_sys_device()
1332 usbi_mutex_lock(&ctx->open_devs_lock); in libusb_open()
1399 usbi_mutex_lock(&ctx->flying_transfers_lock); in do_close()
[all …]
/external/libusb/libusb/os/
Dhaiku_pollfs.cpp99 usbi_mutex_lock(&active_contexts_lock); in WatchedEntry()
174 usbi_mutex_lock(&active_contexts_lock); in ~WatchedEntry()
Dthreads_posix.h44 static inline void usbi_mutex_lock(usbi_mutex_t *mutex) in usbi_mutex_lock() function
Dthreads_windows.h43 static inline void usbi_mutex_lock(usbi_mutex_t *mutex) in usbi_mutex_lock() function
Dhaiku_usb_raw.cpp161 usbi_mutex_lock(&itransfer->lock); in haiku_handle_transfer_completion()
Devents_posix.c268 usbi_mutex_lock(&ctx->event_data_lock); in usbi_wait_for_events()
Dlinux_usbfs.c1047 usbi_mutex_lock(&ctx->usb_devs_lock); in linux_get_parent_info()
1564 usbi_mutex_lock(&handle->lock); in op_reset_device()
2320 usbi_mutex_lock(&itransfer->lock); in handle_bulk_completion()
2461 usbi_mutex_lock(&itransfer->lock); in handle_iso_completion()
2576 usbi_mutex_lock(&itransfer->lock); in handle_control_completion()
2677 usbi_mutex_lock(&ctx->open_devs_lock); in op_handle_events()
Ddarwin_usb.c330 usbi_mutex_lock(&active_contexts_lock); in darwin_devices_attached()
364 usbi_mutex_lock(&active_contexts_lock); in darwin_devices_detached()
377 usbi_mutex_lock(&darwin_cached_devices_lock); in darwin_devices_detached()
1008 usbi_mutex_lock(&darwin_cached_devices_lock); in darwin_get_cached_device()
1760 usbi_mutex_lock(&darwin_cached_devices_lock); in darwin_destroy_device()
Dwindows_common.c219 usbi_mutex_lock(&htab_mutex); in htab_hash()
Dsunos_usb.c1338 usbi_mutex_lock(&LIBUSB_TRANSFER_TO_USBI_TRANSFER(transfer)->lock); in solaris_submit_ctrl_on_default()
Dwindows_winusb.c586 usbi_mutex_lock(&autoclaim_lock); in auto_claim()
623 usbi_mutex_lock(&autoclaim_lock); in auto_release()