Lines Matching refs:priority
82 * Recalculate the quantum and priority for a thread.
131 thread->priority = DEPRESSPRI;
150 * Recompute scheduled priority if appropriate.
240 * Adjust the scheduled priority if
273 * Calculate the timesharing priority based upon usage and load.
279 (pri) = (thread)->priority /* start with base priority */ \
296 (pri) = (thread)->priority /* start with base priority */ \
312 * Set the base priority of the thread
313 * and reset its scheduled priority.
320 register int priority)
322 thread->priority = priority;
331 * Reset the scheduled priority of the thread
332 * according to its base priority if the
342 register int priority;
348 do_priority_computation(thread, priority);
350 priority = thread->priority;
352 set_sched_pri(thread, priority);
359 * Reset the scheduled priority for
371 register int priority;
373 do_priority_computation(thread, priority);
375 thread->sched_pri = priority;
462 thread->priority = BASEPRI_RTQUEUES;
472 set_sched_pri(thread, thread->priority);
523 * Recompute scheduled priority if appropriate.