Searched refs:thread_qos_t (Results 1 – 15 of 15) sorted by relevance
| /xnu-11417.101.15/bsd/pthread/ |
| H A D | priority_private.h | 228 _pthread_priority_make_from_thread_qos(thread_qos_t qos, int relpri, in _pthread_priority_make_from_thread_qos() 252 _pthread_priority_make_from_thread_qos_and_override(thread_qos_t req_qos, in _pthread_priority_make_from_thread_qos_and_override() 253 int relpri, thread_qos_t override_qos, unsigned long flags) in _pthread_priority_make_from_thread_qos_and_override() 288 static inline thread_qos_t 293 return (thread_qos_t)__builtin_ffs((int)pp); in _pthread_priority_thread_qos_fast() 297 static inline thread_qos_t 302 return (thread_qos_t)__builtin_ffs((int)pp); in _pthread_priority_thread_override_qos_fast() 313 static inline thread_qos_t 323 static inline thread_qos_t 401 _pthread_priority_combine(pthread_priority_t base_pp, thread_qos_t qos);
|
| H A D | pthread_workqueue.c | 101 thread_qos_t at_qos, struct uthread *uth, 336 _wq_bucket(thread_qos_t qos) in _wq_bucket() 349 ((thread_qos_t)((tha) >> WQ_THACTIVE_QOS_SHIFT)) 351 static inline thread_qos_t 363 thread_qos_t old_qos, new_qos; in _wq_thactive_refresh_best_constrained_req_qos() 388 _wq_thactive_offset_for_qos(thread_qos_t qos) in _wq_thactive_offset_for_qos() 396 _wq_thactive_inc(struct workqueue *wq, thread_qos_t qos) in _wq_thactive_inc() 403 _wq_thactive_dec(struct workqueue *wq, thread_qos_t qos) in _wq_thactive_dec() 411 thread_qos_t old_qos, thread_qos_t new_qos) in _wq_thactive_move() 422 thread_qos_t qos, uint32_t *busycount, uint32_t *max_busycount) in _wq_thactive_aggregate_downto_qos() [all …]
|
| H A D | workqueue_internal.h | 209 thread_qos_t tr_qos; /* qos for the thread request */ 322 struct turnstile *ts, thread_qos_t qos, workq_kern_threadreq_flags_t flags); 326 thread_qos_t qos, workq_kern_threadreq_flags_t flags);
|
| H A D | pthread_priority.c | 70 _pthread_priority_combine(pthread_priority_t base_pp, thread_qos_t qos) in _pthread_priority_combine()
|
| /xnu-11417.101.15/osfmk/kern/ |
| H A D | policy_internal.h | 189 extern void thread_set_workq_pri(thread_t thread, thread_qos_t qos, integer_t priority, integer_t p… 190 extern uint8_t thread_workq_pri_for_qos(thread_qos_t qos) __pure2; 191 extern thread_qos_t thread_workq_qos_for_pri(int priority); 193 extern thread_qos_t 259 extern thread_qos_t thread_user_promotion_qos_for_pri(int priority); 276 extern thread_qos_t thread_get_requested_qos(thread_t thread, int *relpri); 356 thread_qos_t task_compute_main_thread_qos(task_t task);
|
| H A D | thread_policy.c | 772 thread_workq_pri_for_qos(thread_qos_t qos) in thread_workq_pri_for_qos() 778 thread_qos_t 781 thread_qos_t qos; in thread_workq_qos_for_pri() 864 thread_qos_t qos, in thread_set_workq_pri() 2979 thread_qos_t primordial_qos = task_compute_main_thread_qos(task); in task_set_main_thread_qos() 3000 thread_qos_t 3003 thread_qos_t primordial_qos = task_compute_main_thread_qos(task); in task_get_default_manager_qos() 3066 thread_qos_t qos_promotion; in thread_recompute_user_promotion_locked() 3116 thread_qos_t 3119 thread_qos_t qos; in thread_user_promotion_qos_for_pri() [all …]
|
| H A D | task_policy.c | 831 thread_qos_t role_clamp = THREAD_QOS_UNSPECIFIED; in task_policy_update_internal_locked() 2167 thread_qos_t 2170 thread_qos_t primordial_qos = THREAD_QOS_UNSPECIFIED; in task_compute_main_thread_qos() 2172 thread_qos_t qos_clamp = task->requested_policy.trp_qos_clamp; in task_compute_main_thread_qos()
|
| /xnu-11417.101.15/bsd/sys/ |
| H A D | eventvar.h | 308 (thread_qos_t) (((uintptr_t) tg) & KQWL_PREADOPT_TG_QOS_MASK) 357 thread_qos_t kqwl_wakeup_qos; /* QoS/override woke */
|
| H A D | user.h | 183 thread_qos_t qos;
|
| H A D | event_private.h | 866 …d kqueue_set_preadopted_thread_group(struct kqueue *kq, struct thread_group *tg, thread_qos_t qos);
|
| /xnu-11417.101.15/osfmk/mach/ |
| H A D | thread_policy_private.h | 67 typedef uint8_t thread_qos_t; typedef
|
| /xnu-11417.101.15/tests/sched/ |
| H A D | edge_migration.c | 139 for (thread_qos_t qos = THREAD_QOS_UNSPECIFIED; qos < THREAD_QOS_LAST; qos++) {
|
| /xnu-11417.101.15/bsd/kern/ |
| H A D | kern_event.c | 184 static thread_qos_t kqworkq_unbind_locked(struct kqworkq *kqwq, workq_threadreq_t, thread_t thread); 2654 thread_qos_t *qos_index) in filt_wlvalidate_kev_flags() 2717 thread_qos_t qos_index = THREAD_QOS_UNSPECIFIED; in filt_wltouch() 3295 kqueue_set_preadopted_thread_group(kqueue_t kqu, struct thread_group *tg, thread_qos_t qos) in kqueue_set_preadopted_thread_group() 3324 thread_qos_t existing_qos = KQWL_GET_PREADOPTED_TG_QOS(old_tg); in kqueue_set_preadopted_thread_group() 4508 thread_qos_t old_override; in kqworkq_acknowledge_events() 4562 static thread_qos_t 4629 thread_qos_t qos_override; in kqworkloop_begin_processing() 4767 thread_qos_t qos_override; in kqworkloop_end_processing() 6249 kqueue_update_override(kqueue_t kqu, struct knote *kn, thread_qos_t qos) [all …]
|
| /xnu-11417.101.15/tests/ |
| H A D | kevent_qos.c | 851 static inline thread_qos_t
|
| /xnu-11417.101.15/osfmk/ipc/ |
| H A D | ipc_kmsg.c | 1391 thread_qos_t qos; in ipc_get_current_thread_priority()
|