/freebsd/sys/kern/ |
H A D | sys_eventfd.c | 267 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 D | sys_timerfd.c | 270 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 D | subr_log.c | 201 kn->kn_hook = NULL; in logkqfilter()
|
H A D | sys_pipe.c | 1825 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 D | tty.c | 709 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 D | fuse_device.c | 189 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 D | acpi_apm.c | 410 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 D | uinput.c | 419 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 D | cdev.c | 355 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 D | cuse.c | 1960 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 D | audit_pipe.c | 1016 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 D | netmap_freebsd.c | 1336 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 D | ti_pruss.c | 801 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 D | adf_freebsd_dev_processes.c | 486 kn->kn_hook = priv; in adf_state_kqfilter() 512 priv = kn->kn_hook; in adf_state_kqread_detach()
|
/freebsd/sys/dev/hid/ |
H A D | hidraw.c | 942 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 D | scsi_target.c | 324 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 D | scsi_pass.c | 2127 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 D | gpioc.c | 1004 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 D | event.h | 294 void *kn_hook; member
|
/freebsd/sys/dev/usb/ |
H A D | usb_dev.c | 1141 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 D | if_tuntap.c | 1987 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 D | bpf.c | 2200 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 D | geom_dev.c | 878 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 D | linux_compat.c | 1141 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 D | cyapa.c | 1120 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()
|