Home
last modified time | relevance | path

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

/freebsd-13.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-13.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-13.1/include/
H A Dsemaphore.h65 sem_t *sem_open(const char *, int, ...);
/freebsd-13.1/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c118 sem_b = sem_open("/sem_b", O_CREAT | O_EXCL, 0644, 0); in ATF_TC_BODY()
164 sem_a = sem_open("/sem_a", O_CREAT | O_EXCL, 0644, 0); in ATF_TC_BODY()
/freebsd-13.1/lib/libc/gen/
H A DMakefile.inc293 sem_open.3 \
497 MLINKS+=sem_open.3 sem_close.3 \
498 sem_open.3 sem_unlink.3
H A Dsem.c116 FB10_COMPAT(_libc_sem_open_compat, sem_open);
H A DSymbol.map347 sem_open;
H A Dsem_new.c59 __weak_reference(_sem_open, sem_open);
/freebsd-13.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-13.1/lib/libc/include/
H A Dnamespace.h223 #define sem_open _sem_open macro
H A Dun-namespace.h204 #undef sem_open
/freebsd-13.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-13.1/contrib/apr/locks/unix/
H A Dproc_mutex.c166 psem = sem_open(semname, O_CREAT | O_EXCL, 0644, 1); in proc_mutex_posix_create()
176 psem = sem_open(semname, O_CREAT | O_EXCL, 0644, 1); in proc_mutex_posix_create()
/freebsd-13.1/contrib/apr/
H A Dconfigure.in2232 AC_SEARCH_LIBS(sem_open, rt)
2240 # Some systems return ENOSYS from sem_open.
2241 AC_CACHE_CHECK(for working sem_open,ac_cv_func_sem_open,[
2255 psem = sem_open(sem_name, O_CREAT, 0644, 1);
2260 psem = sem_open(sem_name, O_CREAT | O_EXCL, 0644, 1);
2335 APR_IFALLYES(header:semaphore.h func:sem_open func:sem_close dnl
H A Dconfigure26299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sem_open" >&5
26300 $as_echo_n "checking for library containing sem_open... " >&6; }
26458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working sem_open" >&5
26459 $as_echo_n "checking for working sem_open... " >&6; }
/freebsd-13.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-13.1/contrib/ofed/librdmacm/
H A Dpreload.c694 sem = sem_open("/rsocket_fork", O_CREAT | O_RDWR, in fork_passive()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt2808 fun:sem_open=uninstrumented
/freebsd-13.1/contrib/sqlite3/
H A Dsqlite3.c40008 pNew->pInode->pSem = sem_open(zSemName, O_CREAT, 0666, 1);