| 278 | } |
| 279 | |
| 280 | static void |
| 281 | filt_eventfddetach(struct knote *kn) |
| 282 | { |
| 283 | struct eventfd *efd = kn->kn_hook; |
| 284 | |
| 285 | mtx_lock(&efd->efd_lock); |
| 286 | knlist_remove(&efd->efd_sel.si_note, kn, 1); |
| 287 | mtx_unlock(&efd->efd_lock); |
| 288 | } |
| 289 | |
| 290 | static int |
| 291 | filt_eventfdread(struct knote *kn, long hint) |
nothing calls this directly
no test coverage detected