Lines Matching refs:kqworkloop
188 static void kqworkloop_unbind(struct kqworkloop *kqwl);
197 static void kqworkloop_unbind_locked(struct kqworkloop *kqwl, thread_t thread,
200 static kq_index_t kqworkloop_override(struct kqworkloop *kqwl);
201 static void kqworkloop_set_overcommit(struct kqworkloop *kqwl);
202 static void kqworkloop_bound_thread_park(struct kqworkloop *kqwl, thread_t thread);
203 static void kqworkloop_bound_thread_wakeup(struct kqworkloop *kqwl);
235 static void kqworkloop_update_threads_qos(struct kqworkloop *kqwl, int op, kq_index_t qos);
236 static int kqworkloop_end_processing(struct kqworkloop *kqwl, int flags, int kevent_flags);
266 sizeof(struct kqworkloop), ZC_CACHING | ZC_ZFREE_CLEARMEM);
444 static inline struct kqworkloop *
448 return __container_of(kqr, struct kqworkloop, kqwl_request); in kqr_kqworkloop()
472 struct kqworkloop *kqwl = kqr_kqworkloop(req); in kqr_preadopt_thread_group()
480 struct kqworkloop *kqwl = kqr_kqworkloop(req); in _Atomic()
2007 filt_wllock(struct kqworkloop *kqwl) in filt_wllock()
2013 filt_wlunlock(struct kqworkloop *kqwl) in filt_wlunlock()
2030 filt_wlturnstile_interlock_is_workq(struct kqworkloop *kqwl) in filt_wlturnstile_interlock_is_workq()
2036 filt_wlupdate_inheritor(struct kqworkloop *kqwl, struct turnstile *ts, in filt_wlupdate_inheritor()
2064 filt_wlupdate(struct kqworkloop *kqwl, struct knote *kn, in filt_wlupdate()
2344 filt_wlupdate_sync_ipc(struct kqworkloop *kqwl, struct knote *kn, in filt_wlupdate_sync_ipc()
2424 struct kqworkloop *kqwl = (struct kqworkloop *)kq; in filt_wlattach()
2523 struct kqworkloop *kqwl = cont_args->kqwl; in filt_wlwait_continue()
2555 struct kqworkloop *kqwl = cont_args->kqwl; in filt_wlpost_register_wait()
2623 struct kqworkloop *kqwl = (struct kqworkloop *)kq; in kdp_workloop_sync_wait_find_owner()
2717 struct kqworkloop *kqwl = (struct kqworkloop *)knote_get_kq(kn); in filt_wltouch()
2764 struct kqworkloop *kqwl = (struct kqworkloop *)knote_get_kq(kn); in filt_wlallow_drop()
2795 struct kqworkloop *kqwl = (struct kqworkloop *)knote_get_kq(kn); in filt_wlprocess()
2860 kqworkloop_dealloc(struct kqworkloop *, bool hash_remove);
2863 kqworkloop_try_retain(struct kqworkloop *kqwl) in kqworkloop_try_retain()
2869 kqworkloop_retain(struct kqworkloop *kqwl) in kqworkloop_retain()
2885 kqworkloop_release_live(struct kqworkloop *kqwl) in kqworkloop_release_live()
2901 kqworkloop_release(struct kqworkloop *kqwl) in kqworkloop_release()
3176 #pragma mark kqworkloop allocation and deallocation
3198 struct kqworkloop *kqwl) in kqworkloop_hash_insert_locked()
3205 static inline struct kqworkloop *
3209 struct kqworkloop *kqwl; in kqworkloop_hash_lookup_locked()
3219 static struct kqworkloop *
3222 struct kqworkloop *kqwl = NULL; in kqworkloop_hash_lookup_and_retain()
3273 struct kqworkloop *kqwl = kqu.kqwl; in kqueue_set_iotier_override()
3284 struct kqworkloop *kqwl = kqu.kqwl; in kqueue_get_iotier_override()
3304 struct kqworkloop *kqwl = kqu.kqwl; in kqueue_set_preadopted_thread_group()
3358 struct kqworkloop *kqwl = (struct kqworkloop *) kq; in kqueue_process_preadopt_thread_group()
3397 kqworkloop_dealloc(struct kqworkloop *kqwl, bool hash_remove) in kqworkloop_dealloc()
3456 kqworkloop_init(struct kqworkloop *kqwl, proc_t p, in kqworkloop_init()
3557 unsigned int flags, struct kqworkloop **kqwlp) in kqworkloop_get_or_create()
3560 struct kqworkloop *alloc_kqwl = NULL; in kqworkloop_get_or_create()
3561 struct kqworkloop *kqwl = NULL; in kqworkloop_get_or_create()
3826 struct kqworkloop *kqwl, *kqwln; in kqworkloops_dealloc()
3965 struct kqworkloop *kqwl = cont_args->kqwl; in kevent_register_wait_return()
4040 ((struct kqworkloop *)kq)->kqwl_dynamicid, in kevent_register()
4179 kqworkloop_set_overcommit((struct kqworkloop *)kq); in kevent_register()
4330 ((struct kqworkloop *)kq)->kqwl_dynamicid, in knote_process()
4564 kqworkloop_acknowledge_events(struct kqworkloop *kqwl) in kqworkloop_acknowledge_events()
4591 kqworkloop_begin_processing(struct kqworkloop *kqwl, unsigned int kevent_flags) in kqworkloop_begin_processing()
4755 kqworkloop_end_processing(struct kqworkloop *kqwl, int flags, int kevent_flags) in kqworkloop_end_processing()
4860 struct kqworkloop *kqwl;
5341 struct kqworkloop *kqwl = kqu.kqwl;
5443 struct kqworkloop *kqwl = __container_of(kqr, struct kqworkloop, kqwl_request);
5465 kqworkloop_bound_thread_park(struct kqworkloop *kqwl, thread_t thread)
5509 struct kqworkloop *kqwl = __container_of(kqr, struct kqworkloop, kqwl_request);
5534 struct kqworkloop *kqwl = __container_of(kqr, struct kqworkloop, kqwl_request);
5576 struct kqworkloop *kqwl = kqu.kqwl;
5766 struct kqworkloop *kqwl;
5770 kqwl = __container_of(kqr, struct kqworkloop, kqwl_request);
5821 kqworkloop_override(struct kqworkloop *kqwl)
5828 kqworkloop_request_fire_r2k_notification(struct kqworkloop *kqwl)
5841 kqworkloop_update_threads_qos(struct kqworkloop *kqwl, int op, kq_index_t qos)
6018 kqworkloop_update_iotier_override(struct kqworkloop *kqwl)
6032 kqworkloop_bound_thread_wakeup(struct kqworkloop *kqwl)
6057 kqworkloop_wakeup(struct kqworkloop *kqwl, kq_index_t qos)
6102 struct kqworkloop *kqwl = kqu.kqwl;
6179 struct kqworkloop *kqwl = kqr_kqworkloop(kqr);
6187 kqworkloop_set_overcommit(struct kqworkloop *kqwl)
6261 kqworkloop_unbind_locked(struct kqworkloop *kqwl, thread_t thread,
6348 kqworkloop_unbind(struct kqworkloop *kqwl)
6987 kqworkloop_release((struct kqworkloop *)kq);
8384 kqu.kqwl = __container_of(kqr, struct kqworkloop, kqwl_request);
9245 fill_kqueue_dyninfo(struct kqworkloop *kqwl, struct kqueue_dyninfo *kqdi)
9373 struct kqworkloop *kqwl;
9428 struct kqworkloop *kqwl;
9466 struct kqworkloop *kqwl;
9588 struct kqworkloop *kqwl;