Searched refs:knl (Results 1 – 6 of 6) sorted by relevance
| /f-stack/tools/compat/include/sys/ |
| H A D | event.h | 263 extern void knlist_detach(struct knlist *knl); 264 extern void knlist_add(struct knlist *knl, struct knote *kn, int islocked); 266 extern int knlist_empty(struct knlist *knl); 267 extern void knlist_init(struct knlist *knl, void *lock, 270 extern void knlist_init_mtx(struct knlist *knl, struct mtx *lock); 272 extern void knlist_destroy(struct knlist *knl); 273 extern void knlist_cleardel(struct knlist *knl, struct thread *td, 275 #define knlist_clear(knl, islocked) \ argument 276 knlist_cleardel((knl), NULL, (islocked), 0) 277 #define knlist_delete(knl, td, islocked) \ argument [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | kern_event.c | 255 knl->kl_lock(knl->kl_lockarg); in kn_list_lock() 266 do_free = knl->kl_autodestroy && knlist_empty(knl); in kn_list_unlock() 267 knl->kl_unlock(knl->kl_lockarg); in kn_list_unlock() 308 knl->kl_assert_lock((knl)->kl_lockarg, LA_LOCKED); \ 311 knl->kl_assert_lock((knl)->kl_lockarg, LA_UNLOCKED); \ 2305 knl->kl_lock(knl->kl_lockarg); in knlist_add() 2308 knl->kl_unlock(knl->kl_lockarg); in knlist_add() 2327 knl->kl_lock(knl->kl_lockarg); in knlist_remove_kq() 2500 knl->kl_lock(knl->kl_lockarg); in knlist_cleardel() 2529 knl->kl_unlock(knl->kl_lockarg); in knlist_cleardel() [all …]
|
| H A D | vfs_aio.c | 2639 struct knlist *knl; in filt_aiodetach() local 2641 knl = &kn->kn_ptr.p_aio->klist; in filt_aiodetach() 2642 knl->kl_lock(knl->kl_lockarg); in filt_aiodetach() 2643 if (!knlist_empty(knl)) in filt_aiodetach() 2644 knlist_remove(knl, kn, 1); in filt_aiodetach() 2645 knl->kl_unlock(knl->kl_lockarg); in filt_aiodetach() 2689 struct knlist *knl; in filt_liodetach() local 2692 knl->kl_lock(knl->kl_lockarg); in filt_liodetach() 2693 if (!knlist_empty(knl)) in filt_liodetach() 2694 knlist_remove(knl, kn, 1); in filt_liodetach() [all …]
|
| H A D | uipc_socket.c | 3595 struct knlist *knl; local 3600 knl = &so->so_rdsel.si_note; 3605 knl = &so->so_wrsel.si_note; 3610 knl = &so->so_wrsel.si_note; 3619 knlist_add(knl, kn, 1); 3622 knlist_add(knl, kn, 1);
|
| H A D | vfs_subr.c | 6178 struct knlist *knl; in vfs_kqfilter() local 6199 knl = &vp->v_pollinfo->vpi_selinfo.si_note; in vfs_kqfilter() 6201 knlist_add(knl, kn, 0); in vfs_kqfilter()
|
| /f-stack/freebsd/sys/ |
| H A D | event.h | 331 void knlist_detach(struct knlist *knl); 332 void knlist_add(struct knlist *knl, struct knote *kn, int islocked); 334 int knlist_empty(struct knlist *knl); 337 void knlist_init_mtx(struct knlist *knl, struct mtx *lock); 338 void knlist_init_rw_reader(struct knlist *knl, struct rwlock *lock); 339 void knlist_destroy(struct knlist *knl); 340 void knlist_cleardel(struct knlist *knl, struct thread *td, 342 #define knlist_clear(knl, islocked) \ argument 343 knlist_cleardel((knl), NULL, (islocked), 0) 344 #define knlist_delete(knl, td, islocked) \ argument [all …]
|