Searched refs:sigevp (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | clock_timer.c | 82 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 D | sigev_thread.c | 278 struct sigevent *sigevp; in aio_spawner() local 312 sigevp = (struct sigevent *)port_event.portev_object; in aio_spawner() 313 function = sigevp->sigev_notify_function; in aio_spawner() 314 attrp = sigevp->sigev_notify_attributes; in aio_spawner() 448 setup_sigev_handler(const struct sigevent *sigevp, subsystem_t caller) in setup_sigev_handler() argument 453 if (sigevp == NULL) { in setup_sigev_handler() 463 if (sigevp->sigev_notify_attributes == NULL) in setup_sigev_handler() 474 sigevp->sigev_notify_attributes); in setup_sigev_handler() 482 tcdp->tcd_notif = *sigevp; in setup_sigev_handler() 623 _aio_sigev_thread_init(struct sigevent *sigevp) in _aio_sigev_thread_init() argument [all …]
|
H A D | mqueue.c | 906 const struct sigevent *sigevp) in cancel_if_necessary() argument 909 sigevp->sigev_notify_attributes); in cancel_if_necessary() 923 tcdp->tcd_notif.sigev_value = sigevp->sigev_value; in cancel_if_necessary() 925 sigevp->sigev_notify_function; in cancel_if_necessary() 932 mq_notify(mqd_t mqdes, const struct sigevent *sigevp) in mq_notify() argument 956 sigevp = NULL; in mq_notify() 962 if (sigevp == NULL) { /* remove notification */ 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() [all …]
|
/illumos-gate/usr/src/lib/libc/port/aio/ |
H A D | posix_aio.c | 122 int nent, struct sigevent *_RESTRICT_KYWD sigevp) in lio_listio() argument 177 if (_aio_sigev_thread_init(sigevp) != 0) in lio_listio() 181 error = (int)_kaio(AIOLIO, mode, list, nent, sigevp); in lio_listio() 196 (sigevp != NULL && in lio_listio() 197 (sigevp->sigev_notify == SIGEV_SIGNAL || in lio_listio() 198 sigevp->sigev_notify == SIGEV_THREAD || in lio_listio() 199 sigevp->sigev_notify == SIGEV_PORT))) in lio_listio() 205 if (mode == LIO_NOWAIT && sigevp != NULL) { in lio_listio() 206 if (sigevp->sigev_notify == SIGEV_THREAD) { in lio_listio() 207 head->lio_port = sigevp->sigev_signo; in lio_listio() [all …]
|