Home
last modified time | relevance | path

Searched refs:knlist (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/sys/
H A Devent.h239 struct knlist { struct
304 struct knlist *kn_knlist; /* f_attach populated */
347 struct knlist;
351 void knote(struct knlist *list, long hint, int lockflags);
352 void knote_fork(struct knlist *list, int pid);
354 struct knlist *knlist_alloc(struct mtx *lock);
355 void knlist_detach(struct knlist *knl);
356 void knlist_add(struct knlist *knl, struct knote *kn, int islocked);
357 void knlist_remove(struct knlist *knl, struct knote *kn, int islocked);
358 int knlist_empty(struct knlist *knl);
[all …]
H A Dselinfo.h46 struct knlist si_note; /* kernel note list */
H A Daio.h151 struct knlist klist; /* (a) list of knotes */
H A Djail.h154 struct knlist;
200 struct knlist *pr_klist; /* (m) attached knotes */
H A Dproc.h756 struct knlist *p_klist; /* (c) Knotes attached to this proc. */
/freebsd/sys/kern/
H A Dkern_event.c274 static struct knlist * in kn_list_lock()
277 struct knlist *knl; in kn_list_lock()
286 kn_list_unlock(struct knlist *knl) in kn_list_unlock()
558 knote_fork(struct knlist *list, int pid) in knote_fork()
1660 struct knlist *knl; in kqueue_register()
1723 * getting both the knlist lock and the kq lock since in kqueue_register()
2113 struct knlist *knl; in kqueue_scan()
2419 ("kqueue's knlist not empty")); in kqueue_drain()
2564 knote(struct knlist *list, long hint, int lockflags) in knote()
2594 * fragment in kqueue_scan() locks the knlist, in knote()
3118 kqueue_fork_copy_list(struct klist * knlist,struct knote * marker,struct kqueue * kq,struct kqueue * kq1,struct proc * p1,struct filedesc * fdp) kqueue_fork_copy_list() argument
[all...]
H A Dvfs_aio.c250 struct knlist klist; /* (a) list of knotes */
2667 struct knlist *knl; in filt_aiodetach()
2716 struct knlist *knl; in filt_liodetach()
H A Dvfs_subr.c6534 static struct knlist fs_knlist; in vfs_event_init()
6700 struct knlist *knl; in vfs_kqfilter()
H A Duipc_usrreq.c1892 struct knlist *knl; in uipc_kqfilter_stream_or_seqpacket()
H A Duipc_socket.c4552 struct knlist *knl;
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dfreebsd_event.h33 void knlist_init_sx(struct knlist *knl, struct sx *lock);
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Devent_os.c60 knlist_init_sx(struct knlist *knl, struct sx *lock) in knlist_init_sx()
/freebsd/sys/dev/gpio/
H A Dgpioc.c1013 struct knlist *knlist; in gpioc_kqfilter() local
1032 knlist = &priv->selinfo.si_note; in gpioc_kqfilter()
1033 knlist_add(knlist, kn, 0); in gpioc_kqfilter()
1065 struct knlist *knlist = &priv->selinfo.si_note; in gpioc_kqdetach() local
1067 knlist_remove(knlist, kn, 0); in gpioc_kqdetach()
/freebsd/sys/dev/cyapa/
H A Dcyapa.c1132 struct knlist *knlist; in cyapakqfilter() local
1144 knlist = &sc->selinfo.si_note; in cyapakqfilter()
1145 knlist_add(knlist, kn, 0); in cyapakqfilter()
1177 struct knlist *knlist; in cyapafiltdetach() local
1181 knlist = &sc->selinfo.si_note; in cyapafiltdetach()
1182 knlist_remove(knlist, kn, 0); in cyapafiltdetach()
/freebsd/contrib/sendmail/src/
H A Dconf.c1561 if (knlist(Nl, 1, sizeof(Nl[0])) < 0) in getla()