Searched refs:usbi_mutex_t (Results 1 – 8 of 8) sorted by relevance
39 typedef pthread_mutex_t usbi_mutex_t; typedef40 static inline void usbi_mutex_init(usbi_mutex_t *mutex) in usbi_mutex_init()44 static inline void usbi_mutex_lock(usbi_mutex_t *mutex) in usbi_mutex_lock()48 static inline void usbi_mutex_unlock(usbi_mutex_t *mutex) in usbi_mutex_unlock()52 static inline int usbi_mutex_trylock(usbi_mutex_t *mutex) in usbi_mutex_trylock()56 static inline void usbi_mutex_destroy(usbi_mutex_t *mutex) in usbi_mutex_destroy()63 static inline void usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex) in usbi_cond_wait()68 usbi_mutex_t *mutex, const struct timeval *tv);
38 typedef CRITICAL_SECTION usbi_mutex_t; typedef39 static inline void usbi_mutex_init(usbi_mutex_t *mutex) in usbi_mutex_init()43 static inline void usbi_mutex_lock(usbi_mutex_t *mutex) in usbi_mutex_lock()47 static inline void usbi_mutex_unlock(usbi_mutex_t *mutex) in usbi_mutex_unlock()51 static inline int usbi_mutex_trylock(usbi_mutex_t *mutex) in usbi_mutex_trylock()55 static inline void usbi_mutex_destroy(usbi_mutex_t *mutex) in usbi_mutex_destroy()74 static inline void usbi_cond_wait(usbi_cond_t *cond, usbi_mutex_t *mutex) in usbi_cond_wait()79 usbi_mutex_t *mutex, const struct timeval *tv);
25 usbi_mutex_t *mutex, const struct timeval *tv) in usbi_cond_timedwait()
139 static usbi_mutex_t htab_mutex;
68 static usbi_mutex_t darwin_cached_devices_lock = PTHREAD_MUTEX_INITIALIZER;
93 static usbi_mutex_t autoclaim_lock;
331 usbi_mutex_t usb_devs_lock;336 usbi_mutex_t open_devs_lock;341 usbi_mutex_t hotplug_cbs_lock;350 usbi_mutex_t flying_transfers_lock;360 usbi_mutex_t events_lock;371 usbi_mutex_t event_waiters_lock;375 usbi_mutex_t event_data_lock;455 usbi_mutex_t lock;475 usbi_mutex_t lock;546 usbi_mutex_t lock;