Home
last modified time | relevance | path

Searched refs:pthread_mutex_trylock (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_process_lock.h271 …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/
Dpthread_mutex_trylock.c30 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/
D1-1.c47 rc = pthread_mutex_trylock(&mutex); in main()
59 rc = pthread_mutex_trylock(&mutex); in main()
D1-2.c134 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()
D2-1.c111 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()
D4-1.c35 rc = pthread_mutex_trylock(&mutex); in main()
D3-1.c30 if ((rc = pthread_mutex_trylock(&mutex)) == 0) { in main()
D4-3.c247 ret = pthread_mutex_trylock(&mtx[count_ope % (NSCENAR + 2)]); in test()
255 ret = pthread_mutex_trylock(&mtx[count_ope % (NSCENAR + 2)]); in test()
Dcoverage.txt1 This document defines the coverage for the pthread_mutex_trylock function:
/third_party/musl/Benchmark/musl/
Dlibc_pthread.cpp49 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/
D17-1-buildonly.c20 pthread_mutex_trylock(&a); in dummy_func()
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
Dstress.c166 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/
D1-1.c44 if ((rc = pthread_mutex_trylock(&mutex)) != 0) { in main()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
Dlock.cc59 return (pthread_mutex_trylock(&os_lock_) == 0);
/third_party/musl/porting/liteos_a/user/src/exit/
Dexit.c40 int ret = pthread_mutex_trylock(&__exit_mutex); in exit()
/third_party/musl/porting/liteos_a/user_debug/src/exit/
Dexit.c45 int ret = pthread_mutex_trylock(&__exit_mutex); in exit()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D2-3.c97 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/
D2-5.c108 ret = pthread_mutex_trylock(&(data.mtx1)); in threaded()
146 ret = pthread_mutex_trylock(&(data.mtx2)); in threaded()
D2-6.c71 ret = pthread_mutex_trylock(&(data.mtx)); in clnp1()
401 ret = pthread_mutex_trylock(&(data.mtx)); in main()
D2-3.c100 rc = pthread_mutex_trylock(&td.mutex); in main()
/third_party/vk-gl-cts/framework/delibs/dethread/unix/
DdeMutexUnix.c112 return (pthread_mutex_trylock((pthread_mutex_t*)mutex) == 0); in deMutex_tryLock()
/third_party/cef/libcef_dll/base/
Dcef_lock_impl.cc74 int rv = pthread_mutex_trylock(&native_handle_); in Try()
/third_party/musl/porting/liteos_a/user/src/thread/
Dpthread_mutex_trylock.c59 weak_alias(__pthread_mutex_trylock, pthread_mutex_trylock);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DMutex.cpp109 int errorcode = pthread_mutex_trylock(mutex); in tryacquire()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DMutexLock.hpp42 return pthread_mutex_trylock(&mutex) == 0; in attemptLock()

1234