| /freebsd-14.2/sys/kern/ |
| H A D | sys_eventfd.c | 270 kn->kn_hook = efd; in eventfd_kqfilter() 280 struct eventfd *efd = kn->kn_hook; in filt_eventfddetach() 290 struct eventfd *efd = kn->kn_hook; in filt_eventfdread() 303 struct eventfd *efd = kn->kn_hook; in filt_eventfdwrite()
|
| H A D | sys_timerfd.c | 270 struct timerfd *tfd = kn->kn_hook; in filt_timerfddetach() 280 struct timerfd *tfd = kn->kn_hook; in filt_timerfdread() 302 kn->kn_hook = tfd; in timerfd_kqfilter()
|
| H A D | subr_log.c | 204 kn->kn_hook = NULL; in logkqfilter()
|
| H A D | tty.c | 709 struct tty *tp = kn->kn_hook; in tty_kqops_read_detach() 717 struct tty *tp = kn->kn_hook; in tty_kqops_read_event() 733 struct tty *tp = kn->kn_hook; in tty_kqops_write_detach() 741 struct tty *tp = kn->kn_hook; in tty_kqops_write_event() 778 kn->kn_hook = tp; in ttydev_kqfilter() 783 kn->kn_hook = tp; in ttydev_kqfilter()
|
| H A D | sys_pipe.c | 1821 kn->kn_hook = cpipe; in pipe_kqfilter() 1830 struct pipe *cpipe = kn->kn_hook; in filt_pipedetach() 1842 struct pipe *rpipe = kn->kn_hook; in filt_piperead() 1863 struct pipe *wpipe = kn->kn_hook; in filt_pipewrite()
|
| /freebsd-14.2/sys/fs/fuse/ |
| H A D | fuse_device.c | 190 kn->kn_hook = data; in fuse_device_filter() 209 data = (struct fuse_data*)kn->kn_hook; in fuse_device_filt_detach() 212 kn->kn_hook = NULL; in fuse_device_filt_detach() 221 data = (struct fuse_data*)kn->kn_hook; in fuse_device_filt_read()
|
| /freebsd-14.2/sys/dev/beri/ |
| H A D | beri_ring.c | 310 sc = kn->kn_hook; in beri_kqread() 338 sc = kn->kn_hook; in beri_kqwrite() 364 sc = kn->kn_hook; in beri_kqdetach() 401 kn->kn_hook = sc; in beri_kqfilter()
|
| /freebsd-14.2/sys/x86/acpica/ |
| H A D | acpi_apm.c | 411 kn->kn_hook = clone; in apmkqfilter() 424 clone = kn->kn_hook; in apmreadfiltdetach() 436 clone = kn->kn_hook; in apmreadfilt()
|
| /freebsd-14.2/sys/dev/evdev/ |
| H A D | uinput.c | 419 kn->kn_hook = (caddr_t)state; in uinput_kqfilter() 431 state = (struct uinput_cdev_state *)kn->kn_hook; in uinput_kqread() 444 state = (struct uinput_cdev_state *)kn->kn_hook; in uinput_kqdetach()
|
| H A D | cdev.c | 355 kn->kn_hook = (caddr_t)client; in evdev_kqfilter() 367 client = (struct evdev_client *)kn->kn_hook; in evdev_kqread() 387 client = (struct evdev_client *)kn->kn_hook; in evdev_kqdetach()
|
| /freebsd-14.2/sys/fs/cuse/ |
| H A D | cuse.c | 1960 pcc = kn->kn_hook; in cuse_client_kqfilter_read_detach() 1974 pcc = kn->kn_hook; in cuse_client_kqfilter_write_detach() 1987 pcc = kn->kn_hook; in cuse_client_kqfilter_read_event() 1999 pcc = kn->kn_hook; in cuse_client_kqfilter_write_event() 2023 kn->kn_hook = pcc; in cuse_client_kqfilter() 2029 kn->kn_hook = pcc; in cuse_client_kqfilter()
|
| /freebsd-14.2/sys/security/audit/ |
| H A D | audit_pipe.c | 1017 kn->kn_hook = ap; in audit_pipe_kqfilter() 1033 ap = (struct audit_pipe *)kn->kn_hook; in audit_pipe_kqread() 1053 ap = (struct audit_pipe *)kn->kn_hook; in audit_pipe_kqdetach()
|
| /freebsd-14.2/sys/dev/netmap/ |
| H A D | netmap_freebsd.c | 1336 struct netmap_priv_d *priv = (struct netmap_priv_d *)kn->kn_hook; in netmap_knrdetach() 1351 struct netmap_priv_d *priv = (struct netmap_priv_d *)kn->kn_hook; in netmap_knwdetach() 1382 priv = kn->kn_hook; in netmap_knrw() 1445 kn->kn_hook = priv; in netmap_kqfilter()
|
| /freebsd-14.2/sys/arm/ti/ |
| H A D | ti_pruss.c | 801 struct ti_pruss_irqsc *sc = kn->kn_hook; in ti_pruss_irq_kqread_detach() 812 irq_sc = kn->kn_hook; in ti_pruss_irq_kqevent() 834 kn->kn_hook = sc; in ti_pruss_irq_kqfilter()
|
| /freebsd-14.2/sys/dev/qat/qat_common/ |
| H A D | adf_freebsd_dev_processes.c | 486 kn->kn_hook = priv; in adf_state_kqfilter() 512 priv = kn->kn_hook; in adf_state_kqread_detach()
|
| /freebsd-14.2/sys/dev/hid/ |
| H A D | hidraw.c | 941 kn->kn_hook = sc; in hidraw_kqfilter() 953 sc = kn->kn_hook; in hidraw_kqread() 971 sc = kn->kn_hook; in hidraw_kqdetach()
|
| /freebsd-14.2/sys/dev/gpio/ |
| H A D | gpioc.c | 1000 kn->kn_hook = (void *)priv; in gpioc_kqfilter() 1015 struct gpioc_cdevpriv *priv = kn->kn_hook; in gpioc_kqread() 1038 struct gpioc_cdevpriv *priv = kn->kn_hook; in gpioc_kqdetach()
|
| /freebsd-14.2/sys/cam/scsi/ |
| H A D | scsi_target.c | 325 kn->kn_hook = (caddr_t)softc; in targkqfilter() 336 softc = (struct targ_softc *)kn->kn_hook; in targreadfiltdetach() 347 softc = (struct targ_softc *)kn->kn_hook; in targreadfilt()
|
| /freebsd-14.2/sys/sys/ |
| H A D | event.h | 289 void *kn_hook; member
|
| /freebsd-14.2/sys/dev/usb/ |
| H A D | usb_dev.c | 1141 struct usb_fifo *f = kn->kn_hook; in usb_filter_detach() 1154 f = kn->kn_hook; in usb_filter_write() 1195 f = kn->kn_hook; in usb_filter_read() 1283 kn->kn_hook = f; in usb_kqfilter()
|
| /freebsd-14.2/sys/net/ |
| H A D | if_tuntap.c | 2028 kn->kn_hook = tp; in tunkqfilter() 2041 struct tuntap_softc *tp = kn->kn_hook; in tunkqread() 2066 struct tuntap_softc *tp = kn->kn_hook; in tunkqwrite() 2077 struct tuntap_softc *tp = kn->kn_hook; in tunkqdetach()
|
| H A D | bpf.c | 2192 kn->kn_hook = d; in bpfkqfilter() 2202 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfdetach() 2210 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfread() 2234 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfwrite()
|
| /freebsd-14.2/sys/geom/ |
| H A D | geom_dev.c | 876 sc = kn->kn_hook; in gdev_filter_detach() 905 kn->kn_hook = sc; in g_dev_kqfilter()
|
| /freebsd-14.2/sys/compat/linuxkpi/common/src/ |
| H A D | linux_compat.c | 1089 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_detach() 1099 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_read_event() 1109 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_write_event() 1181 kn->kn_hook = filp; in linux_file_kqfilter() 1188 kn->kn_hook = filp; in linux_file_kqfilter()
|
| /freebsd-14.2/sys/dev/cyapa/ |
| H A D | cyapa.c | 1120 kn->kn_hook = (void *)sc; in cyapakqfilter() 1160 sc = (struct cyapa_softc *)kn->kn_hook; in cyapafiltdetach() 1172 sc = (struct cyapa_softc *)kn->kn_hook; in cyapafilt()
|