Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/kern/
H A Dsys_eventfd.c273 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 Dsubr_log.c206 kn->kn_hook = NULL; in logkqfilter()
H A Dtty.c710 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 Dsys_pipe.c1735 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 Dfuse_device.c192 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 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-13.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-13.1/sys/dev/evdev/
H A Duinput.c421 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 Dcdev.c357 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 Dcuse.c1859 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 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-13.1/sys/arm/ti/
H A Dti_pruss.c812 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 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-13.1/sys/compat/linux/
H A Dlinux_event.c763 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 Dhidraw.c827 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 Dscsi_target.c327 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 Dscsi_pass.c2130 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 Dgpioc.c1000 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 Devent.h286 void *kn_hook; member
/freebsd-13.1/sys/dev/usb/
H A Dusb_dev.c1142 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 Dif_tuntap.c1960 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 Dbpf.c2170 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 Dlinux_compat.c1248 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 Dgeom_dev.c911 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 Dcyapa.c1124 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()

12