/freebsd/tools/test/stress2/misc/ |
H A D | sem_wait.sh | 36 cat > /tmp/sem_wait.c <<EOF 60 if (sem_wait(semaphore) == -1) 93 if (sem_wait(semaphore) == -1) 105 mycc -o /tmp/sem_wait -Wall -Wextra -O2 /tmp/sem_wait.c || exit 1 106 timeout 6m /tmp/sem_wait; s=$? 108 rm -f /tmp/sem_wait /tmp/sem_wait.c
|
H A D | sem_post.sh | 50 if (sem_wait(&semaphore) == -1) 81 if (sem_wait(&semaphore) == -1)
|
/freebsd/contrib/netbsd-tests/lib/semaphore/ |
H A D | sem.c | 46 sem_wait(&sem); in ATF_TC_BODY() 47 sem_wait(&sem); in ATF_TC_BODY() 115 sem_wait(&semmarit[1]); in hthread() 116 sem_wait(&semmarit[0]); in hthread() 145 sem_wait(&semmarit[2]); in ATF_TC_BODY() 194 sem_wait(&semmarit[2]); in ATF_TC_BODY()
|
/freebsd/contrib/netbsd-tests/lib/libpthread/ |
H A D | t_sem.c | 150 sem_wait(semp); in entry() 175 SEM_REQUIRE(sem_wait(&sem_b)); in ATF_TC_BODY() 181 SEM_REQUIRE(sem_wait(&sem_b)); in ATF_TC_BODY() 239 ret = sem_wait(&sem); in threadfunc()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | interrupt.cc | 74 sem_wait(blocked_semaphore); in killer() 334 sem_wait(&sem1); in TEST_F() 350 sem_wait(&sem0); in TEST_F() 431 sem_wait(&sem0); in TEST_F() 446 sem_wait(&sem1); /* Sequence the two operations */ in TEST_F() 507 sem_wait(&sem0); in TEST_F() 521 sem_wait(&sem1); /* Sequence the two operations */ in TEST_F() 646 sem_wait(signaled_semaphore); in TEST_F() 697 sem_wait(&sem0); in TEST_F() 734 sem_wait(&sem1); /* Sequence the two mkdirs */ in TEST_F()
|
H A D | rmdir.cc | 111 sem_wait(&sem); in TEST_F() 142 sem_wait(&sem); in TEST_F() 160 sem_wait(&sem); in TEST_F()
|
H A D | last_local_modify.cc | 113 sem_wait(sem); in allocate_th() 136 sem_wait(sem); in copy_file_range_th() 155 sem_wait(sem); in setattr_th() 176 sem_wait(sem); in write_th() 333 sem_wait(&sem); in TEST_P()
|
H A D | dev_fuse_poll.cc | 162 sem_wait(&sem1); in TEST_F() 207 EXPECT_EQ(0, sem_wait(&sem0)) << strerror(errno); in TEST_F()
|
H A D | destroy.cc | 119 sem_wait(&sem); in TEST_F()
|
H A D | opendir.cc | 98 sem_wait(&sem); in TEST_F()
|
H A D | forget.cc | 90 sem_wait(&sem); in TEST_F()
|
/freebsd/contrib/ofed/librdmacm/examples/ |
H A D | rping.c | 362 sem_wait(&cb->sem); in rping_accept() 638 sem_wait(&cb->sem); in rping_test_server() 662 sem_wait(&cb->sem); in rping_test_server() 684 sem_wait(&cb->sem); in rping_test_server() 710 ret = sem_wait(&cb->sem); in rping_test_server() 855 sem_wait(&listening_cb->sem); in rping_run_persistent_server() 884 sem_wait(&cb->sem); in rping_run_server() 971 sem_wait(&cb->sem); in rping_test_client() 987 sem_wait(&cb->sem); in rping_test_client() 1025 sem_wait(&cb->sem); in rping_connect_client() [all …]
|
/freebsd/contrib/netbsd-tests/fs/nfs/nfsservice/ |
H A D | rumpnfsd.c | 148 sem_wait(&gensem); in main() 152 sem_wait(&gensem); in main()
|
/freebsd/tools/regression/posixsem2/ |
H A D | semtest.c | 35 if (sem_wait(s)) in test_unnamed() 75 if (sem_wait(s)) in test_named()
|
/freebsd/contrib/netbsd-tests/lib/librt/ |
H A D | t_sem.c | 128 ATF_REQUIRE_EQ(sem_wait(sem_b), 0); in ATF_TC_BODY() 134 ATF_REQUIRE_EQ(sem_wait(sem_b), 0); in ATF_TC_BODY() 175 ATF_REQUIRE_MSG(sem_wait(sem_a) == 0, in ATF_TC_BODY()
|
/freebsd/tools/regression/pthread/unwind/ |
H A D | sem_wait_cancel.cpp | 17 sem_wait(&sem); in thr()
|
/freebsd/include/ |
H A D | semaphore.h | 68 int sem_wait(sem_t *);
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | barrier.c | 72 sem_wait(&bar->bar_sem); in barrier_wait()
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | cma.h | 69 sem_wait(&lock->sem); in fastlock_acquire()
|
/freebsd/contrib/netbsd-tests/fs/ffs/ |
H A D | h_ffs_server.c | 108 sem_wait(&sigsem); in main()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_sem.c | 50 FB10_COMPAT(_sem_wait_compat, sem_wait);
|
/freebsd/tests/sys/aio/ |
H A D | lio_test.c | 186 ATF_REQUIRE_EQ(0, sem_wait(&completions)); in ATF_TC_BODY() 207 ATF_REQUIRE_EQ(0, sem_wait(&completions)); in ATF_TC_BODY()
|
/freebsd/tests/sys/kern/ |
H A D | kcov.c | 184 sem_wait(&sem2); in kcov_mmap_enable_thread() 204 sem_wait(&sem1); in ATF_TC_BODY()
|
/freebsd/contrib/netbsd-tests/fs/common/ |
H A D | fstest_lfs.c | 173 sem_wait(&args->ta_cleanerloop); in lfs_fstest_mount()
|
/freebsd/usr.bin/sort/ |
H A D | file.c | 133 sem_wait(&tmp_files_sem); in tmp_file_atexit() 150 sem_wait(&tmp_files_sem); in clear_tmp_files() 168 sem_wait(&tmp_files_sem); in file_is_tmp() 1472 sem_wait(&mtsem); in mt_sort()
|