Searched refs:knote (Results 1 - 25 of 98) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/sys/sys/
H A Devent.h89 #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 Deventvar.h49 TAILQ_HEAD(kqlist, knote) kq_head; /* list of pending event */
H A Dfile.h79 struct knote;
101 int (*fo_kqfilter) (struct file *, struct knote *);
165 int fnullop_kqfilter(struct file *, struct knote *);
H A Dconf.h49 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 Dirframevar.h38 int (*im_kqfilter)(void *, struct knote *);
/netbsd-6-1-5-RELEASE/sys/arch/x68k/dev/
H A Devent_var.h82 int ev_kqfilter(struct evvar *, struct knote *);
H A Devent.c162 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 Devent_var.h80 int ev_kqfilter(struct evvar *, struct knote *);
H A Devent.c163 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 Devent_var.h80 int ev_kqfilter(struct evvar *, struct knote *);
H A Devent.c164 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 Devent_var.h82 int ev_kqfilter(struct evvar *, struct knote *);
H A Devent.c170 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 Dfbvar.h62 int (*fbd_kqfilter)(dev_t, struct knote *);
/netbsd-6-1-5-RELEASE/sys/dev/wscons/
H A Dwseventvar.h95 int wsevent_kqfilter(struct wseventvar *, struct knote *);
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dkern_event.c88 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 Dsubr_log.c244 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 Dfbvar.h43 #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 Dgenfs_vnops.c85 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 Drumpvnode_if.h47 struct knote;
70 int RUMP_VOP_KQFILTER(struct vnode *, struct knote *);
/netbsd-6-1-5-RELEASE/sys/arch/landisk/dev/
H A Dbutton.c285 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 Dnfs_kq.c113 * 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 Dsysmonvar.h50 struct knote;
263 int sysmonkqfilter_power(dev_t, struct knote *);
/netbsd-6-1-5-RELEASE/sys/arch/macppc/dev/
H A Dapm.c407 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 Dopms.c446 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)

Completed in 288 milliseconds

1234