Home
last modified time | relevance | path

Searched refs:priority_queue_max (Results 1 – 6 of 6) sorted by relevance

/xnu-11215/tests/
H A Dpriority_queue.cpp140 T_DECL(priority_queue_max, "Basic generic priority queue testing")
145 struct priority_queue_max pq;
176 result = priority_queue_max(&pq, union test_node, e);
184 result = priority_queue_max(&pq, union test_node, e);
266 node = priority_queue_max(&pq, union test_node, se);
/xnu-11215/osfmk/kern/
H A Dpriority_queue.h250 struct priority_queue_max { struct
293 struct priority_queue_max *: false, \
438 #define priority_queue_max(pq, type, field) ({ \ macro
711 PRIORITY_QUEUE_MAKE_CB(struct priority_queue_max *, priority_queue_entry_t);
H A Dturnstile.c1933 max_turnstile = priority_queue_max(&thread->sched_inheritor_queue, in thread_get_inheritor_turnstile_sched_priority()
1961 max_turnstile = priority_queue_max(&thread->base_inheritor_queue, in thread_get_inheritor_turnstile_base_priority()
2443 max_thread = priority_queue_max(&turnstile->ts_waitq.waitq_prio_queue, in turnstile_recompute_priority_locked()
2452 max_turnstile = priority_queue_max(&turnstile->ts_inheritor_queue, in turnstile_recompute_priority_locked()
2550 max_turnstile = priority_queue_max(&turnstile->ts_inheritor_queue, in turnstile_workq_proprietor_of_max_turnstile()
2604 max_thread = priority_queue_max(&turnstile->ts_waitq.waitq_prio_queue, in turnstile_workloop_pusher_info()
2612 max_ts = priority_queue_max(&turnstile->ts_inheritor_queue, in turnstile_workloop_pusher_info()
H A Dsched_clutch.c2820 …thread_t thread = priority_queue_max(&clutch_bucket->scb_thread_runq, struct thread, th_clutch_run… in sched_clutch_thread_unbound_lookup()
2997 …sched_clutch_bucket_t clutch_bucket = priority_queue_max(&root_clutch->scr_foreign_buckets, struct… in sched_clutch_root_highest_foreign_thread_remove()
2998 thread = priority_queue_max(&clutch_bucket->scb_thread_runq, struct thread, th_clutch_runq_link); in sched_clutch_root_highest_foreign_thread_remove()
/xnu-11215/libkern/c++/
H A Dpriority_queue.cpp460 struct priority_queue_max *, priority_queue_entry_t);
/xnu-11215/bsd/pthread/
H A Dpthread_workqueue.c365 req = priority_queue_max(&wq->wq_constrained_queue, in _wq_thactive_refresh_best_constrained_req_qos()
3219 req_max = priority_queue_max(pq, struct workq_threadreq_s, tr_entry); in workq_kern_threadreq_modify()
4139 req_pri = priority_queue_max(&wq->wq_special_queue, in workq_threadreq_select_for_creator()
4170 req_qos = priority_queue_max(&wq->wq_overcommit_queue, in workq_threadreq_select_for_creator()
4195 req_tmp = priority_queue_max(&wq->wq_constrained_queue, in workq_threadreq_select_for_creator()
4347 req_tmp = priority_queue_max(&wq->wq_special_queue, in workq_threadreq_select()
4379 req_qos = priority_queue_max(&wq->wq_overcommit_queue, in workq_threadreq_select()
4404 req_tmp = priority_queue_max(&wq->wq_constrained_queue, in workq_threadreq_select()