Lines Matching refs:kqworkloop
178 static void kqworkloop_unbind(struct kqworkloop *kwql);
184 static void kqworkloop_unbind_locked(struct kqworkloop *kwql, thread_t thread,
187 static kq_index_t kqworkloop_override(struct kqworkloop *kqwl);
188 static void kqworkloop_set_overcommit(struct kqworkloop *kqwl);
219 static void kqworkloop_update_threads_qos(struct kqworkloop *kqwl, int op, kq_index_t qos);
220 static int kqworkloop_end_processing(struct kqworkloop *kqwl, int flags, int kevent_flags);
250 sizeof(struct kqworkloop), ZC_CACHING | ZC_ZFREE_CLEARMEM | ZC_NOTBITAG);
421 static inline struct kqworkloop *
425 return __container_of(kqr, struct kqworkloop, kqwl_request); in kqr_kqworkloop()
449 struct kqworkloop *kqwl = kqr_kqworkloop(req); in kqr_preadopt_thread_group()
457 struct kqworkloop *kqwl = kqr_kqworkloop(req); in _Atomic()
1988 filt_wllock(struct kqworkloop *kqwl) in filt_wllock()
1994 filt_wlunlock(struct kqworkloop *kqwl) in filt_wlunlock()
2011 filt_wlturnstile_interlock_is_workq(struct kqworkloop *kqwl) in filt_wlturnstile_interlock_is_workq()
2017 filt_wlupdate_inheritor(struct kqworkloop *kqwl, struct turnstile *ts, in filt_wlupdate_inheritor()
2045 filt_wlupdate(struct kqworkloop *kqwl, struct knote *kn, in filt_wlupdate()
2325 filt_wlupdate_sync_ipc(struct kqworkloop *kqwl, struct knote *kn, in filt_wlupdate_sync_ipc()
2405 struct kqworkloop *kqwl = (struct kqworkloop *)kq; in filt_wlattach()
2504 struct kqworkloop *kqwl = cont_args->kqwl; in filt_wlwait_continue()
2536 struct kqworkloop *kqwl = cont_args->kqwl; in filt_wlpost_register_wait()
2604 struct kqworkloop *kqwl = (struct kqworkloop *)kq; in kdp_workloop_sync_wait_find_owner()
2698 struct kqworkloop *kqwl = (struct kqworkloop *)knote_get_kq(kn); in filt_wltouch()
2745 struct kqworkloop *kqwl = (struct kqworkloop *)knote_get_kq(kn); in filt_wlallow_drop()
2776 struct kqworkloop *kqwl = (struct kqworkloop *)knote_get_kq(kn); in filt_wlprocess()
2841 kqworkloop_dealloc(struct kqworkloop *, bool hash_remove);
2844 kqworkloop_try_retain(struct kqworkloop *kqwl) in kqworkloop_try_retain()
2850 kqworkloop_retain(struct kqworkloop *kqwl) in kqworkloop_retain()
2866 kqworkloop_release_live(struct kqworkloop *kqwl) in kqworkloop_release_live()
2882 kqworkloop_release(struct kqworkloop *kqwl) in kqworkloop_release()
3157 #pragma mark kqworkloop allocation and deallocation
3179 struct kqworkloop *kqwl) in kqworkloop_hash_insert_locked()
3186 static inline struct kqworkloop *
3190 struct kqworkloop *kqwl; in kqworkloop_hash_lookup_locked()
3200 static struct kqworkloop *
3203 struct kqworkloop *kqwl = NULL; in kqworkloop_hash_lookup_and_retain()
3254 struct kqworkloop *kqwl = kqu.kqwl; in kqueue_set_iotier_override()
3265 struct kqworkloop *kqwl = kqu.kqwl; in kqueue_get_iotier_override()
3285 struct kqworkloop *kqwl = kqu.kqwl; in kqueue_set_preadopted_thread_group()
3339 struct kqworkloop *kqwl = (struct kqworkloop *) kq; in kqueue_process_preadopt_thread_group()
3378 kqworkloop_dealloc(struct kqworkloop *kqwl, bool hash_remove) in kqworkloop_dealloc()
3432 kqworkloop_init(struct kqworkloop *kqwl, proc_t p, in kqworkloop_init()
3527 unsigned int flags, struct kqworkloop **kqwlp) in kqworkloop_get_or_create()
3530 struct kqworkloop *alloc_kqwl = NULL; in kqworkloop_get_or_create()
3531 struct kqworkloop *kqwl = NULL; in kqworkloop_get_or_create()
3725 struct kqworkloop *kqwl, *kqwln; in kqworkloops_dealloc()
3864 struct kqworkloop *kqwl = cont_args->kqwl; in kevent_register_wait_return()
3939 ((struct kqworkloop *)kq)->kqwl_dynamicid, in kevent_register()
4078 kqworkloop_set_overcommit((struct kqworkloop *)kq); in kevent_register()
4229 ((struct kqworkloop *)kq)->kqwl_dynamicid, in knote_process()
4463 kqworkloop_acknowledge_events(struct kqworkloop *kqwl) in kqworkloop_acknowledge_events()
4490 kqworkloop_begin_processing(struct kqworkloop *kqwl, unsigned int kevent_flags) in kqworkloop_begin_processing()
4646 kqworkloop_end_processing(struct kqworkloop *kqwl, int flags, int kevent_flags) in kqworkloop_end_processing()
4743 struct kqworkloop *kqwl; in kqueue_workloop_ctl_internal()
5173 struct kqworkloop *kqwl = kqu.kqwl; in kqueue_threadreq_initiate()
5284 struct kqworkloop *kqwl = kqu.kqwl; in kqueue_threadreq_modify()
5465 struct kqworkloop *kqwl; in kqueue_threadreq_workloop_param()
5469 kqwl = __container_of(kqr, struct kqworkloop, kqwl_request); in kqueue_threadreq_workloop_param()
5520 kqworkloop_override(struct kqworkloop *kqwl) in kqworkloop_override()
5527 kqworkloop_request_fire_r2k_notification(struct kqworkloop *kqwl) in kqworkloop_request_fire_r2k_notification()
5540 kqworkloop_update_threads_qos(struct kqworkloop *kqwl, int op, kq_index_t qos) in kqworkloop_update_threads_qos()
5712 kqworkloop_update_iotier_override(struct kqworkloop *kqwl) in kqworkloop_update_iotier_override()
5726 kqworkloop_wakeup(struct kqworkloop *kqwl, kq_index_t qos) in kqworkloop_wakeup()
5762 struct kqworkloop *kqwl = kqu.kqwl; in kqueue_alloc_turnstile()
5839 struct kqworkloop *kqwl = kqr_kqworkloop(kqr); in kqueue_threadreq_get_turnstile()
5847 kqworkloop_set_overcommit(struct kqworkloop *kqwl) in kqworkloop_set_overcommit()
5921 kqworkloop_unbind_locked(struct kqworkloop *kqwl, thread_t thread, in kqworkloop_unbind_locked()
5994 kqworkloop_unbind(struct kqworkloop *kqwl) in kqworkloop_unbind()
6621 kqworkloop_release((struct kqworkloop *)kq); in kq_remove_knote()
7996 kqu.kqwl = __container_of(kqr, struct kqworkloop, kqwl_request); in kevent_workq_internal()
8857 fill_kqueue_dyninfo(struct kqworkloop *kqwl, struct kqueue_dyninfo *kqdi) in fill_kqueue_dyninfo()
8985 struct kqworkloop *kqwl; in kevent_copyout_proc_dynkqids()
9040 struct kqworkloop *kqwl; in kevent_copyout_dynkqinfo()
9078 struct kqworkloop *kqwl; in kevent_copyout_dynkqextinfo()
9200 struct kqworkloop *kqwl; in kevent_proc_copy_uptrs()