Home
last modified time | relevance | path

Searched refs:knote (Results 1 – 25 of 29) sorted by relevance

12

/f-stack/tools/compat/include/sys/
H A Devent.h151 struct knote;
152 SLIST_HEAD(klist, knote);
174 #define KNOTE(list, hist, flags) knote(list, hist, flags)
176 #define KNOTE_UNLOCKED(list, hint) knote(list, hint, 0)
198 int (*f_attach)(struct knote *kn);
199 void (*f_detach)(struct knote *kn);
200 int (*f_event)(struct knote *kn, long hint);
210 struct knote { struct
211 SLIST_ENTRY(knote) kn_link; /* for kq */
212 SLIST_ENTRY(knote) kn_selnext; /* for struct selinfo */
[all …]
/f-stack/freebsd/sys/
H A Devent.h219 struct knote;
220 SLIST_HEAD(klist, knote);
240 #define KNOTE(list, hint, flags) knote(list, hint, flags)
242 #define KNOTE_UNLOCKED(list, hint) knote(list, hint, 0)
264 int (*f_attach)(struct knote *kn);
265 void (*f_detach)(struct knote *kn);
266 int (*f_event)(struct knote *kn, long hint);
279 struct knote { struct
280 SLIST_ENTRY(knote) kn_link; /* for kq */
281 SLIST_ENTRY(knote) kn_selnext; /* for struct selinfo */
[all …]
H A Deventvar.h47 TAILQ_HEAD(, knote) kq_head; /* list of pending event */
H A Dfile.h53 struct knote;
109 typedef int fo_kqfilter_t(struct file *fp, struct knote *kn);
381 fo_kqfilter(struct file *fp, struct knote *kn) in fo_kqfilter()
H A Dconf.h108 struct knote;
123 typedef int d_kqfilter_t(struct cdev *dev, struct knote *kn);
/f-stack/freebsd/kern/
H A Dkern_event.c249 kn_list_lock(struct knote *kn) in kn_list_lock()
275 kn_in_flux(struct knote *kn) in kn_in_flux()
533 struct knote *kn; in knote_fork()
686 struct knote *kn; in filt_timerexpire()
1382 struct knote *kn, *tkn; in kqueue_register()
1793 struct knote *kn, *marker; in kqueue_scan()
2084 struct knote *kn; in kqueue_drain()
2242 struct knote *kn, *tkn; in knote()
2491 struct knote *kn, *kn2; in knlist_cleardel()
2554 struct knote *kn; in knote_fdclose()
[all …]
H A Dsys_eventfd.c87 static void filt_eventfddetach(struct knote *kn);
88 static int filt_eventfdread(struct knote *kn, long hint);
89 static int filt_eventfdwrite(struct knote *kn, long hint);
256 eventfd_kqfilter(struct file *fp, struct knote *kn) in eventfd_kqfilter()
281 filt_eventfddetach(struct knote *kn) in filt_eventfddetach()
291 filt_eventfdread(struct knote *kn, long hint) in filt_eventfdread()
304 filt_eventfdwrite(struct knote *kn, long hint) in filt_eventfdwrite()
H A Dsubr_log.c79 static int logkqread(struct knote *note, long hint);
80 static void logkqdetach(struct knote *note);
199 logkqfilter(struct cdev *dev, struct knote *kn) in logkqfilter()
215 logkqread(struct knote *kn, long hint) in logkqread()
224 logkqdetach(struct knote *kn) in logkqdetach()
H A Dtty_pts.c448 pts_kqops_read_detach(struct knote *kn) in pts_kqops_read_detach()
458 pts_kqops_read_event(struct knote *kn, long hint) in pts_kqops_read_event()
474 pts_kqops_write_detach(struct knote *kn) in pts_kqops_write_detach()
484 pts_kqops_write_event(struct knote *kn, long hint) in pts_kqops_write_event()
511 ptsdev_kqfilter(struct file *fp, struct knote *kn) in ptsdev_kqfilter()
H A Dsys_pipe.c176 static void filt_pipedetach(struct knote *kn);
177 static void filt_pipedetach_notsup(struct knote *kn);
178 static int filt_pipenotsup(struct knote *kn, long hint);
179 static int filt_piperead(struct knote *kn, long hint);
180 static int filt_pipewrite(struct knote *kn, long hint);
1696 pipe_kqfilter(struct file *fp, struct knote *kn) in pipe_kqfilter()
1740 filt_pipedetach(struct knote *kn) in filt_pipedetach()
1751 filt_piperead(struct knote *kn, long hint) in filt_piperead()
1773 filt_pipewrite(struct knote *kn, long hint) in filt_pipewrite()
1805 filt_pipedetach_notsup(struct knote *kn) in filt_pipedetach_notsup()
[all …]
H A Dsys_procdesc.c444 procdesc_kqops_detach(struct knote *kn) in procdesc_kqops_detach()
453 procdesc_kqops_event(struct knote *kn, long hint) in procdesc_kqops_event()
494 procdesc_kqfilter(struct file *fp, struct knote *kn) in procdesc_kqfilter()
H A Dvfs_aio.c333 static int filt_aioattach(struct knote *kn);
334 static void filt_aiodetach(struct knote *kn);
335 static int filt_aio(struct knote *kn, long hint);
336 static int filt_lioattach(struct knote *kn);
337 static void filt_liodetach(struct knote *kn);
2614 filt_aioattach(struct knote *kn) in filt_aioattach()
2637 filt_aiodetach(struct knote *kn) in filt_aiodetach()
2651 filt_aio(struct knote *kn, long hint) in filt_aio()
2664 filt_lioattach(struct knote *kn) in filt_lioattach()
2687 filt_liodetach(struct knote *kn) in filt_liodetach()
[all …]
H A Duipc_socket.c173 static void filt_sordetach(struct knote *kn);
174 static int filt_soread(struct knote *kn, long hint);
175 static void filt_sowdetach(struct knote *kn);
176 static int filt_sowrite(struct knote *kn, long hint);
177 static int filt_soempty(struct knote *kn, long hint);
3591 soo_kqfilter(struct file *fp, struct knote *kn)
3801 filt_sordetach(struct knote *kn)
3814 filt_soread(struct knote *kn, long hint)
3852 filt_sowdetach(struct knote *kn)
3865 filt_sowrite(struct knote *kn, long hint)
[all …]
H A Dvfs_subr.c6045 static int filt_fsattach(struct knote *kn);
6046 static void filt_fsdetach(struct knote *kn);
6057 filt_fsattach(struct knote *kn) in filt_fsattach()
6066 filt_fsdetach(struct knote *kn) in filt_fsdetach()
6073 filt_fsevent(struct knote *kn, long hint) in filt_fsevent()
6127 static void filt_vfsdetach(struct knote *kn);
6177 struct knote *kn = ap->a_kn; in vfs_kqfilter()
6210 filt_vfsdetach(struct knote *kn) in filt_vfsdetach()
6221 filt_vfsread(struct knote *kn, long hint) in filt_vfsread()
6250 filt_vfswrite(struct knote *kn, long hint) in filt_vfswrite()
[all …]
H A Duipc_mqueue.c275 static void filt_mqdetach(struct knote *kn);
276 static int filt_mqread(struct knote *kn, long hint);
277 static int filt_mqwrite(struct knote *kn, long hint);
2607 mqf_kqfilter(struct file *fp, struct knote *kn) in mqf_kqfilter()
2624 filt_mqdetach(struct knote *kn) in filt_mqdetach()
2637 filt_mqread(struct knote *kn, long hint) in filt_mqread()
2646 filt_mqwrite(struct knote *kn, long hint) in filt_mqwrite()
H A Dtty.c707 tty_kqops_read_detach(struct knote *kn) in tty_kqops_read_detach()
715 tty_kqops_read_event(struct knote *kn, long hint __unused) in tty_kqops_read_event()
731 tty_kqops_write_detach(struct knote *kn) in tty_kqops_write_detach()
739 tty_kqops_write_event(struct knote *kn, long hint __unused) in tty_kqops_write_event()
767 ttydev_kqfilter(struct cdev *dev, struct knote *kn) in ttydev_kqfilter()
H A Dkern_sig.c114 static int filt_sigattach(struct knote *kn);
115 static void filt_sigdetach(struct knote *kn);
116 static int filt_signal(struct knote *kn, long hint);
3943 filt_sigattach(struct knote *kn) in filt_sigattach()
3956 filt_sigdetach(struct knote *kn) in filt_sigdetach()
3970 filt_signal(struct knote *kn, long hint) in filt_signal()
H A Dsubr_bus.c415 static void filt_devctl_detach(struct knote *kn);
416 static int filt_devctl_read(struct knote *kn, long hint);
573 devkqfilter(struct cdev *dev, struct knote *kn) in devkqfilter()
587 filt_devctl_detach(struct knote *kn) in filt_devctl_detach()
593 filt_devctl_read(struct knote *kn, long hint) in filt_devctl_read()
/f-stack/freebsd/x86/acpica/
H A Dacpi_apm.c64 static void apmreadfiltdetach(struct knote *kn);
65 static int apmreadfilt(struct knote *kn, long hint);
407 apmkqfilter(struct cdev *dev, struct knote *kn) in apmkqfilter()
421 apmreadfiltdetach(struct knote *kn) in apmreadfiltdetach()
432 apmreadfilt(struct knote *kn, long hint) in apmreadfilt()
/f-stack/lib/
H A Dff_event.h221 struct knote;
222 SLIST_HEAD(klist, knote);
/f-stack/freebsd/security/audit/
H A Daudit_pipe.c241 static int audit_pipe_kqread(struct knote *note, long hint);
242 static void audit_pipe_kqdetach(struct knote *note);
1007 audit_pipe_kqfilter(struct cdev *dev, struct knote *kn) in audit_pipe_kqfilter()
1031 audit_pipe_kqread(struct knote *kn, long hint) in audit_pipe_kqread()
1051 audit_pipe_kqdetach(struct knote *kn) in audit_pipe_kqdetach()
/f-stack/freebsd/net/
H A Difdi_if.m56 null_knlist_add(if_ctx_t _ctx __unused, struct knote *_kn)
62 null_knote_event(if_ctx_t _ctx __unused, struct knote *_kn, int _hint)
186 struct knote *_kn;
191 struct knote *_kn;
H A Dif_tuntap.c249 static int tunkqread(struct knote *, long);
250 static int tunkqwrite(struct knote *, long);
251 static void tunkqdetach(struct knote *);
1936 tunkqfilter(struct cdev *dev, struct knote *kn) in tunkqfilter()
1970 tunkqread(struct knote *kn, long hint) in tunkqread()
1996 tunkqwrite(struct knote *kn, long hint) in tunkqwrite()
2007 tunkqdetach(struct knote *kn) in tunkqdetach()
H A Dbpf.c212 static void filt_bpfdetach(struct knote *);
213 static int filt_bpfread(struct knote *, long);
2134 bpfkqfilter(struct cdev *dev, struct knote *kn) in bpfkqfilter()
2156 filt_bpfdetach(struct knote *kn) in filt_bpfdetach()
2164 filt_bpfread(struct knote *kn, long hint) in filt_bpfread()
/f-stack/freebsd/arm/ti/
H A Dti_pruss.c85 static void ti_pruss_irq_kqread_detach(struct knote *);
86 static int ti_pruss_irq_kqevent(struct knote *, long);
810 ti_pruss_irq_kqread_detach(struct knote *kn) in ti_pruss_irq_kqread_detach()
818 ti_pruss_irq_kqevent(struct knote *kn, long hint) in ti_pruss_irq_kqevent()
839 ti_pruss_irq_kqfilter(struct cdev *cdev, struct knote *kn) in ti_pruss_irq_kqfilter()

12