Home
last modified time | relevance | path

Searched refs:knote (Results 1 – 25 of 113) sorted by relevance

12345

/netbsd-src/sys/sys/
H A Devent.h185 struct knote;
186 SLIST_HEAD(klist, knote);
207 #define KNOTE(list, hint) if (!SLIST_EMPTY(list)) knote(list, hint)
230 int (*f_attach) (struct knote *);
232 void (*f_detach) (struct knote *);
234 int (*f_event) (struct knote *, long);
236 int (*f_touch) (struct knote *, struct kevent *, long);
252 struct knote { struct
253 SLIST_ENTRY(knote) kn_link; /* f: for fd */
254 SLIST_ENTRY(knote) kn_selnext; /* o: for struct selinfo */
[all …]
H A Dselect.h50 struct knote;
55 void selrecord_knote(struct selinfo *, struct knote *);
56 bool selremove_knote(struct selinfo *, struct knote *);
H A Dentropy.h43 struct knote;
59 int entropy_kqfilter(struct knote *);
H A Dfile.h78 struct knote;
96 int (*fo_kqfilter) (struct file *, struct knote *);
227 int fnullop_kqfilter(struct file *, struct knote *);
H A Dconf.h51 struct knote;
100 int (*d_kqfilter)(dev_t, struct knote *);
133 typedef int dev_kqfilter_t(dev_t, struct knote *);
264 int seltrue_kqfilter(dev_t, struct knote *);
H A Dvnode.h447 knote(&vp->v_klist->vk_klist, hint); in VN_KNOTE()
452 void vn_knote_attach(struct vnode *, struct knote *);
453 void vn_knote_detach(struct vnode *, struct knote *);
638 int vn_kqfilter(struct file *, struct knote *);
/netbsd-src/sys/kern/
H A Dkern_event.c94 static int kqueue_kqfilter(file_t *, struct knote *);
102 static void knote_detach(struct knote *, filedesc_t *fdp, bool);
103 static void knote_enqueue(struct knote *);
104 static void knote_activate(struct knote *);
105 static void knote_activate_locked(struct knote *);
106 static void knote_deactivate_locked(struct knote *);
108 static void filt_kqdetach(struct knote *);
109 static int filt_kqueue(struct knote *, long hint);
110 static int filt_procattach(struct knote *);
111 static void filt_procdetach(struct knote *);
[all …]
H A Dsys_eventfd.c405 eventfd_filt_read_detach(struct knote * const kn) in eventfd_filt_read_detach()
416 eventfd_filt_read(struct knote * const kn, long const hint) in eventfd_filt_read()
444 eventfd_filt_write_detach(struct knote * const kn) in eventfd_filt_write_detach()
455 eventfd_filt_write(struct knote * const kn, long const hint) in eventfd_filt_write()
483 eventfd_fop_kqfilter(file_t * const fp, struct knote * const kn) in eventfd_fop_kqfilter()
/netbsd-src/sys/compat/linux/common/
H A Dlinux_inotify.c141 static int inotify_filt_attach(struct knote *);
142 static void inotify_filt_detach(struct knote *);
143 static int inotify_filt_event(struct knote *, long);
144 static void inotify_read_filt_detach(struct knote *);
145 static int inotify_read_filt_event(struct knote *, long);
150 static int inotify_kqfilter(file_t *, struct knote *);
426 struct knote *kn, *tmpkn; in linux_sys_inotify_add_watch()
550 * the relevant knote. in linux_sys_inotify_add_watch()
577 * XXX We are forced to find the appropriate knote in linux_sys_inotify_add_watch()
699 inotify_filt_attach(struct knote *k
[all...]
/netbsd-src/sys/dev/usb/
H A Dudsir.c129 static int udsir_kqfilter(void *, struct knote *);
134 static void filt_udsirrdetach(struct knote *);
135 static int filt_udsirread(struct knote *, long);
136 static void filt_udsirwdetach(struct knote *);
137 static int filt_udsirwrite(struct knote *, long);
680 udsir_kqfilter(void *h, struct knote *kn) in udsir_kqfilter()
769 filt_udsirrdetach(struct knote *kn) in filt_udsirrdetach()
781 filt_udsirread(struct knote *kn, long hint) in filt_udsirread()
790 filt_udsirwdetach(struct knote *kn) in filt_udsirwdetach()
802 filt_udsirwrite(struct knote *kn, long hint) in filt_udsirwrite()
/netbsd-src/sys/arch/amiga/dev/
H A Devent.c164 filt_evrdetach(struct knote *kn) in filt_evrdetach()
175 filt_evread(struct knote *kn, long hint) in filt_evread()
201 ev_kqfilter(struct evvar *ev, struct knote *kn) in ev_kqfilter()
/netbsd-src/sys/arch/atari/dev/
H A Devent.c164 filt_evrdetach(struct knote *kn) in filt_evrdetach()
175 filt_evread(struct knote *kn, long hint) in filt_evread()
201 ev_kqfilter(struct evvar *ev, struct knote *kn) in ev_kqfilter()
/netbsd-src/sys/external/bsd/drm2/drm/
H A Ddrm_cdevsw.c79 static int drm_kqfilter(struct file *, struct knote *);
421 static void filt_drm_detach(struct knote *);
422 static int filt_drm_event(struct knote *, long);
432 drm_kqfilter(struct file *fp, struct knote *kn) in drm_kqfilter()
453 filt_drm_detach(struct knote *kn) in filt_drm_detach()
465 filt_drm_event(struct knote *kn, long hint) in filt_drm_event()
/netbsd-src/sys/net/
H A Dif_tap.c125 static int tap_dev_kqfilter(int, struct knote *);
136 static int tap_fops_kqfilter(file_t *, struct knote *);
161 static int tap_cdev_kqfilter(dev_t, struct knote *);
181 static void tap_kqdetach(struct knote *);
182 static int tap_kqread(struct knote *, long);
1151 tap_cdev_kqfilter(dev_t dev, struct knote *kn) in tap_cdev_kqfilter()
1158 tap_fops_kqfilter(file_t *fp, struct knote *kn) in tap_fops_kqfilter()
1165 tap_dev_kqfilter(int unit, struct knote *kn) in tap_dev_kqfilter()
1195 tap_kqdetach(struct knote *kn) in tap_kqdetach()
1207 tap_kqread(struct knote *k in tap_kqread()
[all...]
/netbsd-src/sys/dev/sun/
H A Devent.c170 filt_evrdetach(struct knote *kn) in filt_evrdetach()
181 filt_evread(struct knote *kn, long hint) in filt_evread()
207 ev_kqfilter(struct evvar *ev, struct knote *kn) in ev_kqfilter()
/netbsd-src/sys/nfs/
H A Dnfs_kq.c189 filt_nfsdetach(struct knote *kn) in filt_nfsdetach()
220 filt_nfsread(struct knote *kn, long hint) in filt_nfsread()
248 filt_nfsvnode(struct knote *kn, long hint) in filt_nfsvnode()
299 struct knote *kn; in nfs_kqfilter()
/netbsd-src/sys/arch/x68k/dev/
H A Devent.c187 filt_evrdetach(struct knote *kn) in filt_evrdetach()
197 filt_evread(struct knote *kn, long hint) in filt_evread()
227 ev_kqfilter(struct evvar *ev, struct knote *kn) in ev_kqfilter()
/netbsd-src/sys/dev/sysmon/
H A Dsysmonvar.h51 struct knote;
304 int sysmonkqfilter_power(dev_t, struct knote *);
327 int (*so_filter)(dev_t, struct knote*);
/netbsd-src/sys/external/bsd/drm2/linux/
H A Dlinux_sync_file.c134 sync_file_kqfilter(struct file *fp, struct knote *kn) in sync_file_kqfilter()
152 filt_sync_file_detach(struct knote *kn) in filt_sync_file_detach()
162 filt_sync_file_event(struct knote *kn, long hint) in filt_sync_file_event()
/netbsd-src/sys/arch/landisk/dev/
H A Dbutton.c289 filt_btn_rdetach(struct knote *kn) in filt_btn_rdetach()
298 filt_btn_read(struct knote *kn, long hint) in filt_btn_read()
326 btnkqfilter(dev_t dev, struct knote *kn) in btnkqfilter()
/netbsd-src/sys/miscfs/genfs/
H A Dgenfs_vnops.c83 static void filt_genfsdetach(struct knote *);
84 static int filt_genfsread(struct knote *, long);
85 static int filt_genfsvnode(struct knote *, long);
496 filt_genfsdetach(struct knote *kn) in filt_genfsdetach()
504 filt_genfsread(struct knote *kn, long hint) in filt_genfsread()
532 filt_genfswrite(struct knote *kn, long hint) in filt_genfswrite()
558 filt_genfsvnode(struct knote *kn, long hint) in filt_genfsvnode()
615 struct knote *kn; in genfs_kqfilter()
/netbsd-src/sys/dev/sbus/
H A Dbpp.c506 filt_bpprdetach(struct knote *kn) in filt_bpprdetach()
517 filt_bppread(struct knote *kn, long hint) in filt_bppread()
531 filt_bppwdetach(struct knote *kn) in filt_bppwdetach()
542 filt_bpfwrite(struct knote *kn, long hint) in filt_bpfwrite()
561 bppkqfilter(dev_t dev, struct knote *kn) in bppkqfilter()
/netbsd-src/sys/dev/pci/
H A Dvio9p.c143 static int vio9p_kqfilter(struct file *, struct knote *);
399 filt_vio9p_detach(struct knote *kn) in filt_vio9p_detach()
409 filt_vio9p_read(struct knote *kn, long hint) in filt_vio9p_read()
429 filt_vio9p_write(struct knote *kn, long hint) in filt_vio9p_write()
445 vio9p_kqfilter(struct file *fp, struct knote *kn) in vio9p_kqfilter()
/netbsd-src/sys/rump/include/rump/
H A Drumpvnode_if.h47 struct knote;
77 int RUMP_VOP_KQFILTER(struct vnode *, struct knote *);
/netbsd-src/sys/dev/wscons/
H A Dwsevent.c300 filt_wseventrdetach(struct knote *kn) in filt_wseventrdetach()
311 filt_wseventread(struct knote *kn, long hint) in filt_wseventread()
336 wsevent_kqfilter(struct wseventvar *ev, struct knote *kn) in wsevent_kqfilter()

12345