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

Function notifier_search

freebsd/kern/uipc_mqueue.c:1970–1980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1968}
1969
1970static struct mqueue_notifier *
1971notifier_search(struct proc *p, int fd)
1972{
1973 struct mqueue_notifier *nt;
1974
1975 LIST_FOREACH(nt, &p->p_mqnotifier, nt_link) {
1976 if (nt->nt_ksi.ksi_mqd == fd)
1977 break;
1978 }
1979 return (nt);
1980}
1981
1982static __inline void
1983notifier_insert(struct proc *p, struct mqueue_notifier *nt)

Callers 2

notifier_removeFunction · 0.85
kern_kmq_notifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected