Home
last modified time | relevance | path

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

/xnu-8796.101.5/bsd/sys/
H A Devent.h692 SLIST_HEAD(klist, knote);
1131 SLIST_HEAD(klist, knote);
1133 extern void klist_init(struct klist *list);
1139 extern void knote(struct klist *list, long hint);
1140 extern int knote_attach(struct klist *list, struct knote *kn);
1141 extern int knote_detach(struct klist *list, struct knote *kn);
1142 extern void knote_vanish(struct klist *list, bool make_active);
1183 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.h187 struct klist v_knotes; /* knotes attached to this vnode */
H A Dproc_internal.h396 struct klist p_klist; /* knote list (PL ?)*/
H A Dsocketvar.h316 struct klist so_klist; /* klist for EV_SOCK events */
/xnu-8796.101.5/osfmk/ipc/
H A Dipc_pset.c539 filt_machport_link(struct klist *klist, struct knote *kn) in filt_machport_link() argument
541 struct knote *hd = SLIST_FIRST(klist); in filt_machport_link()
546 SLIST_INSERT_HEAD(klist, kn, kn_selnext); in filt_machport_link()
551 filt_machport_unlink(struct klist *klist, struct knote *kn) in filt_machport_unlink() argument
555 KNOTE_DETACH(klist, kn); in filt_machport_unlink()
558 SLIST_FOREACH_PREVPTR(kn, knprev, klist, kn_selnext) { in filt_machport_unlink()
561 SLIST_INSERT_HEAD(klist, kn, kn_selnext); in filt_machport_unlink()
H A Dipc_mqueue.c297 static inline struct klist *
321 struct klist *klist = ipc_object_klist(object); in ipc_mqueue_changed() local
323 if (klist && SLIST_FIRST(klist)) { in ipc_mqueue_changed()
351 knote_vanish(klist, is_active(space)); in ipc_mqueue_changed()
358 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-8796.101.5/bsd/kern/
H A Dkern_memorystatus_notify.c84 struct klist memorystatus_klist;
128 static struct knote *vm_pressure_select_optimal_candidate_to_notify(struct klist *candidate_list, i…
1096 vm_pressure_select_optimal_candidate_to_notify(struct klist *candidate_list, int level, boolean_t t… in vm_pressure_select_optimal_candidate_to_notify()
1411 struct klist dispatch_klist = { NULL }; in memorystatus_update_vm_pressure()
H A Dkern_event.c3571 struct klist *kn_hash = NULL; in knotes_dealloc()
3589 kfree_type(struct klist, fdp->fd_knlistsize, fdp->fd_knlist); in knotes_dealloc()
6007 klist_init(struct klist *list) in klist_init()
6025 knote(struct klist *list, long hint) in knote()
6039 knote_attach(struct klist *list, struct knote *kn) in knote_attach()
6051 knote_detach(struct klist *list, struct knote *kn) in knote_detach()
6076 knote_vanish(struct klist *list, bool make_active) in knote_vanish()
6120 struct klist *list; in knote_fdclose()
6204 struct klist *list = NULL; in knote_fdfind()
6261 struct klist *list = NULL; in kq_add_knote()
[all …]
H A Dkern_memorystatus.c839 extern struct knote *vm_find_knote_from_pid(pid_t, struct klist *);
/xnu-8796.101.5/bsd/vfs/
H A Dvfs_fsevents.c2050 struct klist knotes;
H A Dvfs_subr.c4497 static struct klist fs_klist;