Lines Matching refs:knote

152 static int 	knote_attach(struct knote *kn, struct kqueue *kq);
153 static void knote_drop(struct knote *kn, struct thread *td);
154 static void knote_drop_detached(struct knote *kn, struct thread *td);
155 static void knote_enqueue(struct knote *kn);
156 static void knote_dequeue(struct knote *kn);
158 static struct knote *knote_alloc(int mflag);
159 static void knote_free(struct knote *kn);
161 static void filt_kqdetach(struct knote *kn);
162 static int filt_kqueue(struct knote *kn, long hint);
163 static int filt_procattach(struct knote *kn);
164 static void filt_procdetach(struct knote *kn);
165 static int filt_proc(struct knote *kn, long hint);
166 static int filt_fileattach(struct knote *kn);
168 static void filt_timerexpire_l(struct knote *kn, bool proc_locked);
169 static int filt_timerattach(struct knote *kn);
170 static void filt_timerdetach(struct knote *kn);
171 static void filt_timerstart(struct knote *kn, sbintime_t to);
172 static void filt_timertouch(struct knote *kn, struct kevent *kev,
174 static int filt_timervalidate(struct knote *kn, sbintime_t *to);
175 static int filt_timer(struct knote *kn, long hint);
176 static int filt_userattach(struct knote *kn);
177 static void filt_userdetach(struct knote *kn);
178 static int filt_user(struct knote *kn, long hint);
179 static void filt_usertouch(struct knote *kn, struct kevent *kev,
254 kn_list_lock(struct knote *kn) in kn_list_lock()
280 kn_in_flux(struct knote *kn) in kn_in_flux()
287 kn_enter_flux(struct knote *kn) in kn_enter_flux()
296 kn_leave_flux(struct knote *kn) in kn_leave_flux()
330 filt_nullattach(struct knote *kn) in filt_nullattach()
375 filt_fileattach(struct knote *kn) in filt_fileattach()
383 kqueue_kqfilter(struct file *fp, struct knote *kn) in kqueue_kqfilter()
398 filt_kqdetach(struct knote *kn) in filt_kqdetach()
407 filt_kqueue(struct knote *kn, long hint) in filt_kqueue()
417 filt_procattach(struct knote *kn) in filt_procattach()
486 filt_procdetach(struct knote *kn) in filt_procdetach()
495 filt_proc(struct knote *kn, long hint) in filt_proc()
537 struct knote *kn; in knote_fork()
684 struct knote *kn;
724 filt_timerexpire_l(struct knote *kn, bool proc_locked) in filt_timerexpire_l()
787 filt_timervalidate(struct knote *kn, sbintime_t *to) in filt_timervalidate()
815 filt_timerattach(struct knote *kn) in filt_timerattach()
851 filt_timerstart(struct knote *kn, sbintime_t to) in filt_timerstart()
867 filt_timerdetach(struct knote *kn) in filt_timerdetach()
896 filt_timertouch(struct knote *kn, struct kevent *kev, u_long type) in filt_timertouch()
963 filt_timer(struct knote *kn, long hint) in filt_timer()
970 filt_userattach(struct knote *kn) in filt_userattach()
985 filt_userdetach(__unused struct knote *kn) in filt_userdetach()
994 filt_user(struct knote *kn, __unused long hint) in filt_user()
1001 filt_usertouch(struct knote *kn, struct kevent *kev, u_long type) in filt_usertouch()
1500 struct knote *kn, *tkn; in kqueue_register()
1925 struct knote *kn, *marker; in kqueue_scan()
2218 struct knote *kn; in kqueue_drain()
2377 knote(struct knlist *list, long hint, int lockflags) in knote() function
2380 struct knote *kn, *tkn; in knote()
2434 knlist_add(struct knlist *knl, struct knote *kn, int islocked) in knlist_add()
2454 knlist_remove_kq(struct knlist *knl, struct knote *kn, int knlislocked, in knlist_remove_kq()
2466 SLIST_REMOVE(&knl->kl_list, kn, knote, kn_selnext); in knlist_remove_kq()
2481 knlist_remove(struct knlist *knl, struct knote *kn, int islocked) in knlist_remove()
2597 struct knote *kn, *kn2; in knlist_cleardel()
2660 struct knote *kn; in knote_fdclose()
2695 knote_attach(struct knote *kn, struct kqueue *kq) in knote_attach()
2718 knote_drop(struct knote *kn, struct thread *td) in knote_drop()
2727 knote_drop_detached(struct knote *kn, struct thread *td) in knote_drop_detached()
2755 SLIST_REMOVE(list, kn, knote, kn_link); in knote_drop_detached()
2770 knote_enqueue(struct knote *kn) in knote_enqueue()
2784 knote_dequeue(struct knote *kn) in knote_dequeue()
2800 knote_zone = uma_zcreate("KNOTE", sizeof(struct knote), NULL, NULL, in knote_init()
2804 SYSINIT(knote, SI_SUB_PSEUDO, SI_ORDER_ANY, knote_init, NULL);
2806 static struct knote *
2814 knote_free(struct knote *kn) in knote_free()
2880 int kq_fd, struct kqueue *kq, struct knote *kn, bool compat32 __unused) in kern_proc_kqueue_report_one()
2915 struct knote *kn; in kern_proc_kqueue_report()