Home
last modified time | relevance | path

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

12345678910>>...20

/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/valgrind/helgrind/tests/
Dhg02_deadlock.c9 pthread_mutex_lock(&m1); in t1()
10 pthread_mutex_lock(&m2); in t1()
19 pthread_mutex_lock(&m2); in t2()
20 pthread_mutex_lock(&m1); in t2()
32 pthread_mutex_lock(&m1); in main()
Dtc15_laog_lockdel.c27 r = pthread_mutex_lock( mx1 ); assert(r==0); in main()
28 r = pthread_mutex_lock( mx2 ); assert(r==0); in main()
35 r = pthread_mutex_lock( mx2 ); assert(r==0); /* error */ in main()
36 r = pthread_mutex_lock( mx1 ); assert(r==0); in main()
52 r = pthread_mutex_lock( mx2 ); assert(r==0); in main()
53 r = pthread_mutex_lock( mx1 ); assert(r==0); /* no error */ in main()
Dhg02_deadlock.stderr.exp15 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
22 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
29 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
36 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
43 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
49 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
Dtc13_laog1.c17 r = pthread_mutex_lock( &mx1 ); assert(r==0); in main()
18 r = pthread_mutex_lock( &mx2 ); assert(r==0); in main()
23 r = pthread_mutex_lock( &mx2 ); assert(r==0); /* error */ in main()
24 r = pthread_mutex_lock( &mx1 ); assert(r==0); in main()
Dtc22_exit_w_lock.c18 int r= pthread_mutex_lock( &mxC1 ); assert(!r); in child_fn1()
26 r= pthread_mutex_lock( &mxC2 ); assert(!r); in child_fn2()
27 r= pthread_mutex_lock( &mxC2b ); assert(!r); in child_fn2()
46 r= pthread_mutex_lock( &mxP ); in main()
Dtc13_laog1.stderr.exp12 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
17 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
22 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
27 by 0x........: pthread_mutex_lock (hg_intercepts.c:...)
Dtc04_free_lock.c22 pthread_mutex_lock( &xx->lock ); in main()
38 pthread_mutex_lock( &mx ); in bar()
47 pthread_mutex_lock( &mx ); in foo()
Dlocked_vs_unlocked2.c27 r= pthread_mutex_lock(&mx1a); assert(!r); in child_fn1()
28 r= pthread_mutex_lock(&mx1b); assert(!r); in child_fn1()
43 r= pthread_mutex_lock(&mx2a); assert(!r); in child_fn2()
44 r= pthread_mutex_lock(&mx2b); assert(!r); in child_fn2()
/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/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/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()
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()
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()
/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/fio/
Dworkqueue.c90 pthread_mutex_lock(&wq->flush_lock); in workqueue_flush()
108 pthread_mutex_lock(&sw->lock); in workqueue_enqueue()
148 pthread_mutex_lock(&sw->lock); in worker_thread()
154 pthread_mutex_lock(&wq->flush_lock); in worker_thread()
162 pthread_mutex_lock(&sw->lock); in worker_thread()
173 pthread_mutex_lock(&sw->lock); in worker_thread()
243 pthread_mutex_lock(&sw->lock); in workqueue_exit()
255 pthread_mutex_lock(&sw->lock); in workqueue_exit()
294 pthread_mutex_lock(&sw->lock); in start_worker()
345 pthread_mutex_lock(&wq->flush_lock); in workqueue_init()
[all …]
/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()
/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/valgrind/drd/tests/
Dpth_cancel_locked.c17 pthread_mutex_lock(&s_mutex2); in thread()
19 pthread_mutex_lock(&s_mutex1); in thread()
35 pthread_mutex_lock(&s_mutex1); in main()
/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()

12345678910>>...20