/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/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/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/ltp/utils/ffsb-6.0-rc2/ |
D | rwlock.c | 40 pthread_mutex_lock(&rw->plock); in rw_lock_read() 55 pthread_mutex_lock(&rw->plock); in rw_lock_write() 72 pthread_mutex_lock(&rw->plock); in rw_unlock_read() 80 pthread_mutex_lock(&rw->plock); in rw_unlock_write() 89 pthread_mutex_lock(&rw->plock); in rw_trylock_read() 101 pthread_mutex_lock(&rw->plock); in rw_trylock_write()
|
/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/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.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()
|
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 | mutexset6.cc | 11 pthread_mutex_lock(&mtx1); in Thread1() 18 pthread_mutex_lock(&mtx1); in Thread2() 20 pthread_mutex_lock(&mtx2); in Thread2()
|
/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/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/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/webrtc/webrtc/system_wrappers/source/ |
D | event_timer_posix.cc | 63 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_)); in Set() 72 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_)); in Wait() 120 RTC_CHECK_EQ(0, pthread_mutex_lock(&mutex_)); in Wait() 138 pthread_mutex_lock(&mutex_); in StartTimer() 172 pthread_mutex_lock(&mutex_); in Process() 205 pthread_mutex_lock(&mutex_); in Process()
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
D | threadpool.c | 45 pthread_mutex_lock(&pool->m); in threadpool_worker() 69 pthread_mutex_lock(&pool->m); in threadpool_worker() 104 pthread_mutex_lock(&pool->m); in _mesa_threadpool_destroy() 153 pthread_mutex_lock(&pool->m); in _mesa_threadpool_queue_task() 182 pthread_mutex_lock(&pool->m); in _mesa_threadpool_wait_for_task()
|
/external/selinux/libsepol/cil/src/ |
D | cil_strpool.c | 74 pthread_mutex_lock(&cil_strpool_mutex); in cil_strpool_add() 84 pthread_mutex_lock(&cil_strpool_mutex); in cil_strpool_add() 102 pthread_mutex_lock(&cil_strpool_mutex); in cil_strpool_init() 117 pthread_mutex_lock(&cil_strpool_mutex); in cil_strpool_destroy()
|
/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()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/ |
D | s-c1.c | 111 ret = pthread_mutex_lock(&mtx[i]); in threaded() 114 ret = pthread_mutex_lock(&m); in threaded() 133 ret = pthread_mutex_lock(&m); in threaded() 226 ret = pthread_mutex_lock(&mtx[i]); in main() 259 ret = pthread_mutex_lock(&m); in main()
|
D | s-c2.c | 130 td->error = pthread_mutex_lock(&(td->mtx)); in sub() 156 ret = pthread_mutex_lock(&m); in threaded() 170 td->error = pthread_mutex_lock(&(td->mtx)); in threaded() 290 ret = pthread_mutex_lock(&m); in main() 330 ret = pthread_mutex_lock(&m); in main()
|
/external/mesa3d/src/util/ |
D | u_atomic.c | 42 pthread_mutex_lock(&sync_mutex); in __sync_add_and_fetch_8() 55 pthread_mutex_lock(&sync_mutex); in __sync_sub_and_fetch_8() 68 pthread_mutex_lock(&sync_mutex); in __sync_val_compare_and_swap_8()
|
/external/ltp/testcases/realtime/func/pi-tests/ |
D | testpi-4.c | 89 pthread_mutex_lock(glob_mutex); in func_nonrt() 97 pthread_mutex_lock(&cond_mutex); in func_nonrt() 120 pthread_mutex_lock(glob_mutex); in func_rt() 153 pthread_mutex_lock(&cond_mutex); in func_noise()
|
D | testpi-2.c | 90 pthread_mutex_lock(&glob_mutex); in func_lowrt() 97 pthread_mutex_lock(&cond_mutex); in func_lowrt() 120 pthread_mutex_lock(&glob_mutex); in func_rt() 154 pthread_mutex_lock(&cond_mutex); in func_noise()
|
D | testpi-1.c | 88 pthread_mutex_lock(&glob_mutex); in func_nonrt() 95 pthread_mutex_lock(&cond_mutex); in func_nonrt() 118 pthread_mutex_lock(&glob_mutex); in func_rt() 152 pthread_mutex_lock(&cond_mutex); in func_noise()
|
/external/libdrm/freedreno/ |
D | freedreno_bo.c | 96 pthread_mutex_lock(&table_lock); in fd_bo_new() 111 pthread_mutex_lock(&table_lock); in fd_bo_from_handle() 134 pthread_mutex_lock(&table_lock); in fd_bo_from_dmabuf() 166 pthread_mutex_lock(&table_lock); in fd_bo_from_name() 217 pthread_mutex_lock(&table_lock); in fd_bo_del() 266 pthread_mutex_lock(&table_lock); in fd_bo_get_name()
|