Home
last modified time | relevance | path

Searched refs:pthread_mutex_init (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/external/llvm-project/clang/test/Analysis/
Dpthreadlock.c130 pthread_mutex_init(&mtx1, NULL); // no-warning in ok16()
136 pthread_mutex_init(&mtx1, NULL); // no-warning in ok17()
137 pthread_mutex_init(&mtx2, NULL); // no-warning in ok17()
144 pthread_mutex_init(&mtx1, NULL); // no-warning in ok18()
151 pthread_mutex_init(&mtx1, NULL); // no-warning in ok19()
153 pthread_mutex_init(&mtx2, NULL); // no-warning in ok19()
161 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20()
163 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20()
206 pthread_mutex_init(&mtx1, NULL); // no-warning in ok27()
227 pthread_mutex_init(&local_mtx, NULL); in ok30()
[all …]
/external/clang/test/Analysis/
Dpthreadlock.c129 pthread_mutex_init(&mtx1, NULL); // no-warning in ok16()
135 pthread_mutex_init(&mtx1, NULL); // no-warning in ok17()
136 pthread_mutex_init(&mtx2, NULL); // no-warning in ok17()
143 pthread_mutex_init(&mtx1, NULL); // no-warning in ok18()
150 pthread_mutex_init(&mtx1, NULL); // no-warning in ok19()
152 pthread_mutex_init(&mtx2, NULL); // no-warning in ok19()
160 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20()
162 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20()
378 pthread_mutex_init(&mtx1, NULL); // no-warning in bad24()
379 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}} in bad24()
[all …]
/external/usrsctp/usrsctplib/netinet/
Dsctp_process_lock.h256 (void)pthread_mutex_init(&SCTP_BASE_INFO(wq_addr_mtx), &SCTP_BASE_VAR(mtx_attr))
274 (void)pthread_mutex_init(&SCTP_BASE_INFO(ipi_ep_mtx), &SCTP_BASE_VAR(mtx_attr))
300 (void)pthread_mutex_init(&SCTP_BASE_INFO(ipi_pktlog_mtx), &SCTP_BASE_VAR(mtx_attr))
322 (void)pthread_mutex_init(&(_inp)->inp_rdata_mtx, &SCTP_BASE_VAR(mtx_attr))
338 (void)pthread_mutex_init(&(_inp)->inp_mtx, &SCTP_BASE_VAR(mtx_attr))
394 (void)pthread_mutex_init(&(_tcb)->tcb_send_mtx, &SCTP_BASE_VAR(mtx_attr))
410 (void)pthread_mutex_init(&(_inp)->inp_create_mtx, &SCTP_BASE_VAR(mtx_attr))
449 (void)pthread_mutex_init(&(_tcb)->tcb_mtx, &SCTP_BASE_VAR(mtx_attr))
570 (void)pthread_mutex_init(&SCTP_BASE_INFO(ipi_addr_mtx), &SCTP_BASE_VAR(mtx_attr))
595 (void)pthread_mutex_init(&sctp_it_ctl.it_mtx, &SCTP_BASE_VAR(mtx_attr))
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/
D2-1.c22 if (pthread_mutex_init(&mutex, NULL) != 0) { in main()
34 if (pthread_mutex_init(&mutex, NULL) != 0) { in main()
D1-1.c34 if ((rc = pthread_mutex_init(&mutex1, &mta)) != 0) { in main()
40 if ((rc = pthread_mutex_init(&mutex2, NULL)) != 0) { in main()
D2-2.c182 ret = pthread_mutex_init(&mtx, pma[i]); in main()
193 ret = pthread_mutex_init(&mtx, pma[j]); in main()
/external/compiler-rt/test/tsan/
Dmutex_cycle2.c14 pthread_mutex_init(&mu1, NULL); in main()
15 pthread_mutex_init(&mu2, NULL); in main()
Dmutexset4.cc36 pthread_mutex_init(&mtx1, 0); in main()
37 pthread_mutex_init(&mtx2, 0); in main()
Dmutexset3.cc36 pthread_mutex_init(&mtx1, 0); in main()
37 pthread_mutex_init(&mtx2, 0); in main()
Dmutexset5.cc37 pthread_mutex_init(&mtx1, 0); in main()
38 pthread_mutex_init(&mtx2, 0); in main()
Dmust_deadlock.cc27 pthread_mutex_init(&mu1, NULL); in main()
28 pthread_mutex_init(&mu2, NULL); in main()
Dmutexset6.cc42 pthread_mutex_init(&mtx1, 0); in main()
43 pthread_mutex_init(&mtx2, 0); in main()
/external/llvm-project/compiler-rt/test/tsan/
Dmutex_cycle2.c14 pthread_mutex_init(&mu1, NULL); in main()
15 pthread_mutex_init(&mu2, NULL); in main()
Dmutexset5.cpp37 pthread_mutex_init(&mtx1, 0); in main()
38 pthread_mutex_init(&mtx2, 0); in main()
Dmutexset3.cpp36 pthread_mutex_init(&mtx1, 0); in main()
37 pthread_mutex_init(&mtx2, 0); in main()
Dmust_deadlock.cpp27 pthread_mutex_init(&mu1, NULL); in main()
28 pthread_mutex_init(&mu2, NULL); in main()
Dmutexset4.cpp36 pthread_mutex_init(&mtx1, 0); in main()
37 pthread_mutex_init(&mtx2, 0); in main()
Dmutexset6.cpp42 pthread_mutex_init(&mtx1, 0); in main()
43 pthread_mutex_init(&mtx2, 0); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
D1-1.c37 if ((rc = pthread_mutex_init(&mutex1, &mta)) != 0) { in main()
44 if ((rc = pthread_mutex_init(&mutex2, NULL)) != 0) { in main()
/external/llvm-project/compiler-rt/test/tsan/Darwin/
Ddeadlock.mm15 pthread_mutex_init(&m1, NULL);
16 pthread_mutex_init(&m2, NULL);
/external/selinux/libselinux/src/
Dselinux_internal.h150 #pragma weak pthread_mutex_init macro
157 if (pthread_mutex_init != NULL) \
158 pthread_mutex_init(LOCK, ATTR); \
/external/libfuse/lib/
Dfuse_misc.h23 #define fuse_mutex_init(mut) pthread_mutex_init(mut, NULL)
31 pthread_mutex_init(mut, &attr); in fuse_mutex_init()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
Dstress.c274 ret = pthread_mutex_init(&mtx[i], &ma); in main()
292 ret = pthread_mutex_init(&mtx[i], &ma); in main()
301 ret = pthread_mutex_init(&mtx[i + 1], NULL); in main()
/external/llvm-project/lldb/tools/debugserver/source/
DPThreadMutex.h82 err = ::pthread_mutex_init(&m_mutex, NULL); in PThreadMutex()
93 err = ::pthread_mutex_init(&m_mutex, &attr); in PThreadMutex()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
D4-3.c222 ret = pthread_mutex_init(&mtx[i], &ma[i]); in test()
234 ret = pthread_mutex_init(&mtx[i], &ma[i]); in test()
239 ret = pthread_mutex_init(&mtx[i + 1], NULL); in test()

12345678910>>...17