/third_party/NuttX/drivers/pipes/ |
D | pipe_common.c | 202 (void)sem_post(&dev->d_bfsem); in pipecommon_open() 222 sem_post(&dev->d_rdsem); in pipecommon_open() 239 (void)sem_post(&dev->d_bfsem); in pipecommon_open() 318 sem_post(&dev->d_rdsem); in pipecommon_close() 368 sem_post(&dev->d_bfsem); in pipecommon_close() 416 sem_post(&dev->d_bfsem); in pipecommon_read() 424 sem_post(&dev->d_bfsem); in pipecommon_read() 430 sem_post(&dev->d_bfsem); in pipecommon_read() 449 sem_post(&dev->d_bfsem); in pipecommon_read() 472 sem_post(&dev->d_wrsem); in pipecommon_read() [all …]
|
D | pipe.c | 123 (void)sem_post(&g_pipesem); in pipe_free() 176 (void)sem_post(&g_pipesem); in pipe_unlink() 266 (void)sem_post(&g_pipesem); in pipe() 280 (void)sem_post(&g_pipesem); in pipe() 296 (void)sem_post(&g_pipesem); in pipe() 309 (void)sem_post(&g_pipesem); in pipe() 344 (void)sem_post(&g_pipesem); in pipe()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
D | sem_sleepingbarber.c | 39 sem_post(&print); \ 65 if (-1 == sem_post(&lock)) { in barbers() 82 if (-1 == sem_post(&lock)) { in barbers() 86 if (-1 == sem_post(&barber)) { in barbers() 110 if (-1 == sem_post(&customer)) { in customers() 117 if (-1 == sem_post(&lock)) { in customers() 130 if (-1 == sem_post(&lock)) { in customers()
|
D | sem_conpro.c | 56 if (-1 == sem_post(&buf->lock)) { in producer() 60 if (-1 == sem_post(&buf->empty)) { in producer() 85 if (-1 == sem_post(&buf->lock)) { in consumer() 89 if (-1 == sem_post(&buf->occupied)) { in consumer()
|
D | sem_readerwriter.c | 63 if (-1 == sem_post(&r_lock)) { in reader() 75 if (-1 == sem_post(&w_lock)) { in reader() 80 if (-1 == sem_post(&r_lock)) { in reader() 100 if (-1 == sem_post(&w_lock)) { in writer()
|
D | sem_philosopher.c | 63 sem_post(&ph[ID]); in test() 84 if (-1 == sem_post(&lock)) { in philosopher() 109 if (-1 == sem_post(&lock)) { in philosopher()
|
/third_party/musl/libc-test/src/regression/ |
D | pthread_cancel-sem_wait.c | 62 sem_post(&sem1); in main() 72 sem_post(&sem1); in main() 79 sem_post(&sem2); in main() 82 sem_post(&sem1); in main() 92 sem_post(&sem1); in main() 102 sem_post(&sem1); in main()
|
D | pthread_once-deadlock.c | 23 E(sem_post(a[1])); in start() 25 E(sem_post(a[1])); in start()
|
/third_party/musl/src/thread/ |
D | synccall.c | 28 sem_post(&caller_sem); in handler() 35 sem_post(&caller_sem); in handler() 39 sem_post(&caller_sem); in handler() 96 sem_post(&target_sem); in __synccall() 109 sem_post(&target_sem); in __synccall()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
D | 8-1.c | 214 sem_post(sem); in main() 219 sem_post(sem); in main() 224 sem_post(sem); in main() 240 sem_post(sem); in main() 247 sem_post(sem); in main() 248 sem_post(sem); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/semaphores/ |
D | multi_con_pro.c | 67 if (-1 == sem_post(&buf->lock)) { in producer() 71 if (-1 == sem_post(&buf->empty)) { in producer() 94 if (-1 == sem_post(&buf->lock)) { in producer() 98 if (-1 == sem_post(&buf->empty)) { in producer() 126 if (-1 == sem_post(&buf->lock)) { in consumer() 130 if (-1 == sem_post(&buf->full)) { in consumer()
|
/third_party/musl/libc-test/src/functional/ |
D | sem_init.c | 18 T(sem_post(s)); in start() 41 T(sem_post(s+1)); in many_waiters() 42 T(sem_post(s+1)); in many_waiters() 43 T(sem_post(s+1)); in many_waiters()
|
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/fork/ |
D | s-c1.c | 186 ret = sem_post(sem_ending); in main() 201 ret = sem_post(sem_synchro); in main() 222 ret = sem_post(sem_ending); in main() 258 sem_post(sem_ending); in main() 276 sem_post(sem_ending); in main() 316 ret = sem_post(sem_ending); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/ |
D | 3-1.c | 128 if ((sem_post(&semsig1))) { in sighdl1() 137 if ((sem_post(&semsig2))) { in sighdl2() 166 if ((sem_post(&semsync2))) { in threaded() 357 if ((sem_post(&semsync))) { in main()
|
D | 4-1.c | 106 if ((ret = sem_post(&sem))) { in threaded() 118 if ((ret = sem_post(&sem))) { in threaded()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/ |
D | 3-1.c | 38 sem_post(&csem); in producer() 49 sem_post(&psem); in consumer()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_destroy/ |
D | 3-1.c | 75 sem_post(&csem); in producer() 86 sem_post(&psem); in consumer()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/ |
D | 3-2.c | 125 if ((ret = sem_post(&semA))) { in deadlk_issue() 151 if ((ret = sem_post(&semA))) { in unlock_issue() 244 if ((ret = sem_post(&semB))) { in main()
|
D | 1-2.c | 119 if ((ret = sem_post(&semA))) { in deadlk_issue() 145 if ((ret = sem_post(&semA))) { in unlock_issue() 251 if ((ret = sem_post(&semB))) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 14-1.c | 89 ret = sem_post(sem_linked); in main() 98 ret = sem_post(sem_unlinked); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
D | 4-3.c | 129 if (sem_post(&semsig1)) in sighdl1() 149 ret = sem_post(&scenarii[sc].sem); in threaded() 275 if (sem_post(&semsig1)) in do_child()
|
D | 2-2.c | 119 ret = sem_post(&(scenarii[sc].sem)); in threaded() 206 ret = sem_post(&sem_sync); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 2-2.c | 117 ret = sem_post(sem); in common() 201 ret = sem_post(sem); in main()
|
/third_party/ltp/testcases/kernel/syscalls/move_pages/ |
D | move_pages03.c | 97 if (sem_post(&sem[SEM_CHILD_SETUP]) == -1) in child() 178 if (sem_post(&sem[SEM_PARENT_TEST]) == -1) in main()
|
D | move_pages11.c | 98 if (sem_post(&sem[SEM_CHILD_SETUP]) == -1) in child() 178 if (sem_post(&sem[SEM_PARENT_TEST]) == -1) in main()
|