Home
last modified time | relevance | path

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

12

/freebsd/sys/kern/
H A Dsys_eventfd.c267 kn->kn_hook = efd; in eventfd_kqfilter()
277 struct eventfd *efd = kn->kn_hook; in filt_eventfddetach()
287 struct eventfd *efd = kn->kn_hook; in filt_eventfdread()
300 struct eventfd *efd = kn->kn_hook; in filt_eventfdwrite()
H A Dsys_timerfd.c270 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 Dsubr_log.c201 kn->kn_hook = NULL; in logkqfilter()
H A Dsys_pipe.c1825 kn->kn_hook = cpipe; in pipe_kqfilter()
1834 struct pipe *cpipe = kn->kn_hook; in filt_pipedetach()
1846 struct pipe *rpipe = kn->kn_hook; in filt_piperead()
1867 struct pipe *wpipe = kn->kn_hook; in filt_pipewrite()
1913 struct pipe *pipe = kn->kn_hook; in filt_pipedump()
H A Dtty.c709 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()
/freebsd/sys/fs/fuse/
H A Dfuse_device.c189 kn->kn_hook = data; in fuse_device_filter()
208 data = (struct fuse_data*)kn->kn_hook; in fuse_device_filt_detach()
211 kn->kn_hook = NULL; in fuse_device_filt_detach()
220 data = (struct fuse_data*)kn->kn_hook; in fuse_device_filt_read()
/freebsd/sys/x86/acpica/
H A Dacpi_apm.c410 kn->kn_hook = clone; in apmkqfilter()
423 clone = kn->kn_hook; in apmreadfiltdetach()
435 clone = kn->kn_hook; in apmreadfilt()
/freebsd/sys/dev/evdev/
H A Duinput.c419 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 Dcdev.c355 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/sys/fs/cuse/
H A Dcuse.c1960 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/sys/security/audit/
H A Daudit_pipe.c1016 kn->kn_hook = ap; in audit_pipe_kqfilter()
1032 ap = (struct audit_pipe *)kn->kn_hook; in audit_pipe_kqread()
1052 ap = (struct audit_pipe *)kn->kn_hook; in audit_pipe_kqdetach()
/freebsd/sys/dev/netmap/
H A Dnetmap_freebsd.c1336 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/sys/arm/ti/
H A Dti_pruss.c801 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/sys/dev/qat/qat_common/
H A Dadf_freebsd_dev_processes.c486 kn->kn_hook = priv; in adf_state_kqfilter()
512 priv = kn->kn_hook; in adf_state_kqread_detach()
/freebsd/sys/dev/hid/
H A Dhidraw.c942 kn->kn_hook = sc; in hidraw_kqfilter()
954 sc = kn->kn_hook; in hidraw_kqread()
972 sc = kn->kn_hook; in hidraw_kqdetach()
/freebsd/sys/cam/scsi/
H A Dscsi_target.c324 kn->kn_hook = (caddr_t)softc; in targkqfilter()
335 softc = (struct targ_softc *)kn->kn_hook; in targreadfiltdetach()
346 softc = (struct targ_softc *)kn->kn_hook; in targreadfilt()
H A Dscsi_pass.c2127 kn->kn_hook = (caddr_t)periph; in passkqfilter()
2140 periph = (struct cam_periph *)kn->kn_hook; in passreadfiltdetach()
2153 periph = (struct cam_periph *)kn->kn_hook; in passreadfilt()
/freebsd/sys/dev/gpio/
H A Dgpioc.c1004 kn->kn_hook = (void *)priv; in gpioc_kqfilter()
1019 struct gpioc_cdevpriv *priv = kn->kn_hook; in gpioc_kqread()
1042 struct gpioc_cdevpriv *priv = kn->kn_hook; in gpioc_kqdetach()
/freebsd/sys/sys/
H A Devent.h294 void *kn_hook; member
/freebsd/sys/dev/usb/
H A Dusb_dev.c1141 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/sys/net/
H A Dif_tuntap.c1987 kn->kn_hook = tp; in tunkqfilter()
2000 struct tuntap_softc *tp = kn->kn_hook; in tunkqread()
2025 struct tuntap_softc *tp = kn->kn_hook; in tunkqwrite()
2036 struct tuntap_softc *tp = kn->kn_hook; in tunkqdetach()
H A Dbpf.c2200 kn->kn_hook = d; in bpfkqfilter()
2210 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfdetach()
2218 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfread()
2242 struct bpf_d *d = (struct bpf_d *)kn->kn_hook; in filt_bpfwrite()
/freebsd/sys/geom/
H A Dgeom_dev.c878 sc = kn->kn_hook; in gdev_filter_detach()
907 kn->kn_hook = sc; in g_dev_kqfilter()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c1141 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_detach()
1151 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_read_event()
1161 struct linux_file *filp = kn->kn_hook; in linux_file_kqfilter_write_event()
1233 kn->kn_hook = filp; in linux_file_kqfilter()
1240 kn->kn_hook = filp; in linux_file_kqfilter()
/freebsd/sys/dev/cyapa/
H A Dcyapa.c1120 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()

12