Home
last modified time | relevance | path

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

/xnu-10063.141.1/bsd/sys/
H A Devent_private.h828 SLIST_HEAD(klist, knote);
830 extern void klist_init(struct klist *list);
836 extern void knote(struct klist *list, long hint, bool autodetach);
837 extern int knote_attach(struct klist *list, struct knote *kn);
838 extern int knote_detach(struct klist *list, struct knote *kn);
839 extern void knote_vanish(struct klist *list, bool make_active);
884 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.h324 struct klist so_klist; /* klist for EV_SOCK events */
/xnu-10063.141.1/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-10063.141.1/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.c3664 struct klist *kn_hash = NULL; in knotes_dealloc()
3682 kfree_type(struct klist, fdp->fd_knlistsize, fdp->fd_knlist); in knotes_dealloc()
6202 klist_init(struct klist *list) in klist_init()
6224 knote(struct klist *list, long hint, bool autodetach) in knote()
6255 knote_attach(struct klist *list, struct knote *kn) in knote_attach()
6268 knote_detach(struct klist *list, struct knote *kn) in knote_detach()
6295 knote_vanish(struct klist *list, bool make_active) in knote_vanish()
6339 struct klist *list; in knote_fdclose()
6423 struct klist *list = NULL; in knote_fdfind()
6480 struct klist *list = NULL; in kq_add_knote()
[all …]
H A Dkern_memorystatus.c903 extern struct knote *vm_find_knote_from_pid(pid_t, struct klist *);
/xnu-10063.141.1/osfmk/kern/
H A Dexclaves_resource.h137 struct klist notification_klist;
/xnu-10063.141.1/bsd/vfs/
H A Dvfs_fsevents.c2175 struct klist knotes;
H A Dvfs_subr.c4705 static struct klist fs_klist;