/external/llvm-project/clang/test/Analysis/ |
D | pthreadlock.c | 18 pthread_mutex_lock(&mtx1); // no-warning in ok1() 30 pthread_mutex_lock(&mtx1); // no-warning in ok3() 32 pthread_mutex_lock(&mtx1); // no-warning in ok3() 39 pthread_mutex_lock(&mtx1); // no-warning in ok4() 41 pthread_mutex_lock(&mtx2); // no-warning in ok4() 68 pthread_mutex_lock(&mtx1); // no-warning in ok8() 69 pthread_mutex_lock(&mtx2); // no-warning in ok8() 86 pthread_mutex_lock(&mtx1); // no-warning in ok10() 122 pthread_mutex_lock(&mtx1); // no-warning in ok15() 168 pthread_mutex_lock(pmtx); // no-warning in ok21() [all …]
|
/external/clang/test/Analysis/ |
D | pthreadlock.c | 17 pthread_mutex_lock(&mtx1); // no-warning in ok1() 29 pthread_mutex_lock(&mtx1); // no-warning in ok3() 31 pthread_mutex_lock(&mtx1); // no-warning in ok3() 38 pthread_mutex_lock(&mtx1); // no-warning in ok4() 40 pthread_mutex_lock(&mtx2); // no-warning in ok4() 67 pthread_mutex_lock(&mtx1); // no-warning in ok8() 68 pthread_mutex_lock(&mtx2); // no-warning in ok8() 85 pthread_mutex_lock(&mtx1); // no-warning in ok10() 121 pthread_mutex_lock(&mtx1); // no-warning in ok15() 167 pthread_mutex_lock(pmtx); // no-warning in ok21() [all …]
|
/external/usrsctp/usrsctplib/netinet/ |
D | sctp_process_lock.h | 261 …KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(wq_addr_mtx)) == 0, ("%s: wq_addr_mtx already locked", … 266 (void)pthread_mutex_lock(&SCTP_BASE_INFO(wq_addr_mtx)) 279 …KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx)) == 0, ("%s: ipi_ep_mtx already locked", __… 281 …KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx)) == 0, ("%s: ipi_ep_mtx already locked", __… 288 (void)pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx)) 290 (void)pthread_mutex_lock(&SCTP_BASE_INFO(ipi_ep_mtx)) 305 …KASSERT(pthread_mutex_lock(&SCTP_BASE_INFO(ipi_pktlog_mtx)) == 0, ("%s: ipi_pktlog_mtx already loc… 310 (void)pthread_mutex_lock(&SCTP_BASE_INFO(ipi_pktlog_mtx)) 327 …KASSERT(pthread_mutex_lock(&(_inp)->inp_rdata_mtx) == 0, ("%s: inp_rdata_mtx already locked", __fu… 332 (void)pthread_mutex_lock(&(_inp)->inp_rdata_mtx) [all …]
|
/external/squashfs-tools/squashfs-tools/ |
D | caches-queues-lists.c | 69 pthread_mutex_lock(&queue->mutex); in queue_put() 86 pthread_mutex_lock(&queue->mutex); in queue_get() 105 pthread_mutex_lock(&queue->mutex); in queue_empty() 118 pthread_mutex_lock(&queue->mutex); in queue_flush() 129 pthread_mutex_lock(&queue->mutex); in dump_queue() 172 pthread_mutex_lock(&queue->mutex); in seq_queue_put() 198 pthread_mutex_lock(&queue->mutex); in seq_queue_get() 238 pthread_mutex_lock(&queue->mutex); in seq_queue_flush() 254 pthread_mutex_lock(&queue->mutex); in dump_seq_queue() 339 pthread_mutex_lock(&cache->mutex); in cache_lookup() [all …]
|
D | progressbar.c | 144 pthread_mutex_lock(&progress_mutex); in enable_progress_bar() 155 pthread_mutex_lock(&progress_mutex); in disable_progress_bar() 166 pthread_mutex_lock(&progress_mutex); in set_progressbar_state() 210 pthread_mutex_lock(&progress_mutex); in progress_thrd() 230 pthread_mutex_lock(&progress_mutex); in progressbar_error() 248 pthread_mutex_lock(&progress_mutex); in progressbar_info()
|
/external/libcap/tests/ |
D | psx_test.c | 48 pthread_mutex_lock(&mu); in say_hello() 54 pthread_mutex_lock(&mu); in say_hello() 66 pthread_mutex_lock(&mu); in say_hello() 89 pthread_mutex_lock(&mu); in main() 97 pthread_mutex_lock(&mu); in main() 104 pthread_mutex_lock(&mu); in main() 125 pthread_mutex_lock(&mu); in main()
|
D | exploit.c | 42 pthread_mutex_lock(&mu); in handler() 66 pthread_mutex_lock(&mu); in victim() 72 pthread_mutex_lock(&mu); in victim() 95 pthread_mutex_lock(&mu); in main()
|
/external/stressapptest/src/ |
D | disk_blocks.cc | 35 pthread_mutex_lock(&data_mutex_); in set_initialized() 41 pthread_mutex_lock(&data_mutex_); in initialized() 75 pthread_mutex_lock(&data_mutex_); in Size() 87 pthread_mutex_lock(&data_mutex_); in InsertOnStructure() 113 pthread_mutex_lock(&data_mutex_); in RemoveBlock() 135 pthread_mutex_lock(&data_mutex_); in ReleaseBlock() 155 pthread_mutex_lock(&data_mutex_); in GetRandomBlock() 186 pthread_mutex_lock(¶meter_mutex_); in SetParameters() 204 pthread_mutex_lock(¶meter_mutex_); in GetUnusedBlock() 236 pthread_mutex_lock(&data_mutex_); in GetUnusedBlock()
|
/external/compiler-rt/test/tsan/ |
D | mutex_cycle2.c | 18 pthread_mutex_lock(&mu1); in main() 19 pthread_mutex_lock(&mu2); in main() 24 pthread_mutex_lock(&mu2); in main() 25 pthread_mutex_lock(&mu1); in main()
|
D | mutex_cycle_long.c | 21 pthread_mutex_lock(&m[i]); in main() 22 pthread_mutex_lock(&m[i + 1]); in main() 28 pthread_mutex_lock(&m[num_mutexes - 1]); in main() 29 pthread_mutex_lock(&m[0]); in main()
|
D | must_deadlock.cc | 17 pthread_mutex_lock(&mu2); in Thread() 19 pthread_mutex_lock(&mu1); in Thread() 38 pthread_mutex_lock(&mu1); in main() 40 pthread_mutex_lock(&mu2); in main()
|
/external/llvm-project/compiler-rt/test/tsan/ |
D | mutex_cycle2.c | 18 pthread_mutex_lock(&mu1); in main() 19 pthread_mutex_lock(&mu2); in main() 24 pthread_mutex_lock(&mu2); in main() 25 pthread_mutex_lock(&mu1); in main()
|
D | must_deadlock.cpp | 17 pthread_mutex_lock(&mu2); in Thread() 19 pthread_mutex_lock(&mu1); in Thread() 38 pthread_mutex_lock(&mu1); in main() 40 pthread_mutex_lock(&mu2); in main()
|
D | mutex_cycle_long.c | 21 pthread_mutex_lock(&m[i]); in main() 22 pthread_mutex_lock(&m[i + 1]); in main() 28 pthread_mutex_lock(&m[num_mutexes - 1]); in main() 29 pthread_mutex_lock(&m[0]); in main()
|
/external/ltp/testcases/realtime/stress/pi-tests/ |
D | lookup_pi_state.c | 79 pthread_mutex_lock(&MS); in slave_thread() 83 pthread_mutex_lock(&MM); // make sure the master thread is waiting in slave_thread() 112 pthread_mutex_lock(&MM); in master_thread() 122 pthread_mutex_lock(&MS); in master_thread() 151 pthread_mutex_lock(&MS); in master_thread() 161 pthread_mutex_lock(&MT); in master_thread()
|
/external/linux-kselftest/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()
|
/external/ltp/testcases/realtime/func/prio-preempt/ |
D | prio-preempt.c | 147 pthread_mutex_lock(&bmutex); in busy_thread() 174 pthread_mutex_lock(&bmutex); in worker_thread() 179 rc = pthread_mutex_lock(&mutex[tid]); in worker_thread() 191 pthread_mutex_lock(&bmutex); in worker_thread() 198 rc = pthread_mutex_lock(&mutex[tid + 1]); in worker_thread() 224 pthread_mutex_lock(&bmutex); in worker_thread() 279 pthread_mutex_lock(&mutex[0]); in master_thread()
|
/external/angle/util/android/third_party/ |
D | android_native_app_glue.c | 40 pthread_mutex_lock(&android_app->mutex); in free_saved_state() 93 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd() 110 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd() 126 pthread_mutex_lock(&android_app->mutex); in android_app_pre_exec_cmd() 150 pthread_mutex_lock(&android_app->mutex); in android_app_post_exec_cmd() 158 pthread_mutex_lock(&android_app->mutex); in android_app_post_exec_cmd() 177 pthread_mutex_lock(&android_app->mutex); in android_app_destroy() 228 pthread_mutex_lock(&android_app->mutex); in android_app_entry() 272 pthread_mutex_lock(&android_app->mutex); in android_app_create() 288 pthread_mutex_lock(&android_app->mutex); in android_app_set_input() [all …]
|
/external/llvm-project/compiler-rt/test/tsan/Darwin/ |
D | deadlock.mm | 19 pthread_mutex_lock(&m1); 20 pthread_mutex_lock(&m2); 29 pthread_mutex_lock(&m2); 30 pthread_mutex_lock(&m1);
|
/external/ltp/testcases/realtime/perf/latency/ |
D | pthread_cond_latency.c | 93 pthread_mutex_lock(&child_mutex); in childfunc() 147 pthread_mutex_lock(&child_mutex); in test_signal() 152 pthread_mutex_lock(&child_mutex); in test_signal() 169 pthread_mutex_lock(&child_mutex); in test_signal() 183 pthread_mutex_lock(&child_mutex); in test_signal()
|
D | pthread_cond_many.c | 86 pthread_mutex_lock(&child_mutex); in childfunc() 154 pthread_mutex_lock(&child_mutex); in wake_child() 158 pthread_mutex_lock(&child_mutex); in wake_child() 175 pthread_mutex_lock(&child_mutex); in wake_child() 214 pthread_mutex_lock(&child_mutex); in test_signal() 221 pthread_mutex_lock(&child_mutex); in test_signal()
|
/external/swiftshader/src/Vulkan/ |
D | VkSemaphoreExternalLinux.hpp | 72 pthread_mutex_lock(&mutex); in addRef() 80 pthread_mutex_lock(&mutex); in deref() 88 pthread_mutex_lock(&mutex); in wait() 106 pthread_mutex_lock(&mutex); in tryWait() 118 pthread_mutex_lock(&mutex); in signal()
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_posix.cc | 33 EXPECT_EQ(pthread_mutex_lock(k->mtx), 0); in thread_secific_dtor() 109 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in cond_thread() 115 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in cond_thread() 120 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in cond_thread() 136 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in TEST() 143 EXPECT_EQ(pthread_mutex_lock(&ctx.m), 0); in TEST()
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | threadpool.c | 46 pthread_mutex_lock(&pool->m); in threadpool_worker() 68 pthread_mutex_lock(&pool->m); in threadpool_worker() 114 pthread_mutex_lock(&pool->m); in _mesa_threadpool_destroy() 163 pthread_mutex_lock(&pool->m); in _mesa_threadpool_queue_task() 192 pthread_mutex_lock(&pool->m); in _mesa_threadpool_wait_for_task()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/ |
D | 4-1.c | 110 if ((ret = pthread_mutex_lock(&mtx))) { in threaded() 172 if ((ret = pthread_mutex_lock(&mtx))) { in main() 176 if ((ret = pthread_mutex_lock(&mtx))) { in main() 231 if ((ret = pthread_mutex_lock(&mtx))) { in main()
|