Searched refs:NRQS (Results 1 – 4 of 4) sorted by relevance
| /xnu-12377.61.12/osfmk/kern/ |
| H A D | sched.h | 177 #define NRQS (BASEPRI_REALTIME) /* Non-realtime levels for runqs */ macro 181 _Static_assert((NRQS == (MAXPRI_PROMOTE + 1)), "Runqueues are too small to hold all non-realtime th… 250 bitmap_t bitmap[BITMAP_LEN(NRQS)]; /* run queue bitmap array */ 253 circle_queue_head_t queues[NRQS]; /* one for each priority */ 261 assert(n < NRQS); in rq_bitmap_set() 268 assert(n < NRQS); in rq_bitmap_clear() 385 #define MAX_LOAD (NRQS - 1) 389 extern int8_t sched_load_shifts[NRQS];
|
| H A D | sched_prim.c | 400 int8_t sched_load_shifts[NRQS]; 699 for (i = 0; i < NRQS; i++) { in load_shift_init() 714 for (i = 2, j = 1 << sched_decay_penalty, k = 1; i < NRQS; ++k) { in load_shift_init() 715 for (j <<= 1; (i < j) && (i < NRQS); ++i) { in load_shift_init() 3986 for (u_int i = 0; i < BITMAP_LEN(NRQS); i++) { in run_queue_init() 3990 for (int i = 0; i < NRQS; i++) { in run_queue_init() 4029 rq->highq = bitmap_first(rq->bitmap, NRQS); in run_queue_dequeue() 4105 rq->highq = bitmap_first(rq->bitmap, NRQS); in run_queue_remove() 6930 for (queue_index = bitmap_first(runq->bitmap, NRQS); in runq_scan()
|
| H A D | sched_clutch.c | 480 for (uint8_t i = 0; i < BITMAP_LEN(NRQS); i++) { in sched_clutch_bucket_runq_init() 484 for (int i = 0; i < NRQS; i++) { in sched_clutch_bucket_runq_init() 566 clutch_buckets_rq->scbrq_highq = bitmap_first(clutch_buckets_rq->scbrq_bitmap, NRQS); in sched_clutch_bucket_runq_remove() 2077 bucket_group_load = MIN(bucket_group_load, NRQS - 1); in sched_clutch_bucket_group_pri_shift_update()
|
| /xnu-12377.61.12/tests/sched/sched_test_harness/shadow_headers/ |
| H A D | sched_prim.c | 106 for (u_int i = 0; i < BITMAP_LEN(NRQS); i++) { in run_queue_init() 110 for (int i = 0; i < NRQS; i++) { in run_queue_init() 146 rq->highq = bitmap_first(rq->bitmap, NRQS); in run_queue_dequeue() 217 rq->highq = bitmap_first(rq->bitmap, NRQS); in run_queue_remove() 246 int8_t sched_load_shifts[NRQS];
|