Home
last modified time | relevance | path

Searched refs:pthread_mutex_lock (Results 1 – 25 of 445) sorted by relevance

12345678910>>...18

/external/clang/test/Analysis/
Dpthreadlock.c17 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/
Dcaches-queues-lists.c69 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 …]
Dprogressbar.c144 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/
Ddisk_blocks.cc35 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(&parameter_mutex_); in SetParameters()
204 pthread_mutex_lock(&parameter_mutex_); in GetUnusedBlock()
236 pthread_mutex_lock(&data_mutex_); in GetUnusedBlock()
/external/ltp/utils/ffsb-6.0-rc2/
Drwlock.c40 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/
Dlookup_pi_state.c79 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/
Dmutex_cycle2.c18 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()
Dmust_deadlock.cc17 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()
Dmutex_cycle_long.c21 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()
Dmutexset6.cc11 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/
Dprio-preempt.c147 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/
Dpthread_cond_latency.c93 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()
Dpthread_cond_many.c86 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/
Dtsan_posix.cc33 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/
Devent_timer_posix.cc63 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/
Dthreadpool.c45 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/
Dcil_strpool.c74 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/
D4-1.c110 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/
Ds-c1.c111 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()
Ds-c2.c130 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/
Du_atomic.c42 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/
Dtestpi-4.c89 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()
Dtestpi-2.c90 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()
Dtestpi-1.c88 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/
Dfreedreno_bo.c96 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()

12345678910>>...18