Home
last modified time | relevance | path

Searched refs:kn_hook (Results 1 – 24 of 24) sorted by relevance

/freebsd-12.1/sys/fs/fuse/
H A Dfuse_device.c183 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 Dberi_ring.c312 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 Dacpi_apm.c413 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 Dlinux_event.c890 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 Dcuse.c1841 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 Duinput.c426 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 Dcdev.c298 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 Dif_tap.c1089 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 Dif_tun.c1073 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 Dbpf.c2063 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 Daudit_pipe.c1019 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 Dti_pruss.c724 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 Dnetmap_freebsd.c1372 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 Dtty.c682 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 Dsubr_log.c206 kn->kn_hook = NULL; in logkqfilter()
H A Dsys_pipe.c1702 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 Dvfs_subr.c5234 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 Dkern_event.c874 kn->kn_hook = NULL; in filt_userattach()
/freebsd-12.1/sys/cam/scsi/
H A Dscsi_target.c330 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 Dscsi_pass.c2155 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 Devent.h288 void *kn_hook; member
/freebsd-12.1/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c1106 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 Dusb_dev.c1148 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 Dcyapa.c1047 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()