Home
last modified time | relevance | path

Searched refs:pthread_mutex_unlock (Results 1 – 25 of 263) sorted by relevance

1234567891011

/external/clang/test/Analysis/
Dpthreadlock.c23 pthread_mutex_unlock(&mtx1); // no-warning in ok2()
30 pthread_mutex_unlock(&mtx1); // no-warning in ok3()
32 pthread_mutex_unlock(&mtx1); // no-warning in ok3()
39 pthread_mutex_unlock(&mtx1); // no-warning in ok4()
41 pthread_mutex_unlock(&mtx2); // no-warning in ok4()
48 pthread_mutex_unlock(&mtx1); // no-warning in ok5()
69 pthread_mutex_unlock(&mtx2); // no-warning in ok8()
70 pthread_mutex_unlock(&mtx1); // no-warning in ok8()
76 pthread_mutex_unlock(&mtx1); // no-warning in ok9()
78 pthread_mutex_unlock(&mtx1); // no-warning in ok9()
[all …]
/external/valgrind/drd/tests/
Dthread_name.stderr.exp7 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
16 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
25 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
34 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
43 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
52 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
61 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
70 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
79 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
88 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
Dtc09_bad_unlock.stderr.exp-s3903 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
13 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
23 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
37 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
46 at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
Dpth_cond_race.c49 pthread_mutex_unlock(&s_mutex); in main()
63 pthread_mutex_unlock(&s_mutex); in thread_func()
68 if (s_use_mutex) pthread_mutex_unlock(&s_mutex); in thread_func()
/external/squashfs-tools/squashfs-tools/
Dcaches-queues-lists.c68 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in queue_put()
85 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in queue_get()
104 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in queue_empty()
117 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in queue_flush()
128 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in dump_queue()
171 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in seq_queue_put()
197 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in seq_queue_get()
237 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in seq_queue_flush()
253 pthread_cleanup_push((void *) pthread_mutex_unlock, &queue->mutex); in dump_seq_queue()
338 pthread_cleanup_push((void *) pthread_mutex_unlock, &cache->mutex); in cache_lookup()
[all …]
Dprocess_fragments.c127 pthread_cleanup_push((void *) pthread_mutex_unlock, &dup_mutex); in get_fragment()
133 pthread_mutex_unlock(&dup_mutex); in get_fragment()
143 pthread_mutex_unlock(&dup_mutex); in get_fragment()
166 pthread_mutex_unlock(&dup_mutex); in get_fragment()
170 pthread_cleanup_push((void *) pthread_mutex_unlock, &fragment_mutex); in get_fragment()
228 pthread_cleanup_push((void *) pthread_mutex_unlock, &dup_mutex); in get_fragment_cksum()
242 pthread_mutex_unlock(&dup_mutex); in get_fragment_cksum()
271 pthread_cleanup_push((void *) pthread_mutex_unlock, &dup_mutex); in frag_thrd()
313 pthread_mutex_unlock(&dup_mutex); in frag_thrd()
326 pthread_mutex_unlock(&dup_mutex); in frag_thrd()
Dprogressbar.c143 pthread_cleanup_push((void *) pthread_mutex_unlock, &progress_mutex); in enable_progress_bar()
154 pthread_cleanup_push((void *) pthread_mutex_unlock, &progress_mutex); in disable_progress_bar()
165 pthread_cleanup_push((void *) pthread_mutex_unlock, &progress_mutex); in set_progressbar_state()
214 pthread_mutex_unlock(&progress_mutex); in progress_thrd()
229 pthread_cleanup_push((void *) pthread_mutex_unlock, &progress_mutex); in progressbar_error()
247 pthread_cleanup_push((void *) pthread_mutex_unlock, &progress_mutex); in progressbar_info()
/external/valgrind/helgrind/tests/
Dhg02_deadlock.c11 pthread_mutex_unlock(&m1); in t1()
12 pthread_mutex_unlock(&m2); in t1()
21 pthread_mutex_unlock(&m1); in t2()
22 pthread_mutex_unlock(&m2); in t2()
33 pthread_mutex_unlock(&m1); in main()
Dtc15_laog_lockdel.c30 r = pthread_mutex_unlock( mx1 ); assert(r==0); in main()
31 r = pthread_mutex_unlock( mx2 ); assert(r==0); in main()
38 r = pthread_mutex_unlock( mx1 ); assert(r==0); in main()
39 r = pthread_mutex_unlock( mx2 ); assert(r==0); in main()
55 r = pthread_mutex_unlock( mx1 ); assert(r==0); in main()
56 r = pthread_mutex_unlock( mx2 ); assert(r==0); in main()
Dtc09_bad_unlock.stderr.exp9 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
31 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
46 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
54 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
62 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
102 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
117 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
125 at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
Dtc09_bad_unlock.c11 pthread_mutex_unlock( (pthread_mutex_t*)arg ); /* ERROR */ in child_fn()
25 pthread_mutex_unlock( &mx1 ); in nearly_main()
27 pthread_mutex_unlock( &mx1 ); /* ERROR */ in nearly_main()
41 pthread_mutex_unlock( (pthread_mutex_t*) &bogus[50] ); /* ERROR */ in nearly_main()
Dtc13_laog1.c20 r = pthread_mutex_unlock( &mx1 ); assert(r==0); in main()
21 r = pthread_mutex_unlock( &mx2 ); assert(r==0); in main()
26 r = pthread_mutex_unlock( &mx1 ); assert(r==0); in main()
27 r = pthread_mutex_unlock( &mx2 ); assert(r==0); in main()
Dtc10_rec_lock.c35 r = pthread_mutex_unlock( &mx1 ); assert(r == 0); in nearly_main()
37 r = pthread_mutex_unlock( &mx1 ); assert(r == 0); in nearly_main()
39 r = pthread_mutex_unlock( &mx1 ); assert(r == 0); in nearly_main()
42 r = pthread_mutex_unlock( &mx1 ); /* FAILS: assert(r == 0); */ in nearly_main()
Dlocked_vs_unlocked2.c30 r= pthread_mutex_unlock(&mx1b); assert(!r); in child_fn1()
31 r= pthread_mutex_unlock(&mx1a); assert(!r); in child_fn1()
46 r= pthread_mutex_unlock(&mx2b); assert(!r); in child_fn2()
47 r= pthread_mutex_unlock(&mx2a); assert(!r); in child_fn2()
Dtc17_sembar.c61 pthread_mutex_unlock (&bar->mutex1); in gomp_barrier_destroy()
75 pthread_mutex_unlock (&bar->mutex1); in gomp_barrier_reinit()
106 pthread_mutex_unlock (&bar->mutex1); in gomp_barrier_wait()
117 pthread_mutex_unlock (&bar->mutex1); in gomp_barrier_wait()
124 pthread_mutex_unlock (&bar->mutex2); in gomp_barrier_wait()
/external/lldb/test/functionalities/thread/
Dmain.c10 pthread_mutex_unlock(&mutex2); // Set break point at this line. in thread3()
11 pthread_mutex_unlock(&mutex1); in thread3()
18 pthread_mutex_unlock(&mutex3); in thread2()
20 pthread_mutex_unlock(&mutex2); in thread2()
32 pthread_mutex_unlock(&mutex1); in thread1()
/external/libusb/libusb/
Dcore.c520 pthread_mutex_unlock(&ctx->usb_devs_lock); in usbi_alloc_device()
566 pthread_mutex_unlock(&ctx->usb_devs_lock); in usbi_get_device_by_session_id()
804 pthread_mutex_unlock(&dev->lock); in libusb_ref_device()
822 pthread_mutex_unlock(&dev->lock); in libusb_unref_device()
832 pthread_mutex_unlock(&dev->ctx->usb_devs_lock); in libusb_unref_device()
887 pthread_mutex_unlock(&ctx->open_devs_lock); in libusb_open()
901 pthread_mutex_unlock(&ctx->pollfd_modify_lock); in libusb_open()
909 pthread_mutex_unlock(&ctx->pollfd_modify_lock); in libusb_open()
924 pthread_mutex_unlock(&ctx->pollfd_modify_lock); in libusb_open()
988 pthread_mutex_unlock(&ctx->open_devs_lock); in do_close()
[all …]
Dio.c1132 pthread_mutex_unlock(&ctx->flying_transfers_lock); in add_to_flying_list()
1240 pthread_mutex_unlock(&ctx->flying_transfers_lock); in libusb_submit_transfer()
1256 pthread_mutex_unlock(&itransfer->lock); in libusb_submit_transfer()
1286 pthread_mutex_unlock(&itransfer->lock); in libusb_cancel_transfer()
1373 pthread_mutex_unlock(&ctx->flying_transfers_lock); in usbi_handle_transfer_completion()
1405 pthread_mutex_unlock(&ctx->event_waiters_lock); in usbi_handle_transfer_completion()
1455 pthread_mutex_unlock(&ctx->pollfd_modify_lock); in libusb_try_lock_events()
1506 pthread_mutex_unlock(&ctx->events_lock); in libusb_unlock_events()
1513 pthread_mutex_unlock(&ctx->event_waiters_lock); in libusb_unlock_events()
1546 pthread_mutex_unlock(&ctx->pollfd_modify_lock); in libusb_event_handling_ok()
[all …]
/external/compiler-rt/test/tsan/
Dmutex_cycle2.c20 pthread_mutex_unlock(&mu2); in main()
21 pthread_mutex_unlock(&mu1); in main()
29 pthread_mutex_unlock(&mu1); in main()
30 pthread_mutex_unlock(&mu2); in main()
Dmust_deadlock.cc21 pthread_mutex_unlock(&mu1); in Thread()
22 pthread_mutex_unlock(&mu2); in Thread()
41 pthread_mutex_unlock(&mu2); in main()
42 pthread_mutex_unlock(&mu1); in main()
/external/bison/lib/glthread/
Dlock.c64 pthread_mutex_unlock (&lock->guard); in glthread_rwlock_rdlock_multithreaded()
68 err = pthread_mutex_unlock (&lock->guard); in glthread_rwlock_rdlock_multithreaded()
90 pthread_mutex_unlock (&lock->guard); in glthread_rwlock_wrlock_multithreaded()
94 err = pthread_mutex_unlock (&lock->guard); in glthread_rwlock_wrlock_multithreaded()
167 pthread_mutex_unlock (&lock->lock); in glthread_rwlock_rdlock_multithreaded()
172 return pthread_mutex_unlock (&lock->lock); in glthread_rwlock_rdlock_multithreaded()
193 pthread_mutex_unlock (&lock->lock); in glthread_rwlock_wrlock_multithreaded()
199 return pthread_mutex_unlock (&lock->lock); in glthread_rwlock_wrlock_multithreaded()
215 pthread_mutex_unlock (&lock->lock); in glthread_rwlock_unlock_multithreaded()
225 pthread_mutex_unlock (&lock->lock); in glthread_rwlock_unlock_multithreaded()
[all …]
/external/fio/
Didletime.c87 pthread_mutex_unlock(&ipt->init_lock); in idle_prof_thread_fn()
94 pthread_mutex_unlock(&ipt->init_lock); in idle_prof_thread_fn()
110 pthread_mutex_unlock(&ipt->init_lock); in idle_prof_thread_fn()
118 pthread_mutex_unlock(&ipt->init_lock); in idle_prof_thread_fn()
125 pthread_mutex_unlock(&ipt->start_lock); in idle_prof_thread_fn()
131 pthread_mutex_unlock(&ipt->start_lock); in idle_prof_thread_fn()
154 pthread_mutex_unlock(&ipt->start_lock); in idle_prof_thread_fn()
273 pthread_mutex_unlock(&ipt->init_lock); in fio_idle_prof_init()
290 pthread_mutex_unlock(&ipt->init_lock); in fio_idle_prof_init()
320 pthread_mutex_unlock(&ipt->start_lock); in fio_idle_prof_start()
[all …]
/external/libcxx/src/
Dmutex.cpp45 int ec = pthread_mutex_unlock(&__m_); in unlock()
99 int e = pthread_mutex_unlock(&__m_); in unlock()
256 pthread_mutex_unlock(&mut); in __call_once()
260 pthread_mutex_unlock(&mut); in __call_once()
268 pthread_mutex_unlock(&mut); in __call_once()
275 pthread_mutex_unlock(&mut); in __call_once()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_posix.cc36 EXPECT_EQ(pthread_mutex_unlock(k->mtx), 0); in thread_secific_dtor()
108 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0); in cond_thread()
113 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0); in cond_thread()
118 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0); in cond_thread()
135 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0); in TEST()
141 EXPECT_EQ(pthread_mutex_unlock(&ctx.m), 0); in TEST()
/external/lldb/test/functionalities/expr-doesnt-deadlock/
Dlocking.c30 pthread_mutex_unlock(&thread_started_mutex); in lock_acquirer_1()
42 pthread_mutex_unlock (&contended_mutex); in lock_acquirer_1()
68 pthread_mutex_unlock (&control_mutex); in main()

1234567891011