Searched refs:active_contexts_lock (Results 1 – 6 of 6) sorted by relevance
99 usbi_mutex_lock(&active_contexts_lock); in WatchedEntry()138 usbi_mutex_unlock(&active_contexts_lock); in WatchedEntry()169 usbi_mutex_lock(&active_contexts_lock); in ~WatchedEntry()179 usbi_mutex_static_unlock(&active_contexts_lock); in ~WatchedEntry()
1106 usbi_mutex_static_lock(&active_contexts_lock); in linux_hotplug_enumerate()1110 usbi_mutex_static_unlock(&active_contexts_lock); in linux_hotplug_enumerate()1119 usbi_mutex_static_lock(&active_contexts_lock); in linux_device_disconnected()1129 usbi_mutex_static_unlock(&active_contexts_lock); in linux_device_disconnected()
306 usbi_mutex_lock(&active_contexts_lock); in darwin_devices_attached()317 usbi_mutex_unlock(&active_contexts_lock); in darwin_devices_attached()329 usbi_mutex_lock(&active_contexts_lock); in darwin_devices_detached()362 usbi_mutex_unlock(&active_contexts_lock); in darwin_devices_detached()
81 usbi_mutex_static_t active_contexts_lock = USBI_MUTEX_INITIALIZER; variable2116 usbi_mutex_static_lock(&active_contexts_lock); in libusb_init()2122 usbi_mutex_static_unlock(&active_contexts_lock); in libusb_init()2150 usbi_mutex_static_lock(&active_contexts_lock); in libusb_init()2152 usbi_mutex_static_unlock(&active_contexts_lock); in libusb_init()2198 usbi_mutex_static_lock(&active_contexts_lock); in libusb_exit()2200 usbi_mutex_static_unlock(&active_contexts_lock); in libusb_exit()
1148 extern usbi_mutex_static_t active_contexts_lock;