/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | event.h | 89 #define NOTE_SUBMIT 0x01000000 /* initial knote submission */ 126 struct knote; 127 SLIST_HEAD(klist, knote); 148 #define KNOTE(list, hint) if (!SLIST_EMPTY(list)) knote(list, hint) 161 int (*f_attach) (struct knote *); 162 /* called when knote is ADDed */ 163 void (*f_detach) (struct knote *); 164 /* called when knote is DELETEd */ 165 int (*f_event) (struct knote *, long); 178 struct knote { struct [all...] |
H A D | eventvar.h | 49 TAILQ_HEAD(kqlist, knote) kq_head; /* list of pending event */
|
H A D | file.h | 79 struct knote; 101 int (*fo_kqfilter) (struct file *, struct knote *); 165 int fnullop_kqfilter(struct file *, struct knote *);
|
H A D | conf.h | 49 struct knote; 92 int (*d_kqfilter)(dev_t, struct knote *); 122 #define dev_type_kqfilter(n) int n (dev_t, struct knote *) 219 int seltrue_kqfilter(dev_t, struct knote *);
|
/netbsd-6-1-5-RELEASE/sys/dev/ir/ |
H A D | irframevar.h | 38 int (*im_kqfilter)(void *, struct knote *);
|
/netbsd-6-1-5-RELEASE/sys/arch/x68k/dev/ |
H A D | event_var.h | 82 int ev_kqfilter(struct evvar *, struct knote *);
|
H A D | event.c | 162 filt_evrdetach(struct knote *kn) 168 SLIST_REMOVE(&ev->ev_sel.sel_klist, kn, knote, kn_selnext); 173 filt_evread(struct knote *kn, long hint) 195 ev_kqfilter(struct evvar *ev, struct knote *kn)
|
/netbsd-6-1-5-RELEASE/sys/arch/atari/dev/ |
H A D | event_var.h | 80 int ev_kqfilter(struct evvar *, struct knote *);
|
H A D | event.c | 163 filt_evrdetach(struct knote *kn) 169 SLIST_REMOVE(&ev->ev_sel.sel_klist, kn, knote, kn_selnext); 174 filt_evread(struct knote *kn, long hint) 196 ev_kqfilter(struct evvar *ev, struct knote *kn)
|
/netbsd-6-1-5-RELEASE/sys/arch/amiga/dev/ |
H A D | event_var.h | 80 int ev_kqfilter(struct evvar *, struct knote *);
|
H A D | event.c | 164 filt_evrdetach(struct knote *kn) 170 SLIST_REMOVE(&ev->ev_sel.sel_klist, kn, knote, kn_selnext); 175 filt_evread(struct knote *kn, long hint) 197 ev_kqfilter(struct evvar *ev, struct knote *kn)
|
/netbsd-6-1-5-RELEASE/sys/dev/sun/ |
H A D | event_var.h | 82 int ev_kqfilter(struct evvar *, struct knote *);
|
H A D | event.c | 170 filt_evrdetach(struct knote *kn) 176 SLIST_REMOVE(&ev->ev_sel.sel_klist, kn, knote, kn_selnext); 181 filt_evread(struct knote *kn, long hint) 203 ev_kqfilter(struct evvar *ev, struct knote *kn)
|
H A D | fbvar.h | 62 int (*fbd_kqfilter)(dev_t, struct knote *);
|
/netbsd-6-1-5-RELEASE/sys/dev/wscons/ |
H A D | wseventvar.h | 95 int wsevent_kqfilter(struct wseventvar *, struct knote *);
|
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | kern_event.c | 88 static int kqueue_kqfilter(file_t *, struct knote *); 94 static void knote_detach(struct knote *, filedesc_t *fdp, bool); 95 static void knote_enqueue(struct knote *); 96 static void knote_activate(struct knote *); 98 static void filt_kqdetach(struct knote *); 99 static int filt_kqueue(struct knote *, long hint); 100 static int filt_procattach(struct knote *); 101 static void filt_procdetach(struct knote *); 102 static int filt_proc(struct knote *, long hint); 103 static int filt_fileattach(struct knote *); 1495 knote(struct klist *list, long hint) function [all...] |
H A D | subr_log.c | 244 filt_logrdetach(struct knote *kn) 248 SLIST_REMOVE(&log_selp.sel_klist, kn, knote, kn_selnext); 253 filt_logread(struct knote *kn, long hint) 279 logkqfilter(dev_t dev, struct knote *kn)
|
/netbsd-6-1-5-RELEASE/sys/arch/sun3/dev/ |
H A D | fbvar.h | 43 #include <sys/event.h> /* for struct knote */ 78 int (*fbd_kqfilter)(dev_t, struct knote *);
|
/netbsd-6-1-5-RELEASE/sys/miscfs/genfs/ |
H A D | genfs_vnops.c | 85 static void filt_genfsdetach(struct knote *); 86 static int filt_genfsread(struct knote *, long); 87 static int filt_genfsvnode(struct knote *, long); 428 filt_genfsdetach(struct knote *kn) 433 SLIST_REMOVE(&vp->v_klist, kn, knote, kn_selnext); 438 filt_genfsread(struct knote *kn, long hint) 445 * the knote for deletion. 466 filt_genfsvnode(struct knote *kn, long hint) 504 struct knote *a_kn; 507 struct knote *k [all...] |
/netbsd-6-1-5-RELEASE/sys/rump/include/rump/ |
H A D | rumpvnode_if.h | 47 struct knote; 70 int RUMP_VOP_KQFILTER(struct vnode *, struct knote *);
|
/netbsd-6-1-5-RELEASE/sys/arch/landisk/dev/ |
H A D | button.c | 285 filt_btn_rdetach(struct knote *kn) 290 kn, knote, kn_selnext); 295 filt_btn_read(struct knote *kn, long hint) 312 btnkqfilter(dev_t dev, struct knote *kn)
|
/netbsd-6-1-5-RELEASE/sys/nfs/ |
H A D | nfs_kq.c | 113 * isn't really important, neither speed of attach and detach of knote. 192 filt_nfsdetach(struct knote *kn) 198 SLIST_REMOVE(&vp->v_klist, kn, knote, kn_selnext); 225 filt_nfsread(struct knote *kn, long hint) 232 * the knote for deletion. 253 filt_nfsvnode(struct knote *kn, long hint) 292 struct knote *a_kn; 295 struct knote *kn;
|
/netbsd-6-1-5-RELEASE/sys/dev/sysmon/ |
H A D | sysmonvar.h | 50 struct knote; 263 int sysmonkqfilter_power(dev_t, struct knote *);
|
/netbsd-6-1-5-RELEASE/sys/arch/macppc/dev/ |
H A D | apm.c | 407 filt_apmrdetach(struct knote *kn) 412 SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext); 417 filt_apmread(struct knote *kn, long hint) 429 apmkqfilter(dev_t dev, struct knote *kn)
|
/netbsd-6-1-5-RELEASE/sys/arch/arc/dev/ |
H A D | opms.c | 446 filt_opmsrdetach(struct knote *kn) 452 SLIST_REMOVE(&sc->sc_rsel.sel_klist, kn, knote, kn_selnext); 457 filt_opmsread(struct knote *kn, long hint) 469 opmskqfilter(dev_t dev, struct knote *kn)
|