| 1968 | } |
| 1969 | |
| 1970 | static struct mqueue_notifier * |
| 1971 | notifier_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 | |
| 1982 | static __inline void |
| 1983 | notifier_insert(struct proc *p, struct mqueue_notifier *nt) |
no outgoing calls
no test coverage detected