Lines Matching refs:knote
237 * Please note that EVFILT_PROC and EVFILT_SIGNAL share the same knote list
388 struct knote;
389 SLIST_HEAD(klist, knote);
402 TAILQ_HEAD(kqtailq, knote); /* a list of "queued" events */
404 struct knote {
407 TAILQ_ENTRY(knote) kn_tqe; /* linkage for tail queue */
409 SLIST_ENTRY(knote) kn_link; /* linkage for search list */
410 SLIST_ENTRY(knote) kn_selnext; /* klist element chain */
427 #define KN_DROPPING 0x08 /* knote is being dropped */
428 #define KN_USEWAIT 0x10 /* wait for knote use */
448 int (*f_attach)(struct knote *kn);
449 void (*f_detach)(struct knote *kn);
450 int (*f_event)(struct knote *kn, long hint);
452 void (*f_touch)(struct knote *kn, struct kevent64_s *kev, long type);
454 unsigned (*f_peek)(struct knote *kn);
460 SLIST_HEAD(klist, knote);
464 #define KNOTE(list, hint) knote(list, hint)
469 extern void knote(struct klist *list, long hint);
470 extern int knote_attach(struct klist *list, struct knote *kn);
471 extern int knote_detach(struct klist *list, struct knote *kn);
472 extern int knote_link_wait_queue(struct knote *kn, struct wait_queue *wq, wait_queue_link_t wql);
473 extern int knote_unlink_wait_queue(struct knote *kn, struct wait_queue *wq, wait_queue_link_t *wqlp);
475 extern void knote_markstayqueued(struct knote *kn);