Lines Matching refs:knote
236 * Please note that EVFILT_PROC and EVFILT_SIGNAL share the same knote list
340 struct knote;
341 SLIST_HEAD(klist, knote);
353 TAILQ_HEAD(kqtailq, knote); /* a list of "queued" events */
355 struct knote {
358 TAILQ_ENTRY(knote) kn_tqe; /* linkage for tail queue */
360 SLIST_ENTRY(knote) kn_link; /* linkage for search list */
361 SLIST_ENTRY(knote) kn_selnext; /* klist element chain */
378 #define KN_DROPPING 0x08 /* knote is being dropped */
379 #define KN_USEWAIT 0x10 /* wait for knote use */
399 int (*f_attach)(struct knote *kn);
400 void (*f_detach)(struct knote *kn);
401 int (*f_event)(struct knote *kn, long hint);
403 void (*f_touch)(struct knote *kn, struct kevent64_s *kev, long type);
405 unsigned (*f_peek)(struct knote *kn);
411 SLIST_HEAD(klist, knote);
415 #define KNOTE(list, hint) knote(list, hint)
420 extern void knote(struct klist *list, long hint);
421 extern int knote_attach(struct klist *list, struct knote *kn);
422 extern int knote_detach(struct klist *list, struct knote *kn);
423 extern int knote_link_wait_queue(struct knote *kn, struct wait_queue *wq, wait_queue_link_t wql);
424 extern int knote_unlink_wait_queue(struct knote *kn, struct wait_queue *wq, wait_queue_link_t *wqlp);
426 extern void knote_markstayqueued(struct knote *kn);