Lines Matching refs:knote
151 struct knote;
152 SLIST_HEAD(klist, knote);
174 #define KNOTE(list, hist, flags) knote(list, hist, flags)
175 #define KNOTE_LOCKED(list, hint) knote(list, hint, KNF_LISTLOCKED)
176 #define KNOTE_UNLOCKED(list, hint) knote(list, hint, 0)
198 int (*f_attach)(struct knote *kn);
199 void (*f_detach)(struct knote *kn);
200 int (*f_event)(struct knote *kn, long hint);
201 void (*f_touch)(struct knote *kn, struct kevent *kev, u_long type);
210 struct knote { struct
211 SLIST_ENTRY(knote) kn_link; /* for kq */
212 SLIST_ENTRY(knote) kn_selnext; /* for struct selinfo */
214 TAILQ_ENTRY(knote) kn_tqe; argument
260 extern void knote(struct knlist *list, long hint, int lockflags); argument
264 extern void knlist_add(struct knlist *knl, struct knote *kn, int islocked);
265 extern void knlist_remove(struct knlist *knl, struct knote *kn, int islocked);