| /xnu-11215/bsd/sys/ |
| H A D | event_private.h | 387 LIST_HEAD(knote_list, knote); 428 struct knote { struct 432 #define KNOTE_AUTODETACHED ((struct knote *) -1) 516 knote_get_kq(struct knote *kn) in knote_get_kq() argument 523 knote_get_seltype(struct knote *kn) in knote_get_seltype() 733 void (*f_detach)(struct knote *kn); 734 int (*f_event)(struct knote *kn, long hint); 834 SLIST_HEAD(klist, knote); 877 extern int filt_wlattach_sync_ipc(struct knote *kn); 889 struct knote; [all …]
|
| H A D | select.h | 165 struct knote; 171 void selspec_attach(struct knote *, struct selinfo *); 172 void selspec_detach(struct knote *);
|
| H A D | file_internal.h | 88 struct knote; 174 int (*fo_kqfilter) (struct fileproc *fp, struct knote *, struct kevent_qos_s *); 523 int fo_kqfilter(struct fileproc *fp, struct knote *kn, struct kevent_qos_s *kev); 532 int fo_no_kqfilter(struct fileproc *, struct knote *, struct kevent_qos_s *kev);
|
| H A D | event.h | 374 struct knote; 375 SLIST_HEAD(klist, knote);
|
| H A D | eventvar.h | 100 struct knote *knlc_knote; 487 struct knote **);
|
| H A D | kern_memorystatus.h | 633 int memorystatus_knote_register(struct knote *kn); 634 void memorystatus_knote_unregister(struct knote *kn);
|
| /xnu-11215/bsd/kern/ |
| H A D | tty_ptmx.c | 512 int ptsd_kqfilter(dev_t dev, struct knote *kn); 513 static void ptsd_kqops_detach(struct knote *); 537 ptsd_kqops_detach(struct knote *kn) in ptsd_kqops_detach() 614 ptsd_kqops_event(struct knote *kn, long hint) in ptsd_kqops_event() 665 ptsd_kqfilter(dev_t dev, struct knote *kn) in ptsd_kqfilter() 740 static void ptmx_kqops_detach(struct knote *); 757 ptmx_knote_ioctl(struct knote *kn) in ptmx_knote_ioctl() 763 ptmx_knote_tty(struct knote *kn) in ptmx_knote_tty() 769 ptmx_kqfilter(dev_t dev, struct knote *kn) in ptmx_kqfilter() 821 ptmx_kqops_detach(struct knote *kn) in ptmx_kqops_detach() [all …]
|
| H A D | kern_memorystatus_notify.c | 199 filt_memorystatusdetach(struct knote *kn) in filt_memorystatusdetach() 382 memorystatus_knote_register(struct knote *kn) in memorystatus_knote_register() 491 struct knote *kn = NULL; in memorystatus_warn_process() 757 struct knote *kn = NULL; in memorystatus_send_low_swap_note() 957 struct knote *kn = NULL; in memorystatus_pressure_proc_telemetry_send() 1049 struct knote *kn = NULL; in memorystatus_klist_reset_all_for_level() 1082 static struct knote * 1347 struct knote *kn; in memorystatus_klist_length() 1365 struct knote *kn; in update_footprints_for_telemetry() 1395 struct knote *kn_max = NULL; in memorystatus_update_vm_pressure() [all …]
|
| H A D | kern_event.c | 2611 struct knote *kn = (struct knote *)event; in kdp_workloop_sync_wait_find_owner() 2970 struct knote *kn; in kqueue_dealloc() 3763 struct knote *kn; in knotes_dealloc() 4480 struct knote *kn; in kqworkq_acknowledge_events() 4823 struct knote *kn; in kqfile_end_processing() 6591 struct knote *kn; 6662 struct knote *kn; 6705 struct knote *kn; 7002 struct knote *kn; 7812 struct knote *kn; [all …]
|
| H A D | sys_pipe.c | 178 static int pipe_kqfilter(struct fileproc *fp, struct knote *kn, 195 static void filt_pipedetach(struct knote *kn); 197 static int filt_pipenotsup(struct knote *kn, long hint); 201 static int filt_piperead(struct knote *kn, long hint); 205 static int filt_pipewrite(struct knote *kn, long hint); 1404 filt_pipe_draincommon(struct knote *kn, struct pipe *rpipe) in filt_pipe_draincommon() 1418 filt_pipenotsup(struct knote *kn, long hint) in filt_pipenotsup() 1481 filt_piperead(struct knote *kn, long hint) in filt_piperead() 1543 filt_pipewrite(struct knote *kn, long hint) in filt_pipewrite() 1587 pipe_kqfilter(struct fileproc *fp, struct knote *kn, in pipe_kqfilter() [all …]
|
| H A D | uipc_socket.c | 167 static void filt_sordetach(struct knote *kn); 168 static int filt_soread(struct knote *kn, long hint); 173 static void filt_sowdetach(struct knote *kn); 179 static void filt_sockdetach(struct knote *kn); 6685 filt_sordetach(struct knote *kn) in filt_sordetach() 6700 filt_soread(struct knote *kn, long hint) in filt_soread() 6891 filt_sowdetach(struct knote *kn) in filt_sowdetach() 6906 filt_sowrite(struct knote *kn, long hint) in filt_sowrite() 7114 filt_sockdetach(struct knote *kn) in filt_sockdetach() 7128 filt_sockev(struct knote *kn, long hint) in filt_sockev() [all …]
|
| H A D | tty.c | 454 knote(&tp->t_wsel.si_note, NOTE_REVOKE, true); in ttyclose() 456 knote(&tp->t_rsel.si_note, NOTE_REVOKE, true); in ttyclose() 3390 static void filt_ttydetach(struct knote *kn); 3391 static int filt_ttyevent(struct knote *kn, long hint); 3392 static int filt_ttytouch(struct knote *kn, struct kevent_qos_s *kev); 3486 tty_from_knote(struct knote *kn) in tty_from_knote() 3492 filt_ttyattach(struct knote *kn, __unused struct kevent_qos_s *kev) in filt_ttyattach() 3550 filt_ttydetach(struct knote *kn) in filt_ttydetach() 3578 filt_ttyevent(struct knote *kn, long hint) in filt_ttyevent() 3596 filt_ttytouch(struct knote *kn, struct kevent_qos_s *kev) in filt_ttytouch() [all …]
|
| H A D | kern_sig.c | 155 static int filt_sigattach(struct knote *kn, struct kevent_qos_s *kev); 156 static void filt_sigdetach(struct knote *kn); 157 static int filt_signal(struct knote *kn, long hint); 158 static int filt_signaltouch(struct knote *kn, struct kevent_qos_s *kev); 159 static int filt_signalprocess(struct knote *kn, struct kevent_qos_s *kev); 3205 filt_sigattach(struct knote *kn, __unused struct kevent_qos_s *kev) in filt_sigattach() 3229 filt_sigdetach(struct knote *kn) in filt_sigdetach() 3252 filt_signal(struct knote *kn, long hint) in filt_signal() 3268 filt_signaltouch(struct knote *kn, struct kevent_qos_s *kev) in filt_signaltouch() 3287 filt_signalprocess(struct knote *kn, struct kevent_qos_s *kev) in filt_signalprocess()
|
| /xnu-11215/osfmk/ipc/ |
| H A D | ipc_pset.c | 357 filt_ipc_kqueue_turnstile(struct knote *kn) in filt_ipc_kqueue_turnstile() 430 struct knote *kn, in filt_machport_turnstile_prepare_lazily() 511 filt_wldetach_sync_ipc(struct knote *kn) in filt_wldetach_sync_ipc() 524 filt_machport_turnstile_complete(struct knote *kn) in filt_machport_turnstile_complete() 552 struct knote *hd = SLIST_FIRST(klist); in filt_machport_link() 564 struct knote **knprev; in filt_machport_unlink() 579 filt_wlattach_sync_ipc(struct knote *kn) in filt_wlattach_sync_ipc() 637 filt_psetattach(struct knote *kn, ipc_pset_t pset) in filt_psetattach() 777 filt_psetdetach(struct knote *kn) in filt_psetdetach() 799 filt_portdetach(struct knote *kn) in filt_portdetach() [all …]
|
| H A D | ipc_pset.h | 134 struct knote *kn); 137 struct knote *kn); 140 struct knote *kn, 145 struct knote *kn,
|
| H A D | ipc_mqueue.h | 116 struct knote *XNU_PTRAUTH_SIGNED_PTR("ipc_mqueue.knote") imq_inheritor_knote;
|
| H A D | ipc_port.h | 171 struct knote *ip_sync_inheritor_knote; 723 struct knote *kn, 742 struct knote *kn,
|
| /xnu-11215/bsd/skywalk/channel/ |
| H A D | channel.c | 102 static void filt_chrdetach(struct knote *); 103 static void filt_chwdetach(struct knote *); 105 static int filt_chread(struct knote *, long); 106 static int filt_chwrite(struct knote *, long); 115 static void filt_che_detach(struct knote *); 525 filt_chrdetach(struct knote *kn) in filt_chrdetach() 532 filt_chwdetach(struct knote *kn) in filt_chwdetach() 566 filt_chread(struct knote *kn, long hint) in filt_chread() 577 filt_chwrite(struct knote *kn, long hint) in filt_chwrite() 946 filt_che_detach(struct knote *kn) in filt_che_detach() [all …]
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_vnops.c | 123 static int vn_kqfilter(struct fileproc *fp, struct knote *kn, 125 static void filt_vndetach(struct knote *kn); 126 static int filt_vnode(struct knote *kn, long hint); 127 static int filt_vnode_common(struct knote *kn, struct kevent_qos_s *kev, 142 static int filt_vntouch(struct knote *kn, struct kevent_qos_s *kev); 143 static int filt_vnprocess(struct knote *kn, struct kevent_qos_s*kev); 1938 vn_kqfilter(struct fileproc *fp, struct knote *kn, struct kevent_qos_s *kev) in vn_kqfilter() 2014 filt_vndetach(struct knote *kn) in filt_vndetach() 2163 filt_vnode(struct knote *kn, long hint) in filt_vnode() 2171 filt_vntouch(struct knote *kn, struct kevent_qos_s *kev) in filt_vntouch() [all …]
|
| /xnu-11215/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 114 extern int bpfkqfilter(dev_t dev, struct knote *kn); 115 extern int ptsd_kqfilter(dev_t, struct knote *); 116 extern int ptmx_kqfilter(dev_t, struct knote *); 881 spec_kqfilter(vnode_t vp, struct knote *kn, struct kevent_qos_s *kev) in spec_kqfilter() 2987 static void filt_specdetach(struct knote *kn); 2988 static int filt_specevent(struct knote *kn, long hint); 3002 filt_spec_make_eof(struct knote *kn) in filt_spec_make_eof() 3116 filt_specdetach(struct knote *kn) in filt_specdetach() 3122 filt_specevent(struct knote *kn, long hint) in filt_specevent() 3136 filt_spectouch(struct knote *kn, struct kevent_qos_s *kev) in filt_spectouch() [all …]
|
| H A D | specdev.h | 140 int spec_kqfilter(vnode_t vp, struct knote *kn, struct kevent_qos_s *kev);
|
| /xnu-11215/osfmk/kern/ |
| H A D | turnstile.h | 208 struct knote; 552 struct knote **knote_out);
|
| H A D | exclaves_resource.c | 1404 filt_exclaves_notification_attach(struct knote *kn, __unused struct kevent_qos_s *kev) in filt_exclaves_notification_attach() 1440 filt_exclaves_notification_detach(struct knote *kn) in filt_exclaves_notification_detach() 1456 filt_exclaves_notification_event(struct knote *kn, long hint) in filt_exclaves_notification_event() 1478 filt_exclaves_notification_touch(struct knote *kn, struct kevent_qos_s *kev) in filt_exclaves_notification_touch() 1500 filt_exclaves_notification_process(struct knote *kn, struct kevent_qos_s *kev) in filt_exclaves_notification_process()
|
| /xnu-11215/security/ |
| H A D | mac_pipe.c | 128 mac_pipe_check_kqfilter(kauth_cred_t cred, struct knote *kn, in mac_pipe_check_kqfilter()
|
| /xnu-11215/bsd/net/ |
| H A D | bpf.c | 3104 int bpfkqfilter(dev_t dev, struct knote *kn); 3105 static void filt_bpfdetach(struct knote *); 3106 static int filt_bpfread(struct knote *, long); 3107 static int filt_bpftouch(struct knote *kn, struct kevent_qos_s *kev); 3108 static int filt_bpfprocess(struct knote *kn, struct kevent_qos_s *kev); 3119 filt_bpfread_common(struct knote *kn, struct kevent_qos_s *kev, struct bpf_d *d) in filt_bpfread_common() 3176 bpfkqfilter(dev_t dev, struct knote *kn) in bpfkqfilter() 3215 filt_bpfdetach(struct knote *kn) in filt_bpfdetach() 3228 filt_bpfread(struct knote *kn, long hint) in filt_bpfread() 3237 filt_bpftouch(struct knote *kn, struct kevent_qos_s *kev) in filt_bpftouch() [all …]
|