/third_party/ltp/testcases/kernel/syscalls/timer_create/ |
H A D | timer_create01.c | 34 int sigev_notify; member 60 evp.sigev_notify = nt->sigev_notify; in run() 65 if (nt->sigev_notify == SIGEV_THREAD_ID) in run() 69 nt->sigev_notify ? &evp : NULL, in run()
|
H A D | timer_create02.c | 18 * 4) Pass a sigevent with invalid sigev_notify 30 .sigev_notify = SIGEV_NONE, 35 .sigev_notify = INT_MAX, 40 .sigev_notify = SIGEV_SIGNAL, 56 {CLOCK_REALTIME, &sig_ev_inv_not, &timer_id, EINVAL, "wrong sigev_notify"},
|
/third_party/musl/porting/linux/user/src/time/ |
H A D | timer_create.c | 10 int sigev_notify; member 73 switch (evp ? evp->sigev_notify : SIGEV_SIGNAL) { in timer_create() 80 ksev.sigev_notify = evp->sigev_notify; in timer_create() 81 if (evp->sigev_notify == SIGEV_THREAD_ID) in timer_create() 116 ksev.sigev_notify = SIGEV_THREAD_ID; in timer_create()
|
/third_party/musl/src/time/ |
H A D | timer_create.c | 10 int sigev_notify; member 122 switch (evp ? evp->sigev_notify : SIGEV_SIGNAL) { in timer_create() 129 ksev.sigev_notify = evp->sigev_notify; in timer_create() 130 if (evp->sigev_notify == SIGEV_THREAD_ID) in timer_create() 165 ksev.sigev_notify = SIGEV_THREAD_ID; in timer_create()
|
/third_party/ltp/lib/ |
H A D | tlibio.c | 607 aiocbp.aio_sigevent.sigev_notify = SIGEV_NONE; in lio_write_buffer() 684 aiocbp.aio_sigevent.sigev_notify = SIGEV_SIGNAL; in lio_write_buffer() 694 aiocbp.aio_sigevent.sigev_notify = SIGEV_CALLBACK; in lio_write_buffer() 704 aiocbp.aio_sigevent.sigev_notify = SIGEV_THREAD; in lio_write_buffer() 1183 aiocbp.aio_sigevent.sigev_notify = SIGEV_NONE; in lio_read_buffer() 1260 aiocbp.aio_sigevent.sigev_notify = SIGEV_SIGNAL; in lio_read_buffer() 1267 aiocbp.aio_sigevent.sigev_notify = SIGEV_CALLBACK; in lio_read_buffer() 1277 aiocbp.aio_sigevent.sigev_notify = SIGEV_THREAD; in lio_read_buffer() 1697 if (aiocbp->aio_sigevent.sigev_notify == SIGEV_SIGNAL) 1708 "%s/%d %s, aio_error had to loop on EINPROGRESS, cnt=%d; random method %#o; sigev_notify [all...] |
/third_party/rust/crates/nix/src/sys/ |
H A D | aio.rs | 145 fn common_init(fd: RawFd, prio: i32, sigev_notify: SigevNotify) -> Self { in common_init() 153 a.aio_sigevent = SigEvent::new(sigev_notify).sigevent(); in common_init() 183 fn set_sigev_notify(&mut self, sigev_notify: SigevNotify) { in set_sigev_notify() 188 self.aiocb.0.aio_sigevent = SigEvent::new(sigev_notify).sigevent(); in set_sigev_notify() 454 /// * `sigev_notify`: Determines how you will be notified of event 460 sigev_notify: SigevNotify, in new() 462 let mut aiocb = AioCb::common_init(fd, prio, sigev_notify); in new() 573 /// * `sigev_notify`: Determines how you will be notified of event 580 sigev_notify: SigevNotify, in new() 582 let mut aiocb = AioCb::common_init(fd, prio, sigev_notify); in new() [all...] |
H A D | signal.rs | 1059 pub fn new(sigev_notify: SigevNotify) -> SigEvent { in new() 1061 sev.sigev_notify = match sigev_notify { in new() 1075 sev.sigev_signo = match sigev_notify { in new() 1083 sev.sigev_value.sival_ptr = match sigev_notify { in new() 1091 SigEvent::set_tid(&mut sev, &sigev_notify); in new() 1096 fn set_tid(sev: &mut libc::sigevent, sigev_notify: &SigevNotify) { in set_tid() 1097 sev.sigev_notify_thread_id = match *sigev_notify { in set_tid()
|
/third_party/ltp/testcases/kernel/syscalls/mq_notify/ |
H A D | mq_notify02.c | 22 {{.sigev_notify = -1}, EINVAL}, 23 {{.sigev_notify = SIGEV_SIGNAL, .sigev_signo = _NSIG + 1}, EINVAL},
|
/third_party/musl/src/aio/ |
H A D | lio_listio.c | 59 switch (sev->sigev_notify) { in wait_thread() 81 if (mode == LIO_WAIT || (sev && sev->sigev_notify != SIGEV_NONE)) { in lio_listio() 121 if (sev->sigev_notify == SIGEV_THREAD) { in lio_listio()
|
/third_party/musl/porting/liteos_a/user/src/aio/ |
H A D | lio_listio.c | 59 switch (sev->sigev_notify) { in wait_thread() 82 if (mode == LIO_WAIT || (sev && sev->sigev_notify != SIGEV_NONE)) { in lio_listio() 122 if (sev->sigev_notify == SIGEV_THREAD) { in lio_listio()
|
/third_party/musl/src/mq/ |
H A D | mq_notify.c | 34 sev2.sigev_notify = SIGEV_THREAD; in start() 54 if (!sev || sev->sigev_notify != SIGEV_THREAD) { in mq_notify() 68 if (!sev || sev->sigev_notify != SIGEV_THREAD) in mq_notify()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
H A D | 2-1.c | 108 se.sigev_notify = SIGEV_SIGNAL; in parent_process() 179 se.sigev_notify = SIGEV_SIGNAL; in child_process() 195 se.sigev_notify = SIGEV_SIGNAL; in child_process()
|
/third_party/musl/porting/linux/user/src/mq/ |
H A D | mq_notify.c | 42 if (!sev || sev->sigev_notify != SIGEV_THREAD) in mq_notify() 63 sev2.sigev_notify = SIGEV_THREAD; in mq_notify()
|
/third_party/ltp/testcases/open_posix_testsuite/functional/timers/timers/ |
H A D | twoevtimers.c | 65 ev1.sigev_notify = SIGEV_SIGNAL; in main() 67 ev2.sigev_notify = SIGEV_SIGNAL; in main()
|
H A D | twoptimers.c | 57 ev.sigev_notify = SIGEV_SIGNAL; in main() 112 ev.sigev_notify = SIGEV_SIGNAL; in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/ |
H A D | timer_settime.c | 50 sev.sigev_notify = SIGEV_SIGNAL; in timer_settime_0100() 104 sev.sigev_notify = SIGEV_SIGNAL; in timer_settime64_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
H A D | timer_test.cpp | 64 se_.sigev_notify = SIGEV_THREAD; in Scaler() 154 sev.sigev_notify = SIGEV_SIGNAL; in HWTEST_F() 178 sev.sigev_notify = SIGEV_THREAD; in HWTEST_F()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/ |
H A D | 10-1.c | 107 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main() 113 event.sigev_notify = SIGEV_SIGNAL; in main()
|
H A D | 3-1.c | 107 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main() 113 event.sigev_notify = SIGEV_SIGNAL; in main()
|
H A D | 14-1.c | 118 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main() 124 event.sigev_notify = SIGEV_SIGNAL; in main()
|
H A D | 15-1.c | 112 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main() 118 event.sigev_notify = SIGEV_SIGNAL; in main()
|
H A D | 4-1.c | 115 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main() 121 event.sigev_notify = SIGEV_SIGNAL; in main()
|
H A D | 7-1.c | 112 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main() 118 event.sigev_notify = SIGEV_SIGNAL; in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/ |
H A D | 5-1.c | 87 aiocb[i]->aio_sigevent.sigev_notify = SIGEV_NONE; in main() 131 (aiocb[i]->aio_sigevent.sigev_notify != in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/ |
H A D | 4-1.c | 112 aiocbs[i].aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main() 122 event.sigev_notify = SIGEV_SIGNAL; in main()
|