Lines Matching refs:knote
219 struct knote;
220 SLIST_HEAD(klist, knote);
240 #define KNOTE(list, hint, flags) knote(list, hint, flags)
241 #define KNOTE_LOCKED(list, hint) knote(list, hint, KNF_LISTLOCKED)
242 #define KNOTE_UNLOCKED(list, hint) knote(list, hint, 0)
264 int (*f_attach)(struct knote *kn);
265 void (*f_detach)(struct knote *kn);
266 int (*f_event)(struct knote *kn, long hint);
267 void (*f_touch)(struct knote *kn, struct kevent *kev, u_long type);
279 struct knote { struct
280 SLIST_ENTRY(knote) kn_link; /* for kq */
281 SLIST_ENTRY(knote) kn_selnext; /* for struct selinfo */
283 TAILQ_ENTRY(knote) kn_tqe; argument
328 void knote(struct knlist *list, long hint, int lockflags); argument
332 void knlist_add(struct knlist *knl, struct knote *kn, int islocked);
333 void knlist_remove(struct knlist *knl, struct knote *kn, int islocked);