| /freebsd-12.1/tools/regression/posixsem2/ |
| H A D | semtest.c | 63 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 D | sem.c | 249 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 D | FuzzerShmemPosix.cpp | 59 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 D | semaphore.h | 65 sem_t *sem_open(const char *, int, ...);
|
| /freebsd-12.1/contrib/netbsd-tests/lib/librt/ |
| H A D | t_sem.c | 95 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 D | Makefile.inc | 283 sem_open.3 \ 482 MLINKS+=sem_open.3 sem_close.3 \ 483 sem_open.3 sem_unlink.3
|
| H A D | Symbol.map | 347 sem_open;
|
| H A D | sem.c | 116 FB10_COMPAT(_libc_sem_open_compat, sem_open);
|
| H A D | sem_new.c | 59 __weak_reference(_sem_open, sem_open);
|
| /freebsd-12.1/contrib/netbsd-tests/lib/libpthread/ |
| H A D | t_sem.c | 129 semp = sem_open("/foo", O_CREAT | O_EXCL, 0644, 0); in ATF_TC_BODY()
|
| /freebsd-12.1/lib/libc/include/ |
| H A D | namespace.h | 221 #define sem_open _sem_open macro
|
| H A D | un-namespace.h | 202 #undef sem_open
|
| /freebsd-12.1/contrib/apr/locks/unix/ |
| H A D | proc_mutex.c | 118 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 D | osunixxf.c | 898 Sem = sem_open (SemaphoreName, O_EXCL|O_CREAT, 0755, InitialUnits); in AcpiOsCreateSemaphore()
|
| /freebsd-12.1/contrib/apr/ |
| H A D | configure.in | 2134 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 D | configure | 25029 { $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 D | audit_event | 341 342:AUE_DARWIN_SEMOPEN:sem_open(2):ip 395 43032:AUE_SEMOPEN:sem_open(2):ip
|
| /freebsd-12.1/contrib/ofed/librdmacm/ |
| H A D | preload.c | 694 sem = sem_open("/rsocket_fork", O_CREAT | O_RDWR, in fork_passive()
|
| /freebsd-12.1/contrib/compiler-rt/lib/dfsan/ |
| H A D | libc_ubuntu1404_abilist.txt | 2808 fun:sem_open=uninstrumented
|
| /freebsd-12.1/crypto/heimdal/lib/sqlite/ |
| H A D | sqlite3.c | 29257 pNew->pInode->pSem = sem_open(zSemName, O_CREAT, 0666, 1);
|
| /freebsd-12.1/contrib/sqlite3/ |
| H A D | sqlite3.c | 39121 pNew->pInode->pSem = sem_open(zSemName, O_CREAT, 0666, 1);
|