Lines Matching defs:knote
177 * Please note that EVFILT_PROC and EVFILT_SIGNAL share the same knote list
218 struct knote;
219 SLIST_HEAD(klist, knote);
231 TAILQ_HEAD(kqtailq, knote); /* a list of "queued" events */
233 struct knote {
236 TAILQ_ENTRY(knote) kn_tqe; /* linkage for tail queue */
238 SLIST_ENTRY(knote) kn_link; /* linkage for search list */
239 SLIST_ENTRY(knote) kn_selnext; /* klist element chain */
255 #define KN_DROPPING 0x08 /* knote is being dropped */
256 #define KN_USEWAIT 0x10 /* wait for knote use */
257 #define KN_DROPWAIT 0x20 /* wait for knote drop */
269 int (*f_attach)(struct knote *kn);
270 void (*f_detach)(struct knote *kn);
271 int (*f_event)(struct knote *kn, long hint);
276 SLIST_HEAD(klist, knote);
280 #define KNOTE(list, hint) knote(list, hint)
285 extern void knote(struct klist *list, long hint);
286 extern int knote_attach(struct klist *list, struct knote *kn);
287 extern int knote_detach(struct klist *list, struct knote *kn);