Home
last modified time | relevance | path

Searched defs:mutex (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/kernel/common/linux/
Dmutex.h27 struct mutex { struct
40 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mu… argument
41 #define mutex_destroy(mutex) do { } while (0) argument
Dmutex-debug.h25 #define mutex_init(mutex) do { static struct lock_class_key __key; __mutex_init((mutex), #mu… argument
/bionic/libc/bionic/
Dpthread.c394 int pthread_mutex_init(pthread_mutex_t *mutex, in pthread_mutex_init()
442 _normal_lock(pthread_mutex_t* mutex, int shared) in _normal_lock()
482 _normal_unlock(pthread_mutex_t* mutex, int shared) in _normal_unlock()
546 _recursive_increment(pthread_mutex_t* mutex, int mvalue, int mtype) in _recursive_increment()
581 int pthread_mutex_lock_impl(pthread_mutex_t *mutex) in pthread_mutex_lock_impl()
661 int pthread_mutex_lock(pthread_mutex_t *mutex) in pthread_mutex_lock()
675 int pthread_mutex_unlock_impl(pthread_mutex_t *mutex) in pthread_mutex_unlock_impl()
731 int pthread_mutex_unlock(pthread_mutex_t *mutex) in pthread_mutex_unlock()
742 int pthread_mutex_trylock_impl(pthread_mutex_t *mutex) in pthread_mutex_trylock_impl()
786 int pthread_mutex_trylock(pthread_mutex_t *mutex) in pthread_mutex_trylock()
[all …]
Dpthread_debug.cpp212 pthread_mutex_t* mutex; member
240 static void initMutexInfo(MutexInfo* object, pthread_mutex_t* mutex) { in initMutexInfo()
274 static int pthread_mutex_lock_unchecked(pthread_mutex_t *mutex) { in pthread_mutex_lock_unchecked()
278 static int pthread_mutex_unlock_unchecked(pthread_mutex_t *mutex) { in pthread_mutex_unlock_unchecked()
593 static MutexInfo* get_mutex_info(pthread_mutex_t *mutex) in get_mutex_info()
689 extern "C" __LIBC_HIDDEN__ void pthread_debug_mutex_lock_check(pthread_mutex_t *mutex) in pthread_debug_mutex_lock_check()
706 extern "C" __LIBC_HIDDEN__ void pthread_debug_mutex_unlock_check(pthread_mutex_t *mutex) in pthread_debug_mutex_unlock_check()
Dpthread-timers.c109 pthread_mutex_t mutex; /* lock */ member
/bionic/libc/kernel/common/linux/mtd/
Dflashchip.h61 spinlock_t *mutex; member
/bionic/libc/upstream-dlmalloc/
Dmalloc.c2597 MLOCK_T mutex; /* locate lock among fields that rarely change */ member