Home
last modified time | relevance | path

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

/xnu-11215.1.10/bsd/sys/
H A Devent_private.h834 SLIST_HEAD(klist, knote);
836 extern void klist_init(struct klist *list);
842 extern void knote(struct klist *list, long hint, bool autodetach);
843 extern int knote_attach(struct klist *list, struct knote *kn);
844 extern int knote_detach(struct klist *list, struct knote *kn);
845 extern void knote_vanish(struct klist *list, bool make_active);
890 SLIST_HEAD(klist, knote);
H A Dfiledesc.h91 struct klist;
146 struct klist *fd_knlist; /* (L) list of attached knotes */
159 struct klist *fd_knhash; /* (N) hash table for attached knotes */
H A Dselect.h127 struct klist si_note; /* JMM - temporary separation */
H A Devent.h375 SLIST_HEAD(klist, knote);
H A Dvnode_internal.h187 struct klist v_knotes; /* knotes attached to this vnode */
H A Dproc_internal.h416 struct klist p_klist; /* knote list (PL ?)*/
H A Dsocketvar.h330 struct klist so_klist; /* klist for EV_SOCK events */
/xnu-11215.1.10/osfmk/ipc/
H A Dipc_pset.c550 filt_machport_link(struct klist *klist, struct knote *kn) in filt_machport_link() argument
552 struct knote *hd = SLIST_FIRST(klist); in filt_machport_link()
557 SLIST_INSERT_HEAD(klist, kn, kn_selnext); in filt_machport_link()
562 filt_machport_unlink(struct klist *klist, struct knote *kn) in filt_machport_unlink() argument
566 KNOTE_DETACH(klist, kn); in filt_machport_unlink()
569 SLIST_FOREACH_PREVPTR(kn, knprev, klist, kn_selnext) { in filt_machport_unlink()
572 SLIST_INSERT_HEAD(klist, kn, kn_selnext); in filt_machport_unlink()
H A Dipc_mqueue.c360 static inline struct klist *
384 struct klist *klist = ipc_object_klist(object); in ipc_mqueue_changed() local
386 if (klist && SLIST_FIRST(klist)) { in ipc_mqueue_changed()
414 knote_vanish(klist, is_active(space)); in ipc_mqueue_changed()
424 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-11215.1.10/osfmk/kern/
H A Dexclaves_resource.h135 struct klist notification_klist;
/xnu-11215.1.10/bsd/kern/
H A Dkern_memorystatus_notify.c85 struct klist memorystatus_klist;
129 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.c3764 struct klist *kn_hash = NULL; in knotes_dealloc()
3782 kfree_type(struct klist, fdp->fd_knlistsize, fdp->fd_knlist); in knotes_dealloc()
6567 klist_init(struct klist *list)
6589 knote(struct klist *list, long hint, bool autodetach)
6620 knote_attach(struct klist *list, struct knote *kn)
6633 knote_detach(struct klist *list, struct knote *kn)
6660 knote_vanish(struct klist *list, bool make_active)
6704 struct klist *list;
6788 struct klist *list = NULL;
6845 struct klist *list = NULL;
[all …]
H A Dkern_memorystatus.c988 extern struct knote *vm_find_knote_from_pid(pid_t, struct klist *);
/xnu-11215.1.10/bsd/vfs/
H A Dvfs_fsevents.c2175 struct klist knotes;
H A Dvfs_subr.c4701 static struct klist fs_klist;