Home
last modified time | relevance | path

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

/xnu-8020.101.4/bsd/sys/
H A Devent.h689 SLIST_HEAD(klist, knote);
1115 SLIST_HEAD(klist, knote);
1117 extern void klist_init(struct klist *list);
1123 extern void knote(struct klist *list, long hint);
1124 extern int knote_attach(struct klist *list, struct knote *kn);
1125 extern int knote_detach(struct klist *list, struct knote *kn);
1126 extern void knote_vanish(struct klist *list, bool make_active);
1167 SLIST_HEAD(klist, knote);
H A Dfiledesc.h91 struct klist;
141 struct klist *fd_knlist; /* (L) list of attached knotes */
154 struct klist *fd_knhash; /* (N) hash table for attached knotes */
H A Dselect.h122 struct klist si_note; /* JMM - temporary separation */
H A Dvnode_internal.h170 struct klist v_knotes; /* knotes attached to this vnode */
H A Dproc_internal.h404 struct klist p_klist; /* knote list (PL ?)*/
H A Dsocketvar.h283 struct klist so_klist; /* klist for EV_SOCK events */
/xnu-8020.101.4/osfmk/ipc/
H A Dipc_pset.c523 filt_machport_link(struct klist *klist, struct knote *kn) in filt_machport_link() argument
525 struct knote *hd = SLIST_FIRST(klist); in filt_machport_link()
530 SLIST_INSERT_HEAD(klist, kn, kn_selnext); in filt_machport_link()
535 filt_machport_unlink(struct klist *klist, struct knote *kn) in filt_machport_unlink() argument
539 KNOTE_DETACH(klist, kn); in filt_machport_unlink()
542 SLIST_FOREACH_PREVPTR(kn, knprev, klist, kn_selnext) { in filt_machport_unlink()
545 SLIST_INSERT_HEAD(klist, kn, kn_selnext); in filt_machport_unlink()
H A Dipc_mqueue.c283 static inline struct klist *
307 struct klist *klist = ipc_object_klist(object); in ipc_mqueue_changed() local
309 if (klist && SLIST_FIRST(klist)) { in ipc_mqueue_changed()
337 knote_vanish(klist, is_active(space)); in ipc_mqueue_changed()
344 klist_init(klist); in ipc_mqueue_changed()
H A Dipc_pset.h83 struct klist ips_klist;
H A Dipc_mqueue.h115 struct klist imq_klist;
/xnu-8020.101.4/bsd/kern/
H A Dkern_memorystatus_notify.c83 struct klist memorystatus_klist;
127 static struct knote *vm_pressure_select_optimal_candidate_to_notify(struct klist *candidate_list, i…
1095 vm_pressure_select_optimal_candidate_to_notify(struct klist *candidate_list, int level, boolean_t t… in vm_pressure_select_optimal_candidate_to_notify()
1405 struct klist dispatch_klist = { NULL }; in memorystatus_update_vm_pressure()
H A Dkern_event.c3559 struct klist *kn_hash = NULL; in knotes_dealloc()
3577 kfree_type(struct klist, fdp->fd_knlistsize, fdp->fd_knlist); in knotes_dealloc()
5990 klist_init(struct klist *list) in klist_init()
6008 knote(struct klist *list, long hint) in knote()
6022 knote_attach(struct klist *list, struct knote *kn) in knote_attach()
6034 knote_detach(struct klist *list, struct knote *kn) in knote_detach()
6056 knote_vanish(struct klist *list, bool make_active) in knote_vanish()
6100 struct klist *list; in knote_fdclose()
6171 struct klist *list = NULL; in knote_fdfind()
6228 struct klist *list = NULL; in kq_add_knote()
[all …]
H A Dkern_memorystatus.c942 extern struct knote *vm_find_knote_from_pid(pid_t, struct klist *);
/xnu-8020.101.4/bsd/vfs/
H A Dvfs_fsevents.c1776 struct klist knotes;
H A Dvfs_subr.c4248 static struct klist fs_klist;