Lines Matching refs:priority
80 * Recalculate the quantum and priority for a thread.
108 thread->priority = DEPRESSPRI;
122 * Recompute scheduled priority if appropriate.
143 * Adjust the scheduled priority if
207 * Calculate the timesharing priority based upon usage and load.
211 (pri) = (thread)->priority /* start with base priority */ \
223 * Set the base priority of the thread
224 * and reset its scheduled priority.
231 register int priority)
233 thread->priority = priority;
240 * Reset the scheduled priority of the thread
241 * according to its base priority if the
251 register int priority;
257 do_priority_computation(thread, priority);
259 priority = thread->priority;
261 set_sched_pri(thread, priority);
268 * Reset the scheduled priority for
280 register int priority;
282 do_priority_computation(thread, priority);
284 thread->sched_pri = priority;
354 thread->priority = BASEPRI_RTQUEUES;
365 set_sched_pri(thread, thread->priority);
373 * Recompute scheduled priority if appropriate.