| /freebsd-head/sys/sys/ |
| HD | event.h | 222 struct knote; 223 SLIST_HEAD(klist, knote); 243 #define KNOTE(list, hint, flags) knote(list, hint, flags) 244 #define KNOTE_LOCKED(list, hint) knote(list, hint, KNF_LISTLOCKED) 245 #define KNOTE_UNLOCKED(list, hint) knote(list, hint, 0) 270 int (*f_attach)(struct knote *kn); 271 void (*f_detach)(struct knote *kn); 272 int (*f_event)(struct knote *kn, long hint); 273 void (*f_touch)(struct knote *kn, struct kevent *kev, u_long type); 274 int (*f_userdump)(struct proc *p, struct knote *kn, [all …]
|
| HD | protosw.h | 54 struct knote; 94 typedef int pr_kqfilter_t(struct socket *, struct knote *);
|
| HD | eventvar.h | 45 TAILQ_HEAD(, knote) kq_head; /* list of pending event */
|
| HD | file.h | 53 struct knote; 111 typedef int fo_kqfilter_t(struct file *fp, struct knote *kn); 401 fo_kqfilter(struct file *fp, struct knote *kn) in fo_kqfilter()
|
| /freebsd-head/sys/kern/ |
| HD | kern_event.c | 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); [all …]
|
| HD | sys_eventfd.c | 81 static void filt_eventfddetach(struct knote *kn); 82 static int filt_eventfdread(struct knote *kn, long hint); 83 static int filt_eventfdwrite(struct knote *kn, long hint); 250 eventfd_kqfilter(struct file *fp, struct knote *kn) in eventfd_kqfilter() 275 filt_eventfddetach(struct knote *kn) in filt_eventfddetach() 285 filt_eventfdread(struct knote *kn, long hint) in filt_eventfdread() 298 filt_eventfdwrite(struct knote *kn, long hint) in filt_eventfdwrite()
|
| HD | subr_log.c | 74 static int logkqread(struct knote *note, long hint); 75 static void logkqdetach(struct knote *note); 194 logkqfilter(struct cdev *dev, struct knote *kn) in logkqfilter() 210 logkqread(struct knote *kn, long hint) in logkqread() 219 logkqdetach(struct knote *kn) in logkqdetach()
|
| HD | kern_devctl.c | 126 static void filt_devctl_detach(struct knote *kn); 127 static int filt_devctl_read(struct knote *kn, long hint); 333 devkqfilter(struct cdev *dev, struct knote *kn) in devkqfilter() 347 filt_devctl_detach(struct knote *kn) in filt_devctl_detach() 353 filt_devctl_read(struct knote *kn, long hint) in filt_devctl_read()
|
| HD | sys_pipe.c | 173 static void filt_pipedetach(struct knote *kn); 174 static void filt_pipedetach_notsup(struct knote *kn); 175 static int filt_pipenotsup(struct knote *kn, long hint); 176 static int filt_piperead(struct knote *kn, long hint); 177 static int filt_pipewrite(struct knote *kn, long hint); 178 static int filt_pipedump(struct proc *p, struct knote *kn, 1784 pipe_kqfilter(struct file *fp, struct knote *kn) in pipe_kqfilter() 1832 filt_pipedetach(struct knote *kn) in filt_pipedetach() 1843 filt_piperead(struct knote *kn, long hint) in filt_piperead() 1865 filt_pipewrite(struct knote *kn, long hint) in filt_pipewrite() [all …]
|
| HD | tty_pts.c | 440 pts_kqops_read_detach(struct knote *kn) in pts_kqops_read_detach() 450 pts_kqops_read_event(struct knote *kn, long hint) in pts_kqops_read_event() 466 pts_kqops_write_detach(struct knote *kn) in pts_kqops_write_detach() 476 pts_kqops_write_event(struct knote *kn, long hint) in pts_kqops_write_event() 503 ptsdev_kqfilter(struct file *fp, struct knote *kn) in ptsdev_kqfilter()
|
| HD | sys_procdesc.c | 441 procdesc_kqops_detach(struct knote *kn) in procdesc_kqops_detach() 450 procdesc_kqops_event(struct knote *kn, long hint) in procdesc_kqops_event() 491 procdesc_kqfilter(struct file *fp, struct knote *kn) in procdesc_kqfilter()
|
| HD | sys_timerfd.c | 268 filt_timerfddetach(struct knote *kn) in filt_timerfddetach() 278 filt_timerfdread(struct knote *kn, long hint) in filt_timerfdread() 294 timerfd_kqfilter(struct file *fp, struct knote *kn) in timerfd_kqfilter()
|
| /freebsd-head/sys/fs/fuse/ |
| HD | fuse_device.c | 119 static int fuse_device_filt_read(struct knote *kn, long hint); 120 static int fuse_device_filt_write(struct knote *kn, long hint); 121 static void fuse_device_filt_detach(struct knote *kn); 180 fuse_device_filter(struct cdev *dev, struct knote *kn) in fuse_device_filter() 204 fuse_device_filt_detach(struct knote *kn) in fuse_device_filt_detach() 215 fuse_device_filt_read(struct knote *kn, long hint) in fuse_device_filt_read() 241 fuse_device_filt_write(struct knote *kn, long hint) in fuse_device_filt_write()
|
| /freebsd-head/sys/x86/acpica/ |
| HD | acpi_apm.c | 61 static void apmreadfiltdetach(struct knote *kn); 62 static int apmreadfilt(struct knote *kn, long hint); 404 apmkqfilter(struct cdev *dev, struct knote *kn) in apmkqfilter() 418 apmreadfiltdetach(struct knote *kn) in apmreadfiltdetach() 429 apmreadfilt(struct knote *kn, long hint) in apmreadfilt()
|
| /freebsd-head/sys/dev/qat/qat_common/ |
| HD | adf_freebsd_dev_processes.c | 34 static int adf_state_kqfilter(struct cdev *dev, struct knote *kn); 35 static int adf_state_kqread_event(struct knote *kn, long hint); 36 static void adf_state_kqread_detach(struct knote *kn); 477 adf_state_kqfilter(struct cdev *dev, struct knote *kn) in adf_state_kqfilter() 497 adf_state_kqread_event(struct knote *kn, long hint) in adf_state_kqread_event() 503 adf_state_kqread_detach(struct knote *kn) in adf_state_kqread_detach()
|
| /freebsd-head/sys/dev/evdev/ |
| HD | uinput.c | 80 static int uinput_kqread(struct knote *kn, long hint); 81 static void uinput_kqdetach(struct knote *kn); 403 uinput_kqfilter(struct cdev *dev, struct knote *kn) in uinput_kqfilter() 426 uinput_kqread(struct knote *kn, long hint) in uinput_kqread() 440 uinput_kqdetach(struct knote *kn) in uinput_kqdetach()
|
| HD | cdev.c | 76 static int evdev_kqread(struct knote *kn, long hint); 77 static void evdev_kqdetach(struct knote *kn); 336 evdev_kqfilter(struct cdev *dev, struct knote *kn) in evdev_kqfilter() 362 evdev_kqread(struct knote *kn, long hint) in evdev_kqread() 383 evdev_kqdetach(struct knote *kn) in evdev_kqdetach()
|
| /freebsd-head/sys/security/audit/ |
| HD | audit_pipe.c | 238 static int audit_pipe_kqread(struct knote *note, long hint); 239 static void audit_pipe_kqdetach(struct knote *note); 1004 audit_pipe_kqfilter(struct cdev *dev, struct knote *kn) in audit_pipe_kqfilter() 1028 audit_pipe_kqread(struct knote *kn, long hint) in audit_pipe_kqread() 1048 audit_pipe_kqdetach(struct knote *kn) in audit_pipe_kqdetach()
|
| /freebsd-head/sys/arm/ti/ |
| HD | ti_pruss.c | 83 static void ti_pruss_irq_kqread_detach(struct knote *); 84 static int ti_pruss_irq_kqevent(struct knote *, long); 799 ti_pruss_irq_kqread_detach(struct knote *kn) in ti_pruss_irq_kqread_detach() 807 ti_pruss_irq_kqevent(struct knote *kn, long hint) in ti_pruss_irq_kqevent() 828 ti_pruss_irq_kqfilter(struct cdev *cdev, struct knote *kn) in ti_pruss_irq_kqfilter()
|
| /freebsd-head/sys/fs/cuse/ |
| HD | cuse.c | 189 static void cuse_client_kqfilter_read_detach(struct knote *kn); 190 static void cuse_client_kqfilter_write_detach(struct knote *kn); 191 static int cuse_client_kqfilter_read_event(struct knote *kn, long hint); 192 static int cuse_client_kqfilter_write_event(struct knote *kn, long hint); 1955 cuse_client_kqfilter_read_detach(struct knote *kn) in cuse_client_kqfilter_read_detach() 1969 cuse_client_kqfilter_write_detach(struct knote *kn) in cuse_client_kqfilter_write_detach() 1983 cuse_client_kqfilter_read_event(struct knote *kn, long hint) in cuse_client_kqfilter_read_event() 1995 cuse_client_kqfilter_write_event(struct knote *kn, long hint) in cuse_client_kqfilter_write_event() 2007 cuse_client_kqfilter(struct cdev *dev, struct knote *kn) in cuse_client_kqfilter()
|
| /freebsd-head/sys/geom/ |
| HD | geom_dev.c | 78 static void gdev_filter_detach(struct knote *kn); 79 static int gdev_filter_vnode(struct knote *kn, long hint); 874 gdev_filter_detach(struct knote *kn) in gdev_filter_detach() 884 gdev_filter_vnode(struct knote *kn, long hint) in gdev_filter_vnode() 892 g_dev_kqfilter(struct cdev *dev, struct knote *kn) in g_dev_kqfilter()
|
| /freebsd-head/sys/dev/netmap/ |
| HD | netmap_freebsd.c | 1343 netmap_knrdetach(struct knote *kn) in netmap_knrdetach() 1358 netmap_knwdetach(struct knote *kn) in netmap_knwdetach() 1378 netmap_knrw(struct knote *kn, long hint, int events) in netmap_knrw() 1398 netmap_knread(struct knote *kn, long hint) in netmap_knread() 1404 netmap_knwrite(struct knote *kn, long hint) in netmap_knwrite() 1428 netmap_kqfilter(struct cdev *dev, struct knote *kn) in netmap_kqfilter()
|
| /freebsd-head/sys/cam/scsi/ |
| HD | scsi_target.c | 105 static void targreadfiltdetach(struct knote *kn); 106 static int targreadfilt(struct knote *kn, long hint); 319 targkqfilter(struct cdev *dev, struct knote *kn) in targkqfilter() 331 targreadfiltdetach(struct knote *kn) in targreadfiltdetach() 341 targreadfilt(struct knote *kn, long hint) in targreadfilt()
|
| /freebsd-head/sys/dev/gpio/ |
| HD | gpioc.c | 129 static int gpioc_kqread(struct knote*, long); 130 static void gpioc_kqdetach(struct knote*); 988 gpioc_kqfilter(struct cdev *dev, struct knote *kn) in gpioc_kqfilter() 1017 gpioc_kqread(struct knote *kn, long hint) in gpioc_kqread() 1040 gpioc_kqdetach(struct knote *kn) in gpioc_kqdetach()
|
| /freebsd-head/sys/dev/hid/ |
| HD | hidraw.c | 171 static int hidraw_kqread(struct knote *, long); 172 static void hidraw_kqdetach(struct knote *); 966 hidraw_kqfilter(struct cdev *dev, struct knote *kn) in hidraw_kqfilter() 991 hidraw_kqread(struct knote *kn, long hint) in hidraw_kqread() 1010 hidraw_kqdetach(struct knote *kn) in hidraw_kqdetach()
|