Home
last modified time | relevance | path

Searched refs:sigevp (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/rt/
H A Dclock_timer.c82 timer_create(clockid_t clock_id, struct sigevent *sigevp, timer_t *timerid) in timer_create() argument
92 if (sigevp != NULL && in timer_create()
93 sigevp->sigev_notify == SIGEV_THREAD && in timer_create()
94 sigevp->sigev_notify_function != NULL) { in timer_create()
96 tcdp = setup_sigev_handler(sigevp, TIMER); in timer_create()
100 sigevent = *sigevp; in timer_create()
101 sigevp = &sigevent; in timer_create()
104 sigevp->sigev_value.sival_ptr = &port_notify; in timer_create()
107 rc = __timer_create(clock_id, sigevp, timerid); in timer_create()
H A Dsigev_thread.c278 struct sigevent *sigevp; in aio_spawner() local
313 function = sigevp->sigev_notify_function; in aio_spawner()
314 attrp = sigevp->sigev_notify_attributes; in aio_spawner()
453 if (sigevp == NULL) { in setup_sigev_handler()
474 sigevp->sigev_notify_attributes); in setup_sigev_handler()
482 tcdp->tcd_notif = *sigevp; in setup_sigev_handler()
634 if (sigevp == NULL || in _aio_sigev_thread_init()
635 sigevp->sigev_notify != SIGEV_THREAD || in _aio_sigev_thread_init()
636 sigevp->sigev_notify_function == NULL) in _aio_sigev_thread_init()
650 tcdp = setup_sigev_handler(sigevp, AIO); in _aio_sigev_thread_init()
[all …]
H A Dmqueue.c906 const struct sigevent *sigevp) in cancel_if_necessary() argument
909 sigevp->sigev_notify_attributes); in cancel_if_necessary()
925 sigevp->sigev_notify_function; in cancel_if_necessary()
956 sigevp = NULL; in mq_notify()
986 switch (ntype = sigevp->sigev_notify) { in mq_notify()
988 userval = sigevp->sigev_value.sival_ptr; in mq_notify()
992 pn = sigevp->sigev_value.sival_ptr; in mq_notify()
1002 sigevp = &sigevent; in mq_notify()
1011 mq_siginfo.si_signo = sigevp->sigev_signo; in mq_notify()
1017 cancel_if_necessary(tcdp, sigevp)) in mq_notify()
[all …]
/illumos-gate/usr/src/lib/libc/port/aio/
H A Dposix_aio.c178 if (_aio_sigev_thread_init(sigevp) != 0) in lio_listio()
197 (sigevp != NULL && in lio_listio()
208 head->lio_port = sigevp->sigev_signo; in lio_listio()
210 head->lio_sigevent = sigevp; in lio_listio()
212 sigevp->sigev_value.sival_ptr; in lio_listio()
215 sigevp->sigev_value.sival_ptr; in lio_listio()
218 head->lio_sigevent = sigevp; in lio_listio()
224 sigevp->sigev_value.sival_ptr; in lio_listio()
1393 (sigevp != NULL && in lio_listio64()
1406 head->lio_sigevent = sigevp; in lio_listio64()
[all …]