Searched refs:sem_trywait (Results 1 – 16 of 16) sorted by relevance
/freebsd/contrib/netbsd-tests/lib/semaphore/ |
H A D | sem.c | 48 rv = sem_trywait(&sem); in ATF_TC_BODY() 68 ATF_REQUIRE_EQ(sem_trywait(&sem), 0); in ATF_TC_BODY() 69 ATF_REQUIRE_EQ(sem_trywait(&sem), 0); in ATF_TC_BODY() 70 ATF_REQUIRE_EQ(sem_trywait(&sem), 0); in ATF_TC_BODY() 71 ATF_REQUIRE_EQ(sem_trywait(&sem), 0); in ATF_TC_BODY() 72 ATF_REQUIRE_EQ(sem_trywait(&sem), -1); in ATF_TC_BODY() 91 ATF_REQUIRE_EQ(sem_trywait(&sem), 0); in ATF_TC_BODY() 92 ATF_REQUIRE_EQ(sem_trywait(&sem), -1); in ATF_TC_BODY() 94 rv = sem_trywait(&sem); in ATF_TC_BODY() 266 ATF_REQUIRE_EQ(sem_trywait(sem2), -1); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_sem.c | 176 ATF_REQUIRE_EQ(sem_trywait(&sem_b), -1); in ATF_TC_BODY() 179 SEM_REQUIRE(sem_trywait(&sem_b)); in ATF_TC_BODY() 243 ret = sem_trywait(&sem); in threadfunc()
|
/freebsd/include/ |
H A D | semaphore.h | 66 int sem_trywait(sem_t *);
|
/freebsd/lib/libthr/thread/ |
H A D | thr_sem.c | 49 FB10_COMPAT(_sem_trywait_compat, sem_trywait);
|
/freebsd/contrib/netbsd-tests/lib/librt/ |
H A D | t_sem.c | 129 ATF_REQUIRE_EQ(sem_trywait(sem_b), -1); in ATF_TC_BODY() 132 ATF_REQUIRE_EQ(sem_trywait(sem_b), 0); in ATF_TC_BODY()
|
/freebsd/sys/contrib/dev/acpica/os_specific/service_layers/ |
H A D | osunixxf.c | 1009 if (sem_trywait(Sem) == -1) in AcpiOsWaitSemaphore() 1041 if (sem_trywait (Sem) == 0) in AcpiOsWaitSemaphore()
|
/freebsd/lib/libc/include/ |
H A D | namespace.h | 225 #define sem_trywait _sem_trywait macro
|
H A D | un-namespace.h | 206 #undef sem_trywait
|
/freebsd/lib/libc/gen/ |
H A D | sem.c | 118 FB10_COMPAT(_libc_sem_trywait_compat, sem_trywait);
|
H A D | Symbol.map | 354 sem_trywait;
|
H A D | sem_new.c | 61 __weak_reference(_sem_trywait, sem_trywait);
|
H A D | Makefile.inc | 495 MLINKS+=sem_wait.3 sem_trywait.3
|
/freebsd/contrib/openbsm/etc/ |
H A D | audit_event | 607 43247:AUE_SEMTRYWAIT:sem_trywait(3):ip
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 6545 INTERCEPTOR(int, sem_trywait, __sanitizer_sem_t *s) { 6547 COMMON_INTERCEPTOR_ENTER(ctx, sem_trywait, s); 6548 int res = REAL(sem_trywait)(s); 6611 COMMON_INTERCEPT_FUNCTION(sem_trywait); \
|
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | libc_ubuntu1404_abilist.txt | 2817 fun:sem_trywait=uninstrumented
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3.c | 41033 if( sem_trywait(pSem)==-1 ){ 41096 if( sem_trywait(pSem)==-1 ){
|