Home
last modified time | relevance | path

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

12

/bionic/benchmarks/
Dpthread_benchmark.cpp72 pthread_mutex_lock(&mutex); in BM_pthread_mutex_lock()
82 pthread_mutex_lock(&mutex); in BM_pthread_mutex_lock_ERRORCHECK()
92 pthread_mutex_lock(&mutex); in BM_pthread_mutex_lock_RECURSIVE()
121 pthread_mutex_lock(&m.mutex); in BM_pthread_mutex_lock_PI()
131 pthread_mutex_lock(&m.mutex); in BM_pthread_mutex_lock_ERRORCHECK_PI()
141 pthread_mutex_lock(&m.mutex); in BM_pthread_mutex_lock_RECURSIVE_PI()
/bionic/libc/private/
Dthread_private.h20 #define _THREAD_PRIVATE_MUTEX_LOCK(name) pthread_mutex_lock(&__MUTEX_NAME(name))
24 #define _MUTEX_LOCK(l) pthread_mutex_lock((pthread_mutex_t*) l)
DScopedPthreadMutexLocker.h26 pthread_mutex_lock(mu_); in ScopedPthreadMutexLocker()
/bionic/libc/bionic/
Dpthread_atfork.cpp120 pthread_mutex_lock(&g_atfork_list_mutex); in __bionic_atfork_run_prepare()
135 pthread_mutex_lock(&g_atfork_list_mutex); in __bionic_atfork_run_child()
167 pthread_mutex_lock(&g_atfork_list_mutex); in __register_atfork()
177 pthread_mutex_lock(&g_atfork_list_mutex); in __unregister_atfork()
Dthread_private.cpp37 pthread_mutex_lock(&g_arc4_lock); in _thread_arc4_lock()
Dflockfile.cpp40 pthread_mutex_lock(&_FLOCK(fp)); in flockfile()
Dpthread_cond.cpp205 pthread_mutex_lock(mutex); in __pthread_cond_timedwait()
Datexit.cpp217 pthread_mutex_lock(&g_atexit_lock); in atexit_lock()
Dmalloc_heapprofd.cpp122 pthread_mutex_lock(&gGlobalsMutateLock); in MaybeModifyGlobals()
Dmalloc_limit.cpp271 pthread_mutex_lock(&gGlobalsMutateLock); in EnableLimitDispatchTable()
/bionic/libc/upstream-netbsd/android/include/
Dreentrant.h30 #define mutex_lock(x) pthread_mutex_lock(x)
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dquick_exit.c65 pthread_mutex_lock(&atexit_mutex); in at_quick_exit()
/bionic/tests/
Dpthread_test.cpp325 ASSERT_EQ(0, pthread_mutex_lock(&data.mutex)); in main()
331 ASSERT_EQ(0, pthread_mutex_lock(&data.mutex)); in main()
1542 ASSERT_EQ(0, pthread_mutex_lock(&test->mutex)); in WaitThreadFn()
1647 ASSERT_EQ(0, pthread_mutex_lock(&mutex)); in pthread_cond_timedwait_timeout_helper()
1906 pthread_mutex_lock(&pthread_gettid_np_mutex); in pthread_gettid_np_helper()
1918 pthread_mutex_lock(&pthread_gettid_np_mutex); in TEST()
2057 ASSERT_EQ(0, pthread_mutex_lock(&m.lock)); in TestPthreadMutexLockNormal()
2070 ASSERT_EQ(0, pthread_mutex_lock(&m.lock)); in TestPthreadMutexLockErrorCheck()
2072 ASSERT_EQ(EDEADLK, pthread_mutex_lock(&m.lock)); in TestPthreadMutexLockErrorCheck()
2087 ASSERT_EQ(0, pthread_mutex_lock(&m.lock)); in TestPthreadMutexLockRecursive()
[all …]
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_105.S78 CALL(pthread_mutex_lock)
Dliblinker_reloc_bench_010.S173 CALL(pthread_mutex_lock)
Dliblinker_reloc_bench_076.S273 CALL(pthread_mutex_lock)
362 GOT_RELOC(pthread_mutex_lock)
Dliblinker_reloc_bench_027.S306 CALL(pthread_mutex_lock)
Dliblinker_reloc_bench_143.S182 CALL(pthread_mutex_lock)
/bionic/libc/dns/resolv/
Dres_cache.c1414 pthread_mutex_lock(&_res_cache_list_lock); in _resolv_cache_query_failed()
1699 pthread_mutex_lock(&_res_cache_list_lock); in _resolv_cache_lookup()
1783 pthread_mutex_lock(&_res_cache_list_lock); in _resolv_cache_add()
1901 pthread_mutex_lock(&_res_cache_list_lock); in _resolv_flush_cache_for_net()
1924 pthread_mutex_lock(&_res_cache_list_lock); in _resolv_delete_cache_for_net()
2037 pthread_mutex_lock(&_res_cache_list_lock); in _resolv_set_nameservers_for_net()
2173 pthread_mutex_lock(&_res_cache_list_lock); in _resolv_populate_res_for_net()
2249 pthread_mutex_lock(&_res_cache_list_lock); in android_net_res_stats_get_info_for_net()
2316 pthread_mutex_lock(&_res_cache_list_lock); in _resolv_cache_get_resolver_stats()
2334 pthread_mutex_lock(&_res_cache_list_lock); in _resolv_cache_add_resolver_stats_sample()
Dres_data.cpp30 pthread_mutex_lock(&mutex); in GlobalStateAccessor()
/bionic/libc/include/bits/
Dthreads_inlines.h103 return __bionic_thrd_error(pthread_mutex_lock(__mtx)); in mtx_lock()
/bionic/tests/headers/posix/
Dpthread_h.c151 FUNCTION(pthread_mutex_lock, int (*f)(pthread_mutex_t*)); in pthread_h()
/bionic/libc/include/
Dpthread.h192 int pthread_mutex_lock(pthread_mutex_t* __mutex);
/bionic/docs/
D32-bit-abi.md110 a hang in `pthread_mutex_lock` if the libc startup code doesn't detect
/bionic/libc/stdio/
Dstdio.cpp171 pthread_mutex_lock(&__stdio_mutex); in __sfp()
181 pthread_mutex_lock(&__stdio_mutex); in __sfp()

12