| /freebsd-13-stable/contrib/netbsd-tests/lib/semaphore/ |
| HD | 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-13-stable/contrib/netbsd-tests/lib/libpthread/ |
| HD | 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-13-stable/tests/sys/fs/fusefs/ |
| HD | rmdir.cc | 111 sem_wait(&sem); in TEST_F() 142 sem_wait(&sem); in TEST_F() 160 sem_wait(&sem); in TEST_F()
|
| HD | 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()
|
| HD | 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()
|
| HD | dev_fuse_poll.cc | 162 sem_wait(&sem1); in TEST_F() 207 EXPECT_EQ(0, sem_wait(&sem0)) << strerror(errno); in TEST_F()
|
| HD | destroy.cc | 119 sem_wait(&sem); in TEST_F()
|
| HD | opendir.cc | 98 sem_wait(&sem); in TEST_F()
|
| HD | forget.cc | 91 sem_wait(&sem); in TEST_F()
|
| HD | getattr.cc | 194 sem_wait(&sem); in TEST_F() 306 sem_wait(&sem); in TEST_F()
|
| HD | statfs.cc | 120 ASSERT_EQ(0, sem_wait(&sem)) << strerror(errno); in TEST_F()
|
| /freebsd-13-stable/contrib/ofed/librdmacm/examples/ |
| HD | 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-13-stable/tools/regression/posixsem2/ |
| HD | semtest.c | 35 if (sem_wait(s)) in test_unnamed() 75 if (sem_wait(s)) in test_named()
|
| /freebsd-13-stable/contrib/netbsd-tests/fs/nfs/nfsservice/ |
| HD | rumpnfsd.c | 148 sem_wait(&gensem); in main() 152 sem_wait(&gensem); in main()
|
| /freebsd-13-stable/contrib/netbsd-tests/lib/librt/ |
| HD | 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-13-stable/tools/regression/pthread/unwind/ |
| HD | sem_wait_cancel.cpp | 17 sem_wait(&sem); in thr()
|
| /freebsd-13-stable/include/ |
| HD | semaphore.h | 68 int sem_wait(sem_t *);
|
| /freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| HD | barrier.c | 72 sem_wait(&bar->bar_sem); in barrier_wait()
|
| /freebsd-13-stable/contrib/netbsd-tests/fs/ffs/ |
| HD | h_ffs_server.c | 108 sem_wait(&sigsem); in main()
|
| /freebsd-13-stable/contrib/ofed/librdmacm/ |
| HD | cma.h | 69 sem_wait(&lock->sem); in fastlock_acquire()
|
| /freebsd-13-stable/lib/libthr/thread/ |
| HD | thr_sem.c | 50 FB10_COMPAT(_sem_wait_compat, sem_wait);
|
| /freebsd-13-stable/tests/sys/aio/ |
| HD | 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-13-stable/tests/sys/kern/ |
| HD | kcov.c | 185 sem_wait(&sem2); in kcov_mmap_enable_thread() 205 sem_wait(&sem1); in ATF_TC_BODY()
|
| /freebsd-13-stable/contrib/netbsd-tests/fs/common/ |
| HD | fstest_lfs.c | 173 sem_wait(&args->ta_cleanerloop); in lfs_fstest_mount()
|
| /freebsd-13-stable/usr.bin/sort/ |
| HD | 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()
|