| /freebsd-12.1/sys/fs/fuse/ |
| H A D | fuse_device.c | 183 kn->kn_hook = data; in fuse_device_filter() 199 data = (struct fuse_data*)kn->kn_hook; in fuse_device_filt_detach() 202 kn->kn_hook = NULL; in fuse_device_filt_detach() 211 data = (struct fuse_data*)kn->kn_hook; in fuse_device_filt_read()
|
| /freebsd-12.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-12.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-12.1/sys/compat/linux/ |
| H A D | linux_event.c | 890 kn->kn_hook = efd; in eventfd_kqfilter() 900 struct eventfd *efd = kn->kn_hook; in filt_eventfddetach() 911 struct eventfd *efd = kn->kn_hook; in filt_eventfdread() 924 struct eventfd *efd = kn->kn_hook; in filt_eventfdwrite() 1125 kn->kn_hook = tfd; in timerfd_kqfilter() 1134 struct timerfd *tfd = kn->kn_hook; in filt_timerfddetach() 1145 struct timerfd *tfd = kn->kn_hook; in filt_timerfdread()
|
| /freebsd-12.1/sys/fs/cuse/ |
| H A D | cuse.c | 1841 pcc = kn->kn_hook; in cuse_client_kqfilter_read_detach() 1852 pcc = kn->kn_hook; in cuse_client_kqfilter_write_detach() 1864 pcc = kn->kn_hook; in cuse_client_kqfilter_read_event() 1875 pcc = kn->kn_hook; in cuse_client_kqfilter_write_event() 1895 kn->kn_hook = pcc; in cuse_client_kqfilter() 1901 kn->kn_hook = pcc; in cuse_client_kqfilter()
|
| /freebsd-12.1/sys/dev/evdev/ |
| H A D | uinput.c | 426 kn->kn_hook = (caddr_t)state; in uinput_kqfilter() 438 state = (struct uinput_cdev_state *)kn->kn_hook; in uinput_kqread() 451 state = (struct uinput_cdev_state *)kn->kn_hook; in uinput_kqdetach()
|
| H A D | cdev.c | 298 kn->kn_hook = (caddr_t)client; in evdev_kqfilter() 310 client = (struct evdev_client *)kn->kn_hook; in evdev_kqread() 330 client = (struct evdev_client *)kn->kn_hook; in evdev_kqdetach()
|
| /freebsd-12.1/sys/net/ |
| H A D | if_tap.c | 1089 kn->kn_hook = tp; in tapkqfilter() 1105 struct tap_softc *tp = kn->kn_hook; in tapkqread() 1131 struct tap_softc *tp = kn->kn_hook; in tapkqwrite() 1143 struct tap_softc *tp = kn->kn_hook; in tapkqdetach()
|
| H A D | if_tun.c | 1073 kn->kn_hook = tp; in tunkqfilter() 1086 struct tun_softc *tp = kn->kn_hook; in tunkqread() 1111 struct tun_softc *tp = kn->kn_hook; in tunkqwrite() 1122 struct tun_softc *tp = kn->kn_hook; in tunkqdetach()
|
| H A D | bpf.c | 2063 kn->kn_hook = d; in bpfkqfilter() 2073 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfdetach() 2081 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfread()
|
| /freebsd-12.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-12.1/sys/arm/ti/ |
| H A D | ti_pruss.c | 724 struct ti_pruss_irqsc *sc = kn->kn_hook; in ti_pruss_irq_kqread_detach() 735 irq_sc = kn->kn_hook; in ti_pruss_irq_kqevent() 757 kn->kn_hook = sc; in ti_pruss_irq_kqfilter()
|
| /freebsd-12.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-12.1/sys/kern/ |
| H A D | tty.c | 682 struct tty *tp = kn->kn_hook; in tty_kqops_read_detach() 690 struct tty *tp = kn->kn_hook; in tty_kqops_read_event() 706 struct tty *tp = kn->kn_hook; in tty_kqops_write_detach() 714 struct tty *tp = kn->kn_hook; in tty_kqops_write_event() 751 kn->kn_hook = tp; in ttydev_kqfilter() 756 kn->kn_hook = tp; in ttydev_kqfilter()
|
| H A D | subr_log.c | 206 kn->kn_hook = NULL; in logkqfilter()
|
| H A D | sys_pipe.c | 1702 kn->kn_hook = cpipe; in pipe_kqfilter() 1711 struct pipe *cpipe = kn->kn_hook; in filt_pipedetach() 1722 struct pipe *rpipe = kn->kn_hook; in filt_piperead() 1751 wpipe = kn->kn_hook; in filt_pipewrite()
|
| H A D | vfs_subr.c | 5234 kn->kn_hook = (caddr_t)vp; in vfs_kqfilter() 5252 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfsdetach() 5263 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfsread() 5292 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfswrite() 5311 struct vnode *vp = (struct vnode *)kn->kn_hook; in filt_vfsvnode()
|
| H A D | kern_event.c | 874 kn->kn_hook = NULL; in filt_userattach()
|
| /freebsd-12.1/sys/cam/scsi/ |
| H A D | scsi_target.c | 330 kn->kn_hook = (caddr_t)softc; in targkqfilter() 341 softc = (struct targ_softc *)kn->kn_hook; in targreadfiltdetach() 352 softc = (struct targ_softc *)kn->kn_hook; in targreadfilt()
|
| H A D | scsi_pass.c | 2155 kn->kn_hook = (caddr_t)periph; in passkqfilter() 2168 periph = (struct cam_periph *)kn->kn_hook; in passreadfiltdetach() 2181 periph = (struct cam_periph *)kn->kn_hook; in passreadfilt()
|
| /freebsd-12.1/sys/sys/ |
| H A D | event.h | 288 void *kn_hook; member
|
| /freebsd-12.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_compat.c | 1106 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_detach() 1116 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_read_event() 1126 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_write_event() 1198 kn->kn_hook = filp; in linux_file_kqfilter() 1205 kn->kn_hook = filp; in linux_file_kqfilter()
|
| /freebsd-12.1/sys/dev/usb/ |
| H A D | usb_dev.c | 1148 struct usb_fifo *f = kn->kn_hook; in usb_filter_detach() 1161 f = kn->kn_hook; in usb_filter_write() 1202 f = kn->kn_hook; in usb_filter_read() 1291 kn->kn_hook = f; in usb_kqfilter()
|
| /freebsd-12.1/sys/dev/cyapa/ |
| H A D | cyapa.c | 1047 kn->kn_hook = (void *)sc; in cyapakqfilter() 1087 sc = (struct cyapa_softc *)kn->kn_hook; in cyapafiltdetach() 1099 sc = (struct cyapa_softc *)kn->kn_hook; in cyapafilt()
|