Searched refs:sigev (Results 1 - 10 of 10) sorted by relevance

/freebsd-11-stable/tests/sys/mqueue/
H A Dmqtest1.c18 struct sigevent sigev; local
40 sigev.sigev_notify = SIGEV_SIGNAL;
41 sigev.sigev_signo = SIGRTMIN;
42 status = mq_notify(mq, &sigev);
45 status = mq_notify(mq, &sigev);
H A Dmqtest5.c63 struct sigevent sigev; local
67 sigev.sigev_notify = SIGEV_SIGNAL;
68 sigev.sigev_signo = SIGRTMIN;
69 sigev.sigev_value.sival_int = 2;
78 status = mq_notify(mq, &sigev);
/freebsd-11-stable/sys/sys/
H A Dsignalvar.h302 ksiginfo_set_sigev(ksiginfo_t *dst, struct sigevent *sigev) argument
304 dst->ksi_signo = sigev->sigev_signo;
305 dst->ksi_value = sigev->sigev_value;
384 int sigev_findtd(struct proc *p, struct sigevent *sigev, struct thread **);
H A Dsysproto.h1368 char sigev_l_[PADL_(const struct sigevent *)]; const struct sigevent * sigev; char sigev_r_[PADR_(const struct sigevent *)]; member in struct:kmq_notify_args
/freebsd-11-stable/sys/kern/
H A Duipc_mqueue.c2308 kern_kmq_notify(struct thread *td, int mqd, struct sigevent *sigev) argument
2320 if (sigev != NULL) {
2321 if (sigev->sigev_notify != SIGEV_SIGNAL &&
2322 sigev->sigev_notify != SIGEV_THREAD_ID &&
2323 sigev->sigev_notify != SIGEV_NONE)
2325 if ((sigev->sigev_notify == SIGEV_SIGNAL ||
2326 sigev->sigev_notify == SIGEV_THREAD_ID) &&
2327 !_SIG_VALID(sigev->sigev_signo))
2358 if (sigev != NULL) {
2389 nt->nt_sigev = *sigev;
[all...]
H A Dvfs_aio.c469 aio_sendsig(struct proc *p, struct sigevent *sigev, ksiginfo_t *ksi) argument
474 error = sigev_findtd(p, sigev, &td);
478 ksiginfo_set_sigev(ksi, sigev);
H A Dkern_sig.c2100 sigev_findtd(struct proc *p ,struct sigevent *sigev, struct thread **ttd) argument
2104 if (sigev->sigev_notify == SIGEV_THREAD_ID) {
2105 td = tdfind(sigev->sigev_notify_thread_id, p->p_pid);
H A Dsystrace_args.c2583 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent * */
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32_proto.h421 char sigev_l_[PADL_(const struct sigevent32 *)]; const struct sigevent32 * sigev; char sigev_r_[PADR_(const struct sigevent32 *)]; member in struct:freebsd32_kmq_notify_args
H A Dfreebsd32_systrace_args.c2421 uarg[1] = (intptr_t) p->sigev; /* const struct sigevent32 * */

Completed in 199 milliseconds