Searched refs:pthread_mutex_trylock (Results 1 – 25 of 77) sorted by relevance
1234
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_process_lock.h | 271 …KASSERT(pthread_mutex_trylock(&SCTP_BASE_INFO(wq_addr_mtx)) == EBUSY, ("%s: wq_addr_mtx not locked… 297 (!(pthread_mutex_trylock(&SCTP_BASE_INFO(ipi_ep_mtx)))) 387 KASSERT(pthread_mutex_trylock(&(_inp)->inp_mtx) == EBUSY, ("%s: inp_mtx not locked", __func__)) 389 KASSERT(pthread_mutex_trylock(&(_inp)->inp_mtx) == EBUSY, ("%s: inp_mtx not locked", __func__)) 479 KASSERT(pthread_mutex_trylock(&(_tcb)->tcb_mtx) == EBUSY, ("%s: tcb_mtx not locked", __func__)) 480 #define SCTP_TCB_TRYLOCK(_tcb) (!(pthread_mutex_trylock(&(_tcb)->tcb_mtx))) 509 …KASSERT(pthread_mutex_trylock(SOCKBUF_MTX(_so_buf)) == EBUSY, ("%s: socket buffer not locked", __f… 585 …KASSERT(pthread_mutex_trylock(&SCTP_BASE_INFO(ipi_addr_mtx)) == EBUSY, ("%s: ipi_addr_mtx not lock… 587 …KASSERT(pthread_mutex_trylock(&SCTP_BASE_INFO(ipi_addr_mtx)) == EBUSY, ("%s: ipi_addr_mtx not lock…
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
D | pthread_mutex_trylock.c | 30 int ret = pthread_mutex_trylock(&g_mutex); in pthread_mutex_trylock_0100() 44 int ret = pthread_mutex_trylock(&g_mutex); in pthread_mutex_trylock_0200()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/ |
D | 1-1.c | 47 rc = pthread_mutex_trylock(&mutex); in main() 59 rc = pthread_mutex_trylock(&mutex); in main()
|
D | 1-2.c | 134 td->status = pthread_mutex_trylock(&(td->mtx)); in tf() 329 ret = pthread_mutex_trylock(&(td->mtx)); in main() 333 ret = pthread_mutex_trylock(&(td->mtx)); in main()
|
D | 2-1.c | 111 td->status = pthread_mutex_trylock(&(td->mtx)); in tf() 294 ret = pthread_mutex_trylock(&(td->mtx)); in main() 298 ret = pthread_mutex_trylock(&(td->mtx)); in main()
|
D | 4-1.c | 35 rc = pthread_mutex_trylock(&mutex); in main()
|
D | 3-1.c | 30 if ((rc = pthread_mutex_trylock(&mutex)) == 0) { in main()
|
D | 4-3.c | 247 ret = pthread_mutex_trylock(&mtx[count_ope % (NSCENAR + 2)]); in test() 255 ret = pthread_mutex_trylock(&mtx[count_ope % (NSCENAR + 2)]); in test()
|
D | coverage.txt | 1 This document defines the coverage for the pthread_mutex_trylock function:
|
/third_party/musl/Benchmark/musl/ |
D | libc_pthread.cpp | 49 pthread_mutex_trylock(&mutex); in Bm_function_pthread_mutex_trylock_fast() 64 pthread_mutex_trylock(&mutex); in Bm_function_pthread_mutex_trylock_errchk() 79 pthread_mutex_trylock(&mutex); in Bm_function_pthread_mutex_trylock_rec() 94 pthread_mutex_trylock(&mutex); in Bm_function_pthread_mutex_trylock_pi_fast() 109 pthread_mutex_trylock(&mutex); in Bm_function_pthread_mutex_trylock_pi_errorcheck() 124 pthread_mutex_trylock(&mutex); in Bm_function_pthread_mutex_trylock_pi_rec()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
D | 17-1-buildonly.c | 20 pthread_mutex_trylock(&a); in dummy_func()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/ |
D | stress.c | 166 ret = pthread_mutex_trylock(td->mtx); in threaded() 351 ret = pthread_mutex_trylock(td.mtx); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/ |
D | 1-1.c | 44 if ((rc = pthread_mutex_trylock(&mutex)) != 0) { in main()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/ |
D | lock.cc | 59 return (pthread_mutex_trylock(&os_lock_) == 0);
|
/third_party/musl/porting/liteos_a/user/src/exit/ |
D | exit.c | 40 int ret = pthread_mutex_trylock(&__exit_mutex); in exit()
|
/third_party/musl/porting/liteos_a/user_debug/src/exit/ |
D | exit.c | 45 int ret = pthread_mutex_trylock(&__exit_mutex); in exit()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
D | 2-3.c | 97 ret = pthread_mutex_trylock(&(data.mtx)); in clnp1() 404 ret = pthread_mutex_trylock(&(data.mtx)); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
D | 2-5.c | 108 ret = pthread_mutex_trylock(&(data.mtx1)); in threaded() 146 ret = pthread_mutex_trylock(&(data.mtx2)); in threaded()
|
D | 2-6.c | 71 ret = pthread_mutex_trylock(&(data.mtx)); in clnp1() 401 ret = pthread_mutex_trylock(&(data.mtx)); in main()
|
D | 2-3.c | 100 rc = pthread_mutex_trylock(&td.mutex); in main()
|
/third_party/vk-gl-cts/framework/delibs/dethread/unix/ |
D | deMutexUnix.c | 112 return (pthread_mutex_trylock((pthread_mutex_t*)mutex) == 0); in deMutex_tryLock()
|
/third_party/cef/libcef_dll/base/ |
D | cef_lock_impl.cc | 74 int rv = pthread_mutex_trylock(&native_handle_); in Try()
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
D | pthread_mutex_trylock.c | 59 weak_alias(__pthread_mutex_trylock, pthread_mutex_trylock);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Mutex.cpp | 109 int errorcode = pthread_mutex_trylock(mutex); in tryacquire()
|
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
D | MutexLock.hpp | 42 return pthread_mutex_trylock(&mutex) == 0; in attemptLock()
|
1234