Home
last modified time | relevance | path

Searched refs:sem_post (Results 1 – 25 of 51) sorted by relevance

123

/freebsd-12.1/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c101 ATF_REQUIRE_EQ(sem_post(sem_b), 0); in ATF_TC_BODY()
108 ATF_REQUIRE_EQ(sem_post(sem_b), 0); in ATF_TC_BODY()
110 ATF_REQUIRE_EQ(sem_post(sem_b), 0); in ATF_TC_BODY()
112 ATF_REQUIRE_EQ(sem_post(sem_b), 0); in ATF_TC_BODY()
165 ATF_REQUIRE_EQ(sem_post(sem_a), 0); in ATF_TC_BODY()
218 SEM_REQUIRE(sem_post(&sem)); in ATF_TC_BODY()
226 SEM_REQUIRE(sem_post(&sem)); in ATF_TC_BODY()
265 SEM_REQUIRE(sem_post(&sem)); in ATF_TC_BODY()
275 SEM_REQUIRE(sem_post(&sem)); in ATF_TC_BODY()
/freebsd-12.1/contrib/netbsd-tests/lib/semaphore/
H A Dsem.c43 sem_post(&sem); in ATF_TC_BODY()
44 sem_post(&sem); in ATF_TC_BODY()
114 sem_post(&semmarit[2]); in hthread()
156 sem_post(&semmarit[0]); in ATF_TC_BODY()
157 sem_post(&semmarit[1]); in ATF_TC_BODY()
196 sem_post(&semmarit[0]); in ATF_TC_BODY()
197 sem_post(&semmarit[1]); in ATF_TC_BODY()
272 ATF_REQUIRE_EQ(sem_post(sem2), 0); in ATF_TC_BODY()
286 sem_post(sem1); in ATF_TC_BODY()
/freebsd-12.1/contrib/netbsd-tests/lib/libpthread/
H A Dt_sem.c171 SEM_REQUIRE(sem_post(&sem_b)); in ATF_TC_BODY()
178 SEM_REQUIRE(sem_post(&sem_b)); in ATF_TC_BODY()
180 SEM_REQUIRE(sem_post(&sem_b)); in ATF_TC_BODY()
182 SEM_REQUIRE(sem_post(&sem_b)); in ATF_TC_BODY()
197 SEM_REQUIRE(sem_post(&sem_a)); in ATF_TC_BODY()
216 SEM_REQUIRE(sem_post(&sem)); in sighandler()
/freebsd-12.1/tests/sys/fs/fusefs/
H A Dinterrupt.cc81 sem_post(signaled_semaphore); in killer()
110 sem_post(blocked_semaphore); in expect_mkdir()
128 sem_post(blocked_semaphore); in expect_read()
146 sem_post(blocked_semaphore); in expect_write()
335 sem_post(&sem0); in TEST_F()
359 sem_post(&sem1); in TEST_F()
431 sem_post(&sem1); in TEST_F()
458 ASSERT_EQ(0, sem_post(&sem0)) << strerror(errno); in TEST_F()
507 sem_post(&sem1); in TEST_F()
645 sem_post(blocked_semaphore); in TEST_F()
[all …]
H A Ddev_fuse_poll.cc163 sem_post(&sem0); in TEST_F()
217 EXPECT_EQ(0, sem_post(&sem1)) << strerror(errno); in TEST_F()
H A Ddestroy.cc107 sem_post(&sem); in TEST_F()
H A Dstatfs.cc113 sem_post(&sem); in TEST_F()
H A Dutils.cc225 sem_post(sem); in expect_forget()
574 ASSERT_EQ(0, sem_post(sem)) << strerror(errno); in fork()
/freebsd-12.1/contrib/ofed/librdmacm/examples/
H A Drping.c177 sem_post(&cb->sem); in rping_cma_event_handler()
183 sem_post(&cb->sem); in rping_cma_event_handler()
190 sem_post(&cb->sem); in rping_cma_event_handler()
202 sem_post(&cb->sem); in rping_cma_event_handler()
212 sem_post(&cb->sem); in rping_cma_event_handler()
220 sem_post(&cb->sem); in rping_cma_event_handler()
226 sem_post(&cb->sem); in rping_cma_event_handler()
306 sem_post(&cb->sem); in rping_cq_event_handler()
312 sem_post(&cb->sem); in rping_cq_event_handler()
329 sem_post(&cb->sem); in rping_cq_event_handler()
[all …]
/freebsd-12.1/tools/regression/posixsem2/
H A Dsemtest.c43 if (sem_post(s)) in test_unnamed()
83 if (sem_post(s)) in test_named()
/freebsd-12.1/tests/sys/aio/
H A Dlio_test.c48 ATF_REQUIRE_EQ(0, sem_post(&completions)); in handler()
54 ATF_REQUIRE_EQ(0, sem_post(&completions)); in thr_handler()
/freebsd-12.1/include/
H A Dsemaphore.h66 int sem_post(sem_t *);
/freebsd-12.1/contrib/gcclibs/libgomp/config/posix/
H A Dsem.h82 sem_post (sem); in gomp_sem_post()
/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dbarrier.c86 sem_post(&bar->bar_sem); in barrier_wait()
/freebsd-12.1/contrib/netbsd-tests/fs/ffs/
H A Dh_ffs_server.c47 sem_post(&sigsem); in sigreboot()
/freebsd-12.1/contrib/ofed/librdmacm/
H A Dcma.h74 sem_post(&lock->sem); in fastlock_release()
/freebsd-12.1/usr.sbin/pppctl/
H A Dpppctl.c234 sem_post(&sem_select); in InputHandler()
258 sem_post(&sem_select); in SmartGets()
637 sem_post(&sem_select); in main()
/freebsd-12.1/lib/libthr/thread/
H A Dthr_sem.c55 FB10_COMPAT(_sem_post_compat, sem_post);
/freebsd-12.1/contrib/compiler-rt/lib/fuzzer/
H A DFuzzerShmemPosix.cpp91 sem_post((sem_t*)Semaphore[Idx]); in Post()
/freebsd-12.1/usr.bin/sort/
H A Dfile.c148 sem_post(&tmp_files_sem); in tmp_file_atexit()
165 sem_post(&tmp_files_sem); in clear_tmp_files()
186 sem_post(&tmp_files_sem); in file_is_tmp()
1313 sem_post(&mtsem); in mt_sort_thread()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD/
H A DProcessMonitor.cpp825 sem_post(&args->m_semaphore); in LaunchOpThread()
1205 sem_post(&args->m_semaphore); in ServeOperation()
1214 sem_post(&monitor->m_operation_done); in ServeOperation()
1224 sem_post(&m_operation_pending); in DoOperation()
/freebsd-12.1/lib/libc/include/
H A Dnamespace.h222 #define sem_post _sem_post macro
H A Dun-namespace.h203 #undef sem_post
/freebsd-12.1/tests/sys/cddl/zfs/tests/txg_integrity/
H A Dfsync_integrity.c404 if (sem_post(&chunk_sems[thread_num][chunk_idx]) == -1){ in worker()
H A Dtxg_integrity.c467 if (sem_post(&chunk_sems[chunk_idx]) == -1){ in leader()

123