Home
last modified time | relevance | path

Searched refs:sem_open (Results 1 – 21 of 21) sorted by relevance

/freebsd-12.1/tools/regression/posixsem2/
H A Dsemtest.c63 s = sem_open(SEM_NAME, O_CREAT, 0777, 0); in test_named()
66 s2 = sem_open(SEM_NAME, O_CREAT, 0777, 0); in test_named()
105 s = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in test_named2()
108 s2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in test_named2()
114 s3 = sem_open(SEM_NAME, 0); in test_named2()
/freebsd-12.1/contrib/netbsd-tests/lib/semaphore/
H A Dsem.c249 sem1 = sem_open(SEM1, 0); in ATF_TC_BODY()
253 sem1 = sem_open(SEM1, O_CREAT, 0444, 1); in ATF_TC_BODY()
257 rv = sem_open(SEM1, O_CREAT | O_EXCL); in ATF_TC_BODY()
261 sem2 = sem_open(SEM2, O_CREAT, 0444, 0); in ATF_TC_BODY()
307 sem = sem_open(SEM, O_CREAT, 0444, 0); in ATF_TC_BODY()
/freebsd-12.1/contrib/compiler-rt/lib/fuzzer/
H A DFuzzerShmemPosix.cpp59 Semaphore[i] = sem_open(SemName(Name, i).c_str(), O_CREAT, 0644, 0); in Create()
77 Semaphore[i] = sem_open(SemName(Name, i).c_str(), 0); in Open()
/freebsd-12.1/include/
H A Dsemaphore.h65 sem_t *sem_open(const char *, int, ...);
/freebsd-12.1/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c95 sem_b = sem_open("/sem_b", O_CREAT | O_EXCL, 0644, 0); in ATF_TC_BODY()
141 sem_a = sem_open("/sem_a", O_CREAT | O_EXCL, 0644, 0); in ATF_TC_BODY()
/freebsd-12.1/lib/libc/gen/
H A DMakefile.inc283 sem_open.3 \
482 MLINKS+=sem_open.3 sem_close.3 \
483 sem_open.3 sem_unlink.3
H A DSymbol.map347 sem_open;
H A Dsem.c116 FB10_COMPAT(_libc_sem_open_compat, sem_open);
H A Dsem_new.c59 __weak_reference(_sem_open, sem_open);
/freebsd-12.1/contrib/netbsd-tests/lib/libpthread/
H A Dt_sem.c129 semp = sem_open("/foo", O_CREAT | O_EXCL, 0644, 0); in ATF_TC_BODY()
/freebsd-12.1/lib/libc/include/
H A Dnamespace.h221 #define sem_open _sem_open macro
H A Dun-namespace.h202 #undef sem_open
/freebsd-12.1/contrib/apr/locks/unix/
H A Dproc_mutex.c118 psem = sem_open(semname, O_CREAT | O_EXCL, 0644, 1); in proc_mutex_posix_create()
128 psem = sem_open(semname, O_CREAT | O_EXCL, 0644, 1); in proc_mutex_posix_create()
/freebsd-12.1/sys/contrib/dev/acpica/os_specific/service_layers/
H A Dosunixxf.c898 Sem = sem_open (SemaphoreName, O_EXCL|O_CREAT, 0755, InitialUnits); in AcpiOsCreateSemaphore()
/freebsd-12.1/contrib/apr/
H A Dconfigure.in2134 AC_SEARCH_LIBS(sem_open, rt)
2137 # Some systems return ENOSYS from sem_open.
2138 AC_CACHE_CHECK(for working sem_open,ac_cv_func_sem_open,[
2152 psem = sem_open(sem_name, O_CREAT, 0644, 1);
2157 psem = sem_open(sem_name, O_CREAT | O_EXCL, 0644, 1);
2229 APR_IFALLYES(header:semaphore.h func:sem_open func:sem_close dnl
H A Dconfigure25029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_open" >&5
25030 $as_echo_n "checking for library containing sem_open... " >&6; }
25099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sem_open" >&5
25100 $as_echo_n "checking for working sem_open... " >&6; }
25524 for ac_spec in header:semaphore.h func:sem_open func:sem_close func:sem_unlink func:se…
/freebsd-12.1/contrib/openbsm/etc/
H A Daudit_event341 342:AUE_DARWIN_SEMOPEN:sem_open(2):ip
395 43032:AUE_SEMOPEN:sem_open(2):ip
/freebsd-12.1/contrib/ofed/librdmacm/
H A Dpreload.c694 sem = sem_open("/rsocket_fork", O_CREAT | O_RDWR, in fork_passive()
/freebsd-12.1/contrib/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt2808 fun:sem_open=uninstrumented
/freebsd-12.1/crypto/heimdal/lib/sqlite/
H A Dsqlite3.c29257 pNew->pInode->pSem = sem_open(zSemName, O_CREAT, 0666, 1);
/freebsd-12.1/contrib/sqlite3/
H A Dsqlite3.c39121 pNew->pInode->pSem = sem_open(zSemName, O_CREAT, 0666, 1);