• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/kern/

Lines Matching defs:rq

1939 	run_queue_t		rq)
1943 rq->highq = IDLEPRI;
1945 rq->bitmap[i] = 0;
1946 setbit(MAXPRI - IDLEPRI, rq->bitmap);
1947 rq->urgency = rq->count = 0;
1949 queue_init(&rq->queues[i]);
1963 run_queue_t rq,
1967 queue_t queue = rq->queues + rq->highq;
1981 rq->count--;
1982 if (testbit(rq->highq, sched_preempt_pri)) {
1983 rq->urgency--; assert(rq->urgency >= 0);
1986 if (rq->highq != IDLEPRI)
1987 clrbit(MAXPRI - rq->highq, rq->bitmap);
1988 rq->highq = MAXPRI - ffsbit(rq->bitmap);
2003 run_queue_t rq = &rt_runq;
2004 queue_t queue = rq->queues + thread->sched_pri;
2013 setbit(MAXPRI - thread->sched_pri, rq->bitmap);
2014 if (thread->sched_pri > rq->highq)
2015 rq->highq = thread->sched_pri;
2038 rq->count++; rq->urgency++;
2105 run_queue_t rq = &processor->runq;
2106 queue_t queue = rq->queues + thread->sched_pri;
2112 setbit(MAXPRI - thread->sched_pri, rq->bitmap);
2113 if (thread->sched_pri > rq->highq) {
2114 rq->highq = thread->sched_pri;
2126 rq->urgency++;
2127 rq->count++;
2492 run_queue_t rq = &processor->runq;
2493 queue_t queue = rq->queues + rq->highq;
2494 int pri = rq->highq, count = rq->count;
2509 rq->count--;
2511 rq->urgency--; assert(rq->urgency >= 0);
2515 clrbit(MAXPRI - pri, rq->bitmap);
2516 rq->highq = MAXPRI - ffsbit(rq->bitmap);
2644 run_queue_t rq,
2650 if (rq != thread->runq)
2656 q = &rq->queues[thread->sched_pri];
2692 run_queue_t rq;
2701 rq = &processor->runq;
2704 rqlock = &rt_lock; rq = &rt_runq;
2714 remqueue(&rq->queues[0], (queue_entry_t)thread);
2715 rq->count--;
2717 rq->urgency--; assert(rq->urgency >= 0);
2720 if (queue_empty(rq->queues + thread->sched_pri)) {
2723 clrbit(MAXPRI - thread->sched_pri, rq->bitmap);
2724 rq->highq = MAXPRI - ffsbit(rq->bitmap);
2757 run_queue_t rq = &processor->runq;
2758 queue_t queue = rq->queues + rq->highq;
2759 int pri = rq->highq, count = rq->count;
2769 rq->count--;
2771 rq->urgency--; assert(rq->urgency >= 0);
2775 clrbit(MAXPRI - pri, rq->bitmap);
2776 rq->highq = MAXPRI - ffsbit(rq->bitmap);