Lines Matching defs:pri
69 integer_t pri;
108 static void thread_call_group_setup(thread_call_group_t group, thread_call_priority_t pri, uint32_t target_thread_count, boolean_t parallel);
201 thread_call_priority_to_sched_pri(thread_call_priority_t pri)
203 switch (pri) {
224 thread_call_priority_t pri = call->tc_pri;
226 assert(pri == THREAD_CALL_PRIORITY_LOW ||
227 pri == THREAD_CALL_PRIORITY_USER ||
228 pri == THREAD_CALL_PRIORITY_KERNEL ||
229 pri == THREAD_CALL_PRIORITY_HIGH);
231 return &thread_call_groups[pri];
237 thread_call_priority_t pri,
250 group->pri = thread_call_priority_to_sched_pri(pri);
270 result = kernel_thread_start_priority((thread_continue_t)thread_call_thread, group, group->pri, &thread);
275 if (group->pri < BASEPRI_PREEMPT) {
718 thread_call_priority_t pri)
722 if (pri > THREAD_CALL_PRIORITY_LOW) {
723 panic("Invalid pri: %d\n", pri);
727 call->tc_pri = pri;
1116 * high-pri group can take the big lock from under