MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sys_kmq_notify

Function sys_kmq_notify

freebsd/kern/uipc_mqueue.c:2431–2446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2429}
2430
2431int
2432sys_kmq_notify(struct thread *td, struct kmq_notify_args *uap)
2433{
2434 struct sigevent ev, *evp;
2435 int error;
2436
2437 if (uap->sigev == NULL) {
2438 evp = NULL;
2439 } else {
2440 error = copyin(uap->sigev, &ev, sizeof(ev));
2441 if (error != 0)
2442 return (error);
2443 evp = &ev;
2444 }
2445 return (kern_kmq_notify(td, uap->mqd, evp));
2446}
2447
2448static void
2449mqueue_fdclose(struct thread *td, int fd, struct file *fp)

Callers 1

linux_mq_notifyFunction · 0.85

Calls 2

kern_kmq_notifyFunction · 0.85
copyinFunction · 0.50

Tested by

no test coverage detected