Searched refs:knote (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-10.2-release/sys/sys/
H A Devent.h141 struct knote;
142 SLIST_HEAD(klist, knote);
158 * Flags for knote call
163 #define KNOTE(list, hist, flags) knote(list, hist, flags)
164 #define KNOTE_LOCKED(list, hint) knote(list, hint, KNF_LISTLOCKED)
165 #define KNOTE_UNLOCKED(list, hint) knote(list, hint, 0)
187 int (*f_attach)(struct knote *kn);
188 void (*f_detach)(struct knote *kn);
189 int (*f_event)(struct knote *kn, long hint);
190 void (*f_touch)(struct knote *k
199 struct knote { struct
[all...]
H A Deventvar.h45 TAILQ_HEAD(, knote) kq_head; /* list of pending event */
H A Dfile.h49 struct knote;
100 typedef int fo_kqfilter_t(struct file *fp, struct knote *kn);
347 fo_kqfilter(struct file *fp, struct knote *kn)
H A Dconf.h104 struct knote;
137 typedef int d_kqfilter_t(struct cdev *dev, struct knote *kn);
/freebsd-10.2-release/sys/kern/
H A Dkern_event.c133 static int knote_attach(struct knote *kn, struct kqueue *kq);
134 static void knote_drop(struct knote *kn, struct thread *td);
135 static void knote_enqueue(struct knote *kn);
136 static void knote_dequeue(struct knote *kn);
138 static struct knote *knote_alloc(int waitok);
139 static void knote_free(struct knote *kn);
141 static void filt_kqdetach(struct knote *kn);
142 static int filt_kqueue(struct knote *kn, long hint);
143 static int filt_procattach(struct knote *kn);
144 static void filt_procdetach(struct knote *k
1849 knote(struct knlist *list, long hint, int lockflags) function
[all...]
H A Dsubr_log.c77 static int logkqread(struct knote *note, long hint);
78 static void logkqdetach(struct knote *note);
197 logkqfilter(struct cdev *dev, struct knote *kn)
213 logkqread(struct knote *kn, long hint)
222 logkqdetach(struct knote *kn)
H A Dtty_pts.c447 pts_kqops_read_detach(struct knote *kn)
457 pts_kqops_read_event(struct knote *kn, long hint)
473 pts_kqops_write_detach(struct knote *kn)
483 pts_kqops_write_event(struct knote *kn, long hint)
510 ptsdev_kqfilter(struct file *fp, struct knote *kn)
H A Dsys_pipe.c171 static void filt_pipedetach(struct knote *kn);
172 static void filt_pipedetach_notsup(struct knote *kn);
173 static int filt_pipenotsup(struct knote *kn, long hint);
174 static int filt_piperead(struct knote *kn, long hint);
175 static int filt_pipewrite(struct knote *kn, long hint);
1713 pipe_kqfilter(struct file *fp, struct knote *kn)
1757 filt_pipedetach(struct knote *kn)
1768 filt_piperead(struct knote *kn, long hint)
1791 filt_pipewrite(struct knote *kn, long hint)
1812 filt_pipedetach_notsup(struct knote *k
[all...]
H A Dvfs_subr.c4352 static int filt_fsattach(struct knote *kn);
4353 static void filt_fsdetach(struct knote *kn);
4354 static int filt_fsevent(struct knote *kn, long hint);
4364 filt_fsattach(struct knote *kn)
4373 filt_fsdetach(struct knote *kn)
4380 filt_fsevent(struct knote *kn, long hint)
4431 static int filt_vfsread(struct knote *kn, long hint);
4432 static int filt_vfswrite(struct knote *kn, long hint);
4433 static int filt_vfsvnode(struct knote *kn, long hint);
4434 static void filt_vfsdetach(struct knote *k
[all...]
H A Dvfs_aio.c362 static int filt_aioattach(struct knote *kn);
363 static void filt_aiodetach(struct knote *kn);
364 static int filt_aio(struct knote *kn, long hint);
365 static int filt_lioattach(struct knote *kn);
366 static void filt_liodetach(struct knote *kn);
367 static int filt_lio(struct knote *kn, long hint);
2590 filt_aioattach(struct knote *kn)
2611 filt_aiodetach(struct knote *kn)
2625 filt_aio(struct knote *kn, long hint)
2638 filt_lioattach(struct knote *k
[all...]
H A Dtty.c648 tty_kqops_read_detach(struct knote *kn)
656 tty_kqops_read_event(struct knote *kn, long hint)
672 tty_kqops_write_detach(struct knote *kn)
680 tty_kqops_write_event(struct knote *kn, long hint)
707 ttydev_kqfilter(struct cdev *dev, struct knote *kn)
H A Duipc_socket.c120 #include <sys/file.h> /* for struct knote */
155 static void filt_sordetach(struct knote *kn);
156 static int filt_soread(struct knote *kn, long hint);
157 static void filt_sowdetach(struct knote *kn);
158 static int filt_sowrite(struct knote *kn, long hint);
159 static int filt_solisten(struct knote *kn, long hint);
2958 soo_kqfilter(struct file *fp, struct knote *kn)
3143 filt_sordetach(struct knote *kn)
3156 filt_soread(struct knote *kn, long hint)
3177 filt_sowdetach(struct knote *k
[all...]
H A Duipc_mqueue.c261 static void filt_mqdetach(struct knote *kn);
262 static int filt_mqread(struct knote *kn, long hint);
263 static int filt_mqwrite(struct knote *kn, long hint);
2556 mqf_kqfilter(struct file *fp, struct knote *kn)
2573 filt_mqdetach(struct knote *kn)
2586 filt_mqread(struct knote *kn, long hint)
2595 filt_mqwrite(struct knote *kn, long hint)
H A Dsys_procdesc.c466 procdesc_kqfilter(struct file *fp, struct knote *kn)
H A Dkern_sig.c111 static int filt_sigattach(struct knote *kn);
112 static void filt_sigdetach(struct knote *kn);
113 static int filt_signal(struct knote *kn, long hint);
3422 filt_sigattach(struct knote *kn)
3435 filt_sigdetach(struct knote *kn)
3445 * could be avoided by using a signal-specific knote list, but probably
3449 filt_signal(struct knote *kn, long hint)
/freebsd-10.2-release/sys/arm/ti/
H A Dti_pruss.c71 static void ti_pruss_kq_read_detach(struct knote *);
72 static int ti_pruss_kq_read_event(struct knote *, long);
274 ti_pruss_kq_read_detach(struct knote *kn)
282 ti_pruss_kq_read_event(struct knote *kn, long hint)
290 ti_pruss_kqfilter(struct cdev *cdev, struct knote *kn)
/freebsd-10.2-release/sys/x86/acpica/
H A Dacpi_apm.c62 static void apmreadfiltdetach(struct knote *kn);
63 static int apmreadfilt(struct knote *kn, long hint);
405 apmkqfilter(struct cdev *dev, struct knote *kn)
419 apmreadfiltdetach(struct knote *kn)
430 apmreadfilt(struct knote *kn, long hint)
/freebsd-10.2-release/sys/dev/netmap/
H A Dnetmap_freebsd.c645 * The knote uses a global mutex for the time being. We might
664 D("on knote %p", &si->si.si_note);
673 netmap_knrdetach(struct knote *kn)
683 netmap_knwdetach(struct knote *kn)
699 netmap_knrw(struct knote *kn, long hint, int events)
723 netmap_knread(struct knote *kn, long hint)
729 netmap_knwrite(struct knote *kn, long hint)
753 netmap_kqfilter(struct cdev *dev, struct knote *kn)
/freebsd-10.2-release/sys/net/
H A Dif_tap.c117 static int tapkqread(struct knote *, long);
118 static int tapkqwrite(struct knote *, long);
119 static void tapkqdetach(struct knote *);
1032 tapkqfilter(struct cdev *dev, struct knote *kn)
1070 tapkqread(struct knote *kn, long hint)
1097 tapkqwrite(struct knote *kn, long hint)
1109 tapkqdetach(struct knote *kn)
H A Dif_tun.c147 static int tunkqread(struct knote *, long);
148 static int tunkqwrite(struct knote *, long);
149 static void tunkqdetach(struct knote *);
968 tunkqfilter(struct cdev *dev, struct knote *kn)
1002 tunkqread(struct knote *kn, long hint)
1028 tunkqwrite(struct knote *kn, long hint)
1039 tunkqdetach(struct knote *kn)
H A Dbpf.c165 static void filt_bpfdetach(struct knote *);
166 static int filt_bpfread(struct knote *, long);
1931 bpfkqfilter(struct cdev *dev, struct knote *kn)
1953 filt_bpfdetach(struct knote *kn)
1961 filt_bpfread(struct knote *kn, long hint)
/freebsd-10.2-release/sys/cam/scsi/
H A Dscsi_target.c107 static void targreadfiltdetach(struct knote *kn);
108 static int targreadfilt(struct knote *kn, long hint);
322 targkqfilter(struct cdev *dev, struct knote *kn)
334 targreadfiltdetach(struct knote *kn)
344 targreadfilt(struct knote *kn, long hint)
/freebsd-10.2-release/sys/security/audit/
H A Daudit_pipe.c244 static int audit_pipe_kqread(struct knote *note, long hint);
245 static void audit_pipe_kqdetach(struct knote *note);
1050 audit_pipe_kqfilter(struct cdev *dev, struct knote *kn)
1073 audit_pipe_kqread(struct knote *kn, long hint)
1094 audit_pipe_kqdetach(struct knote *kn)
/freebsd-10.2-release/sys/dev/usb/
H A Dusb_dev.c1140 usb_filter_detach(struct knote *kn)
1147 usb_filter_write(struct knote *kn, long hint)
1188 usb_filter_read(struct knote *kn, long hint)
1247 usb_kqfilter(struct cdev* dev, struct knote *kn)
/freebsd-10.2-release/sys/opencrypto/
H A Dcryptodev.c291 static int cryptof_kqfilter(struct file *, struct knote *);
973 cryptof_kqfilter(struct file *fp, struct knote *kn)

Completed in 246 milliseconds

12