Searched refs:usbi_mutex_t (Results 1 – 8 of 8) sorted by relevance
27 #define usbi_mutex_t HANDLE macro56 int usbi_mutex_init(usbi_mutex_t *mutex);57 int usbi_mutex_lock(usbi_mutex_t *mutex);58 int usbi_mutex_unlock(usbi_mutex_t *mutex);59 int usbi_mutex_trylock(usbi_mutex_t *mutex);60 int usbi_mutex_destroy(usbi_mutex_t *mutex);63 int usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex);65 usbi_mutex_t *mutex, const struct timeval *tv);
51 int usbi_mutex_init(usbi_mutex_t *mutex) in usbi_mutex_init()61 int usbi_mutex_lock(usbi_mutex_t *mutex) in usbi_mutex_lock()75 int usbi_mutex_unlock(usbi_mutex_t *mutex) in usbi_mutex_unlock()85 int usbi_mutex_trylock(usbi_mutex_t *mutex) in usbi_mutex_trylock()101 int usbi_mutex_destroy(usbi_mutex_t *mutex) in usbi_mutex_destroy()156 usbi_mutex_t *mutex, DWORD timeout_ms) in usbi_cond_intwait()207 int usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex) in usbi_cond_wait()213 usbi_mutex_t *mutex, const struct timeval *tv) in usbi_cond_timedwait()
34 #define usbi_mutex_t pthread_mutex_t macro
129 static usbi_mutex_t htab_write_mutex = NULL;
74 static usbi_mutex_t darwin_cached_devices_lock = PTHREAD_MUTEX_INITIALIZER;
112 static usbi_mutex_t autoclaim_lock;
264 usbi_mutex_t usb_devs_lock;269 usbi_mutex_t open_devs_lock;273 usbi_mutex_t hotplug_cbs_lock;282 usbi_mutex_t flying_transfers_lock;290 usbi_mutex_t events_lock;301 usbi_mutex_t event_waiters_lock;305 usbi_mutex_t event_data_lock;368 usbi_mutex_t lock;401 usbi_mutex_t lock;457 usbi_mutex_t lock;