Home
last modified time | relevance | path

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

123

/freebsd-13.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-13.1/contrib/netbsd-tests/lib/librt/
H A Dt_sem.c124 ATF_REQUIRE_EQ(sem_post(sem_b), 0); in ATF_TC_BODY()
131 ATF_REQUIRE_EQ(sem_post(sem_b), 0); in ATF_TC_BODY()
133 ATF_REQUIRE_EQ(sem_post(sem_b), 0); in ATF_TC_BODY()
135 ATF_REQUIRE_EQ(sem_post(sem_b), 0); in ATF_TC_BODY()
188 ATF_REQUIRE_EQ(sem_post(sem_a), 0); in ATF_TC_BODY()
253 SEM_REQUIRE(sem_post(&sem)); in ATF_TC_BODY()
261 SEM_REQUIRE(sem_post(&sem)); in ATF_TC_BODY()
311 SEM_REQUIRE(sem_post(&sem)); in ATF_TC_BODY()
335 SEM_REQUIRE(sem_post(&sem)); in ATF_TC_BODY()
/freebsd-13.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-13.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 Dlast_local_modify.cc267 sem_post(&sem); in TEST_P()
405 sem_post(&sem); in TEST_P()
H A Dstatfs.cc113 sem_post(&sem); in TEST_F()
H A Dutils.cc270 sem_post(sem); in expect_forget()
633 ASSERT_EQ(0, sem_post(sem)) << strerror(errno); in fork()
/freebsd-13.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-13.1/tools/regression/posixsem2/
H A Dsemtest.c43 if (sem_post(s)) in test_unnamed()
83 if (sem_post(s)) in test_named()
/freebsd-13.1/include/
H A Dsemaphore.h66 int sem_post(sem_t *);
/freebsd-13.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dbarrier.c86 sem_post(&bar->bar_sem); in barrier_wait()
/freebsd-13.1/sys/contrib/openzfs/etc/systemd/system-generators/
H A Dzfs-mount-generator.c618 sem_post(&noauto_files->noauto_names_sem); in line_worker()
624 sem_post(&noauto_files->noauto_names_sem); in line_worker()
648 sem_post(&noauto_files->noauto_names_sem); in line_worker()
983 sem_post(&noauto_files->noauto_not_on_sem); in main()
1009 sem_post( in main()
/freebsd-13.1/contrib/netbsd-tests/fs/ffs/
H A Dh_ffs_server.c47 sem_post(&sigsem); in sigreboot()
/freebsd-13.1/contrib/ofed/librdmacm/
H A Dcma.h74 sem_post(&lock->sem); in fastlock_release()
/freebsd-13.1/tests/sys/aio/
H A Dlio_test.c51 ATF_REQUIRE_EQ(0, sem_post(&completions)); in handler()
57 ATF_REQUIRE_EQ(0, sem_post(&completions)); in thr_handler()
/freebsd-13.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-13.1/lib/libthr/thread/
H A Dthr_sem.c55 FB10_COMPAT(_sem_post_compat, sem_post);
/freebsd-13.1/tests/sys/kern/
H A Dkcov.c158 sem_post(&sem1); in kcov_mmap_enable_thread()
176 sem_post(&sem2); in ATF_TC_BODY()
/freebsd-13.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-13.1/lib/libc/include/
H A Dnamespace.h224 #define sem_post _sem_post macro
H A Dun-namespace.h205 #undef sem_post
/freebsd-13.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()
/freebsd-13.1/lib/libc/gen/
H A Dsem.c122 FB10_COMPAT(_libc_sem_post_compat, sem_post);

123