/freebsd-10.2-release/sys/sys/ |
H A D | event.h | 141 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 D | eventvar.h | 45 TAILQ_HEAD(, knote) kq_head; /* list of pending event */
|
H A D | file.h | 49 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 D | conf.h | 104 struct knote; 137 typedef int d_kqfilter_t(struct cdev *dev, struct knote *kn);
|
/freebsd-10.2-release/sys/kern/ |
H A D | kern_event.c | 133 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 D | subr_log.c | 77 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 D | tty_pts.c | 447 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 D | sys_pipe.c | 171 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 D | vfs_subr.c | 4352 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 D | vfs_aio.c | 362 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 D | tty.c | 648 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 D | uipc_socket.c | 120 #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 D | uipc_mqueue.c | 261 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 D | sys_procdesc.c | 466 procdesc_kqfilter(struct file *fp, struct knote *kn)
|
H A D | kern_sig.c | 111 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 D | ti_pruss.c | 71 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 D | acpi_apm.c | 62 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 D | netmap_freebsd.c | 645 * 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 D | if_tap.c | 117 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 D | if_tun.c | 147 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 D | bpf.c | 165 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 D | scsi_target.c | 107 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 D | audit_pipe.c | 244 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 D | usb_dev.c | 1140 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 D | cryptodev.c | 291 static int cryptof_kqfilter(struct file *, struct knote *); 973 cryptof_kqfilter(struct file *fp, struct knote *kn)
|