Home
last modified time | relevance | path

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

/xnu-8796.141.3/bsd/sys/
H A Devent.h692 SLIST_HEAD(klist, knote);
1136 SLIST_HEAD(klist, knote);
1138 extern void klist_init(struct klist *list);
1144 extern void knote(struct klist *list, long hint, bool autodetach);
1145 extern int knote_attach(struct klist *list, struct knote *kn);
1146 extern int knote_detach(struct klist *list, struct knote *kn);
1147 extern void knote_vanish(struct klist *list, bool make_active);
1188 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.141.3/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()
361 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.141.3/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.c3560 struct klist *kn_hash = NULL; in knotes_dealloc()
3578 kfree_type(struct klist, fdp->fd_knlistsize, fdp->fd_knlist); in knotes_dealloc()
5996 klist_init(struct klist *list) in klist_init()
6018 knote(struct klist *list, long hint, bool autodetach) in knote()
6049 knote_attach(struct klist *list, struct knote *kn) in knote_attach()
6062 knote_detach(struct klist *list, struct knote *kn) in knote_detach()
6089 knote_vanish(struct klist *list, bool make_active) in knote_vanish()
6133 struct klist *list; in knote_fdclose()
6217 struct klist *list = NULL; in knote_fdfind()
6274 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.141.3/bsd/vfs/
H A Dvfs_fsevents.c2050 struct klist knotes;
H A Dvfs_subr.c4498 static struct klist fs_klist;