Home
last modified time | relevance | path

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

/titanic_41/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.c280 struct sigevent *sigevp; in aio_spawner() local
314 sigevp = (struct sigevent *)port_event.portev_object; in aio_spawner()
315 function = sigevp->sigev_notify_function; in aio_spawner()
316 attrp = sigevp->sigev_notify_attributes; in aio_spawner()
450 setup_sigev_handler(const struct sigevent *sigevp, subsystem_t caller) in setup_sigev_handler() argument
455 if (sigevp == NULL) { in setup_sigev_handler()
465 if (sigevp->sigev_notify_attributes == NULL) in setup_sigev_handler()
476 sigevp->sigev_notify_attributes); in setup_sigev_handler()
484 tcdp->tcd_notif = *sigevp; in setup_sigev_handler()
625 _aio_sigev_thread_init(struct sigevent *sigevp) in _aio_sigev_thread_init() argument
[all …]
H A Dmqueue.c908 const struct sigevent *sigevp) in cancel_if_necessary() argument
911 sigevp->sigev_notify_attributes); in cancel_if_necessary()
925 tcdp->tcd_notif.sigev_value = sigevp->sigev_value; in cancel_if_necessary()
927 sigevp->sigev_notify_function; in cancel_if_necessary()
934 mq_notify(mqd_t mqdes, const struct sigevent *sigevp) in mq_notify() argument
958 sigevp = NULL; in mq_notify()
964 if (sigevp == NULL) { /* remove notification */ in mq_notify()
988 switch (ntype = sigevp->sigev_notify) { in mq_notify()
990 userval = sigevp->sigev_value.sival_ptr; in mq_notify()
994 pn = sigevp->sigev_value.sival_ptr; in mq_notify()
[all …]
/titanic_41/usr/src/lib/libc/port/aio/
H A Dposix_aio.c123 int nent, struct sigevent *_RESTRICT_KYWD sigevp) in lio_listio() argument
178 if (_aio_sigev_thread_init(sigevp) != 0) in lio_listio()
182 error = (int)_kaio(AIOLIO, mode, list, nent, sigevp); in lio_listio()
197 (sigevp != NULL && in lio_listio()
198 (sigevp->sigev_notify == SIGEV_SIGNAL || in lio_listio()
199 sigevp->sigev_notify == SIGEV_THREAD || in lio_listio()
200 sigevp->sigev_notify == SIGEV_PORT))) in lio_listio()
206 if (mode == LIO_NOWAIT && sigevp != NULL) { in lio_listio()
207 if (sigevp->sigev_notify == SIGEV_THREAD) { in lio_listio()
208 head->lio_port = sigevp->sigev_signo; in lio_listio()
[all …]