/kernel/liteos_a/compat/posix/src/ |
D | pthread_mutex.c | 78 int pthread_mutex_setprioceiling(pthread_mutex_t *mutex, int prioceiling, int *oldPrioceiling) in pthread_mutex_setprioceiling() 83 int pthread_mutex_getprioceiling(const pthread_mutex_t *mutex, int *prioceiling) in pthread_mutex_getprioceiling() 99 int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexAttr) in pthread_mutex_init() 116 int pthread_mutex_destroy(pthread_mutex_t *mutex) in pthread_mutex_destroy() 122 int pthread_mutex_lock(pthread_mutex_t *mutex) in pthread_mutex_lock() 127 int pthread_mutex_trylock(pthread_mutex_t *mutex) in pthread_mutex_trylock() 132 int pthread_mutex_unlock(pthread_mutex_t *mutex) in pthread_mutex_unlock()
|
D | pthread_cond.c | 129 cond->mutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); in pthread_cond_init() 249 int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in pthread_cond_timedwait() 300 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in pthread_cond_wait()
|
/kernel/linux/linux-5.10/tools/lib/lockdep/ |
D | preload.c | 45 extern int __pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *attr); 46 extern int __pthread_mutex_lock(pthread_mutex_t *mutex); 47 extern int __pthread_mutex_trylock(pthread_mutex_t *mutex); 48 extern int __pthread_mutex_unlock(pthread_mutex_t *mutex); 49 extern int __pthread_mutex_destroy(pthread_mutex_t *mutex); 57 static int (*ll_pthread_mutex_init)(pthread_mutex_t *mutex, 59 static int (*ll_pthread_mutex_lock)(pthread_mutex_t *mutex) = __pthread_mutex_lock; 60 static int (*ll_pthread_mutex_trylock)(pthread_mutex_t *mutex) = __pthread_mutex_trylock; 61 static int (*ll_pthread_mutex_unlock)(pthread_mutex_t *mutex) = __pthread_mutex_unlock; 62 static int (*ll_pthread_mutex_destroy)(pthread_mutex_t *mutex) = __pthread_mutex_destroy; [all …]
|
/kernel/linux/linux-5.10/tools/include/linux/ |
D | spinlock.h | 8 #define spinlock_t pthread_mutex_t 9 #define DEFINE_SPINLOCK(x) pthread_mutex_t x = PTHREAD_MUTEX_INITIALIZER 10 #define __SPIN_LOCK_UNLOCKED(x) (pthread_mutex_t)PTHREAD_MUTEX_INITIALIZER 22 #define arch_spinlock_t pthread_mutex_t
|
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
D | _pthreadtypes.h | 36 #define pthread_mutex_t __pthread_mutex_t_discard macro 48 #undef pthread_mutex_t 81 …def struct { unsigned int magic; unsigned int handle; pthread_mutexattr_t stAttr;} pthread_mutex_t; typedef 99 pthread_mutex_t* mutex; /**< Mutex locker for condition variable protection */
|
/kernel/liteos_m/kal/posix/src/ |
D | pthread_mutex.c | 130 int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexAttr) in pthread_mutex_init() 165 int pthread_mutex_destroy(pthread_mutex_t *mutex) in pthread_mutex_destroy() 192 STATIC UINT32 MuxPreCheck(const pthread_mutex_t *mutex, const LosTaskCB *runTask) in MuxPreCheck() 214 STATIC UINT32 MuxPendForPosix(pthread_mutex_t *mutex, UINT32 timeout) in MuxPendForPosix() 276 STATIC UINT32 MuxPostForPosix(pthread_mutex_t *mutex) in MuxPostForPosix() 329 int pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *absTimeout) in pthread_mutex_timedlock() 380 int pthread_mutex_lock(pthread_mutex_t *mutex) in pthread_mutex_lock() 417 int pthread_mutex_trylock(pthread_mutex_t *mutex) in pthread_mutex_trylock() 450 int pthread_mutex_unlock(pthread_mutex_t *mutex) in pthread_mutex_unlock()
|
D | pthread_cond.c | 153 cond->mutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); in pthread_cond_init() 266 int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in pthread_cond_timedwait() 318 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in pthread_cond_wait()
|
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/ |
D | It_posix_mutex_022.c | 40 static pthread_mutex_t *g_mtx; 42 static pthread_mutex_t g_mtxNull; 43 static pthread_mutex_t g_mtxMacro = PTHREAD_MUTEX_INITIALIZER; 78 pthread_mutex_t *tabMutex[2]; in Testcase()
|
D | It_posix_mutex_024.c | 49 pthread_mutex_t mutex1 = TEST_MUTEX_INIT; in Testcase() 50 pthread_mutex_t mutex2 = TEST_MUTEX_INIT; in Testcase() 51 pthread_mutex_t mutex3 = PTHREAD_MUTEX_INITIALIZER; in Testcase()
|
D | It_posix_mutex_084.c | 43 pthread_mutex_t mutex1084 = TEST_MUTEX_INIT; in Testcase() 44 pthread_mutex_t mutex2084 = TEST_MUTEX_INIT; in Testcase()
|
/kernel/liteos_a/kernel/extended/lms/usr/ |
D | los_lms_pri.h | 96 extern pthread_mutex_t g_lmsMutex; 98 ATTRIBUTE_NO_SANITIZE_ADDRESS static inline void LmsLock(pthread_mutex_t *lock) in LmsLock() 103 ATTRIBUTE_NO_SANITIZE_ADDRESS static inline int LmsTrylock(pthread_mutex_t *lock) in LmsTrylock() 108 ATTRIBUTE_NO_SANITIZE_ADDRESS static inline void LmsUnlock(pthread_mutex_t *lock) in LmsUnlock()
|
/kernel/linux/linux-5.10/tools/lib/lockdep/tests/ |
D | ABBA_2threads.c | 5 pthread_mutex_t a = PTHREAD_MUTEX_INITIALIZER; 6 pthread_mutex_t b = PTHREAD_MUTEX_INITIALIZER;
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/full/ |
D | pthread_mutex_test_024.cpp | 34 static pthread_mutex_t g_muxLock001; 35 static pthread_mutex_t g_muxLock002; 36 static pthread_mutex_t g_muxLock003;
|
D | pthread_mutex_test_018.cpp | 33 static pthread_mutex_t g_muxLock001; 34 static pthread_mutex_t g_muxLock002; 35 static pthread_mutex_t g_muxLock003;
|
/kernel/liteos_a/apps/shell/include/ |
D | shell.h | 81 pthread_mutex_t keyMutex; 82 pthread_mutex_t historyMutex;
|
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/smoke/ |
D | It_posix_mutex_019.c | 40 static pthread_mutex_t *g_mtx; 42 static pthread_mutex_t g_mtxNull, g_mtxDef; 81 pthread_mutex_t *tabMutex[2]; in Testcase()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/ |
D | pthread_mutex_test_019.cpp | 33 static pthread_mutex_t g_muxLock001; 34 static pthread_mutex_t g_muxLock002; 35 static pthread_mutex_t g_muxLock003;
|
D | pthread_mutex_test_021.cpp | 33 static pthread_mutex_t g_muxLock001; 34 static pthread_mutex_t g_muxLock002; 35 static pthread_mutex_t g_muxLock003;
|
D | pthread_mutex_test_022.cpp | 33 static pthread_mutex_t g_muxLock001; 34 static pthread_mutex_t g_muxLock002; 35 static pthread_mutex_t g_muxLock003;
|
D | pthread_mutex_test_004.cpp | 33 static pthread_mutex_t g_muxLock001; 34 static pthread_mutex_t g_muxLock002; 35 static pthread_mutex_t g_muxLock003;
|
D | pthread_mutex_test_005.cpp | 33 static pthread_mutex_t g_muxLock001; 34 static pthread_mutex_t g_muxLock002; 35 static pthread_mutex_t g_muxLock003;
|
D | pthread_mutex_test_006.cpp | 33 static pthread_mutex_t g_mutexLock001; 34 static pthread_mutex_t g_mutexLock002; 35 static pthread_mutex_t g_mutexLock003;
|
D | pthread_mutex_test_020.cpp | 33 static pthread_mutex_t g_muxLock001; 34 static pthread_mutex_t g_muxLock002; 35 static pthread_mutex_t g_muxLock003;
|
D | pthread_mutex_test_007.cpp | 33 static pthread_mutex_t g_muxLock001; 34 static pthread_mutex_t g_muxLock002; 35 static pthread_mutex_t g_muxLock003;
|
/kernel/linux/linux-5.10/tools/lib/lockdep/include/liblockdep/ |
D | mutex.h | 9 pthread_mutex_t mutex; 64 #define pthread_mutex_t liblockdep_pthread_mutex_t macro
|