Searched refs:kn_hook (Results 1 - 8 of 8) sorted by relevance

/xnu-2422.115.4/bsd/miscfs/specfs/
H A Dspec_vnops.c2299 kn->kn_hook = wait_queue_link_allocate();
2300 if (kn->kn_hook == NULL) {
2323 ret = wait_queue_set_unlink_one(kn->kn_kq->kq_wqs, kn->kn_hook);
2328 (void)wait_queue_link_free(kn->kn_hook);
2329 kn->kn_hook = NULL;
2346 assert(kn->kn_hook != NULL);
2370 selres = VNOP_SELECT(vp, filter_to_seltype(kn->kn_filter), 0, kn->kn_hook, ctx);
2411 selres = VNOP_SELECT(vp, filter_to_seltype(kn->kn_filter), 0, kn->kn_hook, ctx);
/xnu-2422.115.4/bsd/kern/
H A Dkern_event.c832 wait_queue_wakeup_all((wait_queue_t)kq->kq_wqs, &kn->kn_hook,
847 thread_call_t callout = kn->kn_hook;
859 &kn->kn_hook, THREAD_UNINT, 0);
888 kn->kn_hook = (void*)callout;
932 callout = (thread_call_t)kn->kn_hook;
971 thread_call_enter_delayed_with_leeway(kn->kn_hook, NULL,
1039 thread_call_enter_delayed_with_leeway(kn->kn_hook, NULL,
1082 kn->kn_hook = NULL;
H A Dtty_ptmx.c1599 if (kn->kn_hook != PTSD_KNOTE_VALID ) {
1666 kn->kn_hook = PTSD_KNOTE_VALID;
1688 * Mark all the kn_hook fields so that future invocations of the
1709 kn->kn_hook = PTSD_KNOTE_REVOKED;
1713 kn->kn_hook = PTSD_KNOTE_REVOKED;
/xnu-2422.115.4/bsd/sys/
H A Devent.h420 void *kn_hook; member in struct:knote
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_vnops.c1576 kn->kn_hook = (void*)vp;
1598 vp = (struct vnode *)kn->kn_hook;
1697 vnode_t vp = (struct vnode *)kn->kn_hook;
H A Dvfs_fsevents.c1837 fsevent_handle *fseh = (struct fsevent_handle *)kn->kn_hook;
1858 fsevent_handle *fseh = (struct fsevent_handle *)kn->kn_hook;
1914 kn->kn_hook = (void*)fseh;
/xnu-2422.115.4/bsd/security/audit/
H A Daudit_pipe.c1076 ap = (struct audit_pipe *)kn->kn_hook;
1097 ap = (struct audit_pipe *)kn->kn_hook;
/xnu-2422.115.4/bsd/net/
H A Dbpf.c1978 kn->kn_hook = d;
1988 struct bpf_d *d = (struct bpf_d *)kn->kn_hook;
1998 struct bpf_d *d = (struct bpf_d *)kn->kn_hook;

Completed in 84 milliseconds