Searched defs:mutex (Results 1 – 7 of 7) sorted by relevance
22 struct mutex { struct35 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mu… argument36 #define mutex_destroy(mutex) do { } while (0) argument
20 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mu… argument
847 int pthread_mutex_init(pthread_mutex_t *mutex, in pthread_mutex_init()881 int pthread_mutex_destroy(pthread_mutex_t *mutex) in pthread_mutex_destroy()909 _normal_lock(pthread_mutex_t* mutex) in _normal_lock()947 _normal_unlock(pthread_mutex_t* mutex) in _normal_unlock()1015 int pthread_mutex_lock(pthread_mutex_t *mutex) in pthread_mutex_lock()1094 int pthread_mutex_unlock(pthread_mutex_t *mutex) in pthread_mutex_unlock()1134 int pthread_mutex_trylock(pthread_mutex_t *mutex) in pthread_mutex_trylock()1225 int pthread_mutex_lock_timeout_np(pthread_mutex_t *mutex, unsigned msecs) in pthread_mutex_lock_timeout_np()1438 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in pthread_cond_wait()1444 pthread_mutex_t * mutex, in __pthread_cond_timedwait_relative()[all …]
105 pthread_mutex_t mutex; /* lock */ member
2108 MLOCK_T mutex; /* locate lock among fields that rarely change */ member
57 pthread_mutex_t mutex; member
52 spinlock_t *mutex; member