Home
last modified time | relevance | path

Searched refs:sigev_notify (Results 1 - 25 of 147) sorted by relevance

123456

/third_party/ltp/testcases/kernel/syscalls/timer_create/
H A Dtimer_create01.c34 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 Dtimer_create02.c18 * 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 Dtimer_create.c10 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 Dtimer_create.c10 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 Dtlibio.c607 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 Daio.rs145 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 Dsignal.rs1059 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 Dmq_notify02.c22 {{.sigev_notify = -1}, EINVAL},
23 {{.sigev_notify = SIGEV_SIGNAL, .sigev_signo = _NSIG + 1}, EINVAL},
/third_party/musl/src/aio/
H A Dlio_listio.c59 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 Dlio_listio.c59 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 Dmq_notify.c34 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 D2-1.c108 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 Dmq_notify.c42 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 Dtwoevtimers.c65 ev1.sigev_notify = SIGEV_SIGNAL; in main()
67 ev2.sigev_notify = SIGEV_SIGNAL; in main()
H A Dtwoptimers.c57 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 Dtimer_settime.c50 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 Dtimer_test.cpp64 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 D10-1.c107 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main()
113 event.sigev_notify = SIGEV_SIGNAL; in main()
H A D3-1.c107 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main()
113 event.sigev_notify = SIGEV_SIGNAL; in main()
H A D14-1.c118 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main()
124 event.sigev_notify = SIGEV_SIGNAL; in main()
H A D15-1.c112 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main()
118 event.sigev_notify = SIGEV_SIGNAL; in main()
H A D4-1.c115 aiocbs[i]->aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main()
121 event.sigev_notify = SIGEV_SIGNAL; in main()
H A D7-1.c112 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 D5-1.c87 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 D4-1.c112 aiocbs[i].aio_sigevent.sigev_notify = SIGEV_SIGNAL; in main()
122 event.sigev_notify = SIGEV_SIGNAL; in main()

Completed in 11 milliseconds

123456