/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/ |
D | It_posix_mutex_077.c | 50 ret = pthread_mutex_lock(&g_mutex077); in TaskF01() 68 ret = pthread_mutex_lock(NULL); in Testcase() 71 ret = pthread_mutex_lock(&g_mutex077); in Testcase() 83 ret = pthread_mutex_lock(&g_mutex077); in Testcase() 101 ret = pthread_mutex_lock(&g_mutex077); in Testcase() 104 ret = pthread_mutex_lock(&g_mutex077); in Testcase() 107 ret = pthread_mutex_lock(&g_mutex077); in Testcase()
|
D | It_posix_mutex_099.c | 52 ret = pthread_mutex_lock(&g_mutex1099); in TaskF01() 55 ret = pthread_mutex_lock(&g_mutex1099); in TaskF01() 73 ret = pthread_mutex_lock(&g_mutex2099); in TaskF02() 76 ret = pthread_mutex_lock(&g_mutex2099); in TaskF02()
|
D | It_posix_mutex_095.c | 49 ret = pthread_mutex_lock(&mutex); in Testcase() 55 ret = pthread_mutex_lock(&mutex); in Testcase() 58 ret = pthread_mutex_lock(&mutex); in Testcase()
|
D | It_posix_mutex_038.c | 56 if ((ret = pthread_mutex_lock(&g_mutex038))) { in TaskF01() 98 if ((ret = pthread_mutex_lock(&g_mutex038))) { in Testcase() 102 if ((ret = pthread_mutex_lock(&g_mutex038))) { in Testcase() 136 if ((ret = pthread_mutex_lock(&g_mutex038))) { in Testcase()
|
D | It_posix_mutex_093.c | 52 ret = pthread_mutex_lock(&g_mutex1093); in TaskF01() 55 ret = pthread_mutex_lock(&g_mutex1093); in TaskF01() 76 ret = pthread_mutex_lock(&g_mutex2093); in TaskF02() 79 ret = pthread_mutex_lock(&g_mutex2093); in TaskF02()
|
D | It_posix_mutex_087.c | 50 ret = pthread_mutex_lock(&mutex); in Testcase() 56 ret = pthread_mutex_lock(&mutex); in Testcase() 59 ret = pthread_mutex_lock(&mutex); in Testcase()
|
D | It_posix_mutex_050.c | 47 ret = pthread_mutex_lock(&g_mutex050); in TaskF01() 50 ret = pthread_mutex_lock(&g_mutex050); in TaskF01() 71 ret = pthread_mutex_lock(&g_mutex050); in Testcase()
|
D | It_posix_mutex_076.c | 46 ret = pthread_mutex_lock(&g_mutex1076); in TaskF01() 73 ret = pthread_mutex_lock(&g_mutex1076); in Testcase() 76 ret = pthread_mutex_lock(&g_mutex1076); in Testcase()
|
/kernel/linux/linux-5.10/tools/include/linux/ |
D | spinlock.h | 13 #define spin_lock(x) pthread_mutex_lock(x) 15 #define spin_lock_bh(x) pthread_mutex_lock(x) 17 #define spin_lock_irq(x) pthread_mutex_lock(x) 19 #define spin_lock_irqsave(x, f) (void)f, pthread_mutex_lock(x) 27 pthread_mutex_lock(mutex); in arch_spin_lock()
|
/kernel/linux/linux-5.10/tools/lib/lockdep/tests/ |
D | ABBA_2threads.c | 13 pthread_mutex_lock(&b); in ba_lock() 18 pthread_mutex_lock(&a); in ba_lock() 34 pthread_mutex_lock(&a); in main() 39 pthread_mutex_lock(&b); in main()
|
D | ABA.c | 11 pthread_mutex_lock(&a); in main() 12 pthread_mutex_lock(&b); in main() 13 pthread_mutex_lock(&a); in main()
|
D | AA.c | 10 pthread_mutex_lock(&a); in main() 11 pthread_mutex_lock(&a); in main()
|
D | common.h | 7 pthread_mutex_lock(&(a)); \ 8 pthread_mutex_lock(&(b)); \
|
/kernel/linux/linux-5.10/tools/testing/selftests/membarrier/ |
D | membarrier_test_multi_thread.c | 20 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_membarrier_thread() 25 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_membarrier_thread() 42 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_mt_membarrier() 52 pthread_mutex_lock(&test_membarrier_thread_mutex); in test_mt_membarrier()
|
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/ |
D | pthread_mutex_test_009.cpp | 44 ret = pthread_mutex_lock(&g_muxLock); in TaskF01() 70 ret = pthread_mutex_lock(&g_muxLock); in TestCase() 94 ret = pthread_mutex_lock(&g_muxLock); in TestCase() 97 ret = pthread_mutex_lock(&g_muxLock); in TestCase() 100 ret = pthread_mutex_lock(&g_muxLock); in TestCase()
|
D | pthread_mutex_test_004.cpp | 59 ret = pthread_mutex_lock(&g_muxLock003); in ThreadFuncTest3() 84 ret = pthread_mutex_lock(&g_muxLock002); in ThreadFuncTest2() 110 ret = pthread_mutex_lock(&g_muxLock001); in ThreadFuncTest1() 141 ret = pthread_mutex_lock(&g_muxLock001); in Testcase() 144 ret = pthread_mutex_lock(&g_muxLock002); in Testcase() 147 ret = pthread_mutex_lock(&g_muxLock003); in Testcase()
|
D | pthread_mutex_test_005.cpp | 59 ret = pthread_mutex_lock(&g_muxLock003); in ThreadFuncTest3() 85 ret = pthread_mutex_lock(&g_muxLock002); in ThreadFuncTest2() 111 ret = pthread_mutex_lock(&g_muxLock001); in ThreadFuncTest1() 143 ret = pthread_mutex_lock(&g_muxLock001); in Testcase() 146 ret = pthread_mutex_lock(&g_muxLock002); in Testcase() 149 ret = pthread_mutex_lock(&g_muxLock003); in Testcase()
|
D | pthread_mutex_test_006.cpp | 59 ret = pthread_mutex_lock(&g_mutexLock003); in ThreadFuncTest3() 84 ret = pthread_mutex_lock(&g_mutexLock002); in ThreadFuncTest2() 109 ret = pthread_mutex_lock(&g_mutexLock001); in ThreadFuncTest1() 139 ret = pthread_mutex_lock(&g_mutexLock001); in Testcase() 142 ret = pthread_mutex_lock(&g_mutexLock002); in Testcase() 145 ret = pthread_mutex_lock(&g_mutexLock003); in Testcase()
|
D | pthread_mutex_test_012.cpp | 46 ret = pthread_mutex_lock(&mutex); in TestCase() 52 ret = pthread_mutex_lock(&mutex); in TestCase() 55 ret = pthread_mutex_lock(&mutex); in TestCase()
|
D | pthread_mutex_test_015.cpp | 46 ret = pthread_mutex_lock(&mutex); in TestCase() 52 ret = pthread_mutex_lock(&mutex); in TestCase() 55 ret = pthread_mutex_lock(&mutex); in TestCase()
|
D | pthread_mutex_test_010.cpp | 40 ret = pthread_mutex_lock(&g_mutexLock001); in TaskF01() 69 ret = pthread_mutex_lock(&g_mutexLock001); in TestCase() 72 ret = pthread_mutex_lock(&g_mutexLock001); in TestCase()
|
D | pthread_mutex_test_017.cpp | 47 ret = pthread_mutex_lock(&g_mutexLock); in ThreadFuncTest3() 63 ret = pthread_mutex_lock(&g_mutexLock); in ThreadFuncTest2() 90 ret = pthread_mutex_lock(&g_mutexLock); in TestCase()
|
/kernel/liteos_a/compat/posix/src/ |
D | pthread_cond.c | 137 (VOID)pthread_mutex_lock(cond->mutex); in pthread_cond_init() 166 (VOID)pthread_mutex_lock(cond->mutex); in pthread_cond_broadcast() 189 (VOID)pthread_mutex_lock(cond->mutex); in pthread_cond_signal() 221 (VOID)pthread_mutex_lock(cond->mutex); in PthreadCountSub() 269 (VOID)pthread_mutex_lock(cond->mutex); in pthread_cond_timedwait() 291 if (pthread_mutex_lock(mutex) != ENOERR) { in pthread_cond_timedwait() 317 (VOID)pthread_mutex_lock(cond->mutex); in pthread_cond_wait() 330 if (pthread_mutex_lock(mutex) != ENOERR) { in pthread_cond_wait()
|
D | pthread.c | 288 if (pthread_mutex_lock(&g_pthreadsDataMutex) != ENOERR) { in pthread_exit() 367 (VOID)pthread_mutex_lock(&g_pthreadsDataMutex); in pthread_join() 383 (VOID)pthread_mutex_lock(&g_pthreadsDataMutex); in pthread_join() 423 if (pthread_mutex_lock(&g_pthreadsDataMutex) != ENOERR) { in pthread_detach() 474 ret = pthread_mutex_lock(&g_pthreadsDataMutex); in pthread_setschedparam() 510 ret = pthread_mutex_lock(&g_pthreadsDataMutex); in pthread_getschedparam() 544 ret = pthread_mutex_lock(&g_pthreadsDataMutex); in pthread_once() 603 ret = pthread_mutex_lock(&g_pthreadsDataMutex); in pthread_setcancelstate() 637 ret = pthread_mutex_lock(&g_pthreadsDataMutex); in pthread_setcanceltype() 690 if (pthread_mutex_lock(&g_pthreadsDataMutex) != ENOERR) { in pthread_cancel()
|
/kernel/liteos_m/kal/posix/src/ |
D | pthread_cond.c | 161 (VOID)pthread_mutex_lock(cond->mutex); in pthread_cond_init() 194 (VOID)pthread_mutex_lock(cond->mutex); in PthreadCountSub() 210 (VOID)pthread_mutex_lock(cond->mutex); in pthread_cond_broadcast() 230 (VOID)pthread_mutex_lock(cond->mutex); in pthread_cond_signal() 289 (VOID)pthread_mutex_lock(cond->mutex); in pthread_cond_timedwait() 308 if (pthread_mutex_lock(mutex) != 0) { in pthread_cond_timedwait() 333 (VOID)pthread_mutex_lock(cond->mutex); in pthread_cond_wait() 341 if (pthread_mutex_lock(mutex) != 0) { in pthread_cond_wait()
|