| /freebsd-13.1/sys/kern/ |
| H A D | sys_eventfd.c | 273 kn->kn_hook = efd; in eventfd_kqfilter() 283 struct eventfd *efd = kn->kn_hook; in filt_eventfddetach() 293 struct eventfd *efd = kn->kn_hook; in filt_eventfdread() 306 struct eventfd *efd = kn->kn_hook; in filt_eventfdwrite()
|
| H A D | subr_log.c | 206 kn->kn_hook = NULL; in logkqfilter()
|
| H A D | tty.c | 710 struct tty *tp = kn->kn_hook; in tty_kqops_read_detach() 718 struct tty *tp = kn->kn_hook; in tty_kqops_read_event() 734 struct tty *tp = kn->kn_hook; in tty_kqops_write_detach() 742 struct tty *tp = kn->kn_hook; in tty_kqops_write_event() 779 kn->kn_hook = tp; in ttydev_kqfilter() 784 kn->kn_hook = tp; in ttydev_kqfilter()
|
| H A D | sys_pipe.c | 1735 kn->kn_hook = cpipe; in pipe_kqfilter() 1744 struct pipe *cpipe = kn->kn_hook; in filt_pipedetach() 1756 struct pipe *rpipe = kn->kn_hook; in filt_piperead() 1777 struct pipe *wpipe = kn->kn_hook; in filt_pipewrite()
|
| /freebsd-13.1/sys/fs/fuse/ |
| H A D | fuse_device.c | 192 kn->kn_hook = data; in fuse_device_filter() 211 data = (struct fuse_data*)kn->kn_hook; in fuse_device_filt_detach() 214 kn->kn_hook = NULL; in fuse_device_filt_detach() 223 data = (struct fuse_data*)kn->kn_hook; in fuse_device_filt_read()
|
| /freebsd-13.1/sys/dev/beri/ |
| H A D | beri_ring.c | 312 sc = kn->kn_hook; in beri_kqread() 340 sc = kn->kn_hook; in beri_kqwrite() 366 sc = kn->kn_hook; in beri_kqdetach() 403 kn->kn_hook = sc; in beri_kqfilter()
|
| /freebsd-13.1/sys/x86/acpica/ |
| H A D | acpi_apm.c | 413 kn->kn_hook = clone; in apmkqfilter() 426 clone = kn->kn_hook; in apmreadfiltdetach() 438 clone = kn->kn_hook; in apmreadfilt()
|
| /freebsd-13.1/sys/dev/evdev/ |
| H A D | uinput.c | 421 kn->kn_hook = (caddr_t)state; in uinput_kqfilter() 433 state = (struct uinput_cdev_state *)kn->kn_hook; in uinput_kqread() 446 state = (struct uinput_cdev_state *)kn->kn_hook; in uinput_kqdetach()
|
| H A D | cdev.c | 357 kn->kn_hook = (caddr_t)client; in evdev_kqfilter() 369 client = (struct evdev_client *)kn->kn_hook; in evdev_kqread() 389 client = (struct evdev_client *)kn->kn_hook; in evdev_kqdetach()
|
| /freebsd-13.1/sys/fs/cuse/ |
| H A D | cuse.c | 1859 pcc = kn->kn_hook; in cuse_client_kqfilter_read_detach() 1873 pcc = kn->kn_hook; in cuse_client_kqfilter_write_detach() 1886 pcc = kn->kn_hook; in cuse_client_kqfilter_read_event() 1898 pcc = kn->kn_hook; in cuse_client_kqfilter_write_event() 1922 kn->kn_hook = pcc; in cuse_client_kqfilter() 1928 kn->kn_hook = pcc; in cuse_client_kqfilter()
|
| /freebsd-13.1/sys/security/audit/ |
| H A D | audit_pipe.c | 1019 kn->kn_hook = ap; in audit_pipe_kqfilter() 1035 ap = (struct audit_pipe *)kn->kn_hook; in audit_pipe_kqread() 1055 ap = (struct audit_pipe *)kn->kn_hook; in audit_pipe_kqdetach()
|
| /freebsd-13.1/sys/arm/ti/ |
| H A D | ti_pruss.c | 812 struct ti_pruss_irqsc *sc = kn->kn_hook; in ti_pruss_irq_kqread_detach() 823 irq_sc = kn->kn_hook; in ti_pruss_irq_kqevent() 845 kn->kn_hook = sc; in ti_pruss_irq_kqfilter()
|
| /freebsd-13.1/sys/dev/netmap/ |
| H A D | netmap_freebsd.c | 1372 struct netmap_priv_d *priv = (struct netmap_priv_d *)kn->kn_hook; in netmap_knrdetach() 1387 struct netmap_priv_d *priv = (struct netmap_priv_d *)kn->kn_hook; in netmap_knwdetach() 1418 priv = kn->kn_hook; in netmap_knrw() 1481 kn->kn_hook = priv; in netmap_kqfilter()
|
| /freebsd-13.1/sys/compat/linux/ |
| H A D | linux_event.c | 763 kn->kn_hook = tfd; in timerfd_kqfilter() 772 struct timerfd *tfd = kn->kn_hook; in filt_timerfddetach() 782 struct timerfd *tfd = kn->kn_hook; in filt_timerfdread()
|
| /freebsd-13.1/sys/dev/hid/ |
| H A D | hidraw.c | 827 kn->kn_hook = sc; in hidraw_kqfilter() 839 sc = kn->kn_hook; in hidraw_kqread() 857 sc = kn->kn_hook; in hidraw_kqdetach()
|
| /freebsd-13.1/sys/cam/scsi/ |
| H A D | scsi_target.c | 327 kn->kn_hook = (caddr_t)softc; in targkqfilter() 338 softc = (struct targ_softc *)kn->kn_hook; in targreadfiltdetach() 349 softc = (struct targ_softc *)kn->kn_hook; in targreadfilt()
|
| H A D | scsi_pass.c | 2130 kn->kn_hook = (caddr_t)periph; in passkqfilter() 2143 periph = (struct cam_periph *)kn->kn_hook; in passreadfiltdetach() 2156 periph = (struct cam_periph *)kn->kn_hook; in passreadfilt()
|
| /freebsd-13.1/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-13.1/sys/sys/ |
| H A D | event.h | 286 void *kn_hook; member
|
| /freebsd-13.1/sys/dev/usb/ |
| H A D | usb_dev.c | 1142 struct usb_fifo *f = kn->kn_hook; in usb_filter_detach() 1155 f = kn->kn_hook; in usb_filter_write() 1196 f = kn->kn_hook; in usb_filter_read() 1284 kn->kn_hook = f; in usb_kqfilter()
|
| /freebsd-13.1/sys/net/ |
| H A D | if_tuntap.c | 1960 kn->kn_hook = tp; in tunkqfilter() 1973 struct tuntap_softc *tp = kn->kn_hook; in tunkqread() 1998 struct tuntap_softc *tp = kn->kn_hook; in tunkqwrite() 2009 struct tuntap_softc *tp = kn->kn_hook; in tunkqdetach()
|
| H A D | bpf.c | 2170 kn->kn_hook = d; in bpfkqfilter() 2180 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfdetach() 2188 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfread()
|
| /freebsd-13.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_compat.c | 1248 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_detach() 1258 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_read_event() 1268 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_write_event() 1340 kn->kn_hook = filp; in linux_file_kqfilter() 1347 kn->kn_hook = filp; in linux_file_kqfilter()
|
| /freebsd-13.1/sys/geom/ |
| H A D | geom_dev.c | 911 sc = kn->kn_hook; in gdev_filter_detach() 939 kn->kn_hook = sc; in g_dev_kqfilter()
|
| /freebsd-13.1/sys/dev/cyapa/ |
| H A D | cyapa.c | 1124 kn->kn_hook = (void *)sc; in cyapakqfilter() 1164 sc = (struct cyapa_softc *)kn->kn_hook; in cyapafiltdetach() 1176 sc = (struct cyapa_softc *)kn->kn_hook; in cyapafilt()
|