Lines Matching refs:priority
543 integer_t priority;
560 priority = self->sched_pri;
561 if (priority < self->priority)
562 priority = self->priority;
563 if (priority < BASEPRI_DEFAULT)
564 priority = BASEPRI_DEFAULT;
570 if ( mutex->lck_mtx_pri < priority &&
571 holder->sched_pri < priority ) {
574 holder->sched_pri, priority, (int)holder, (int)lck, 0);
576 set_sched_pri(holder, priority);
581 if (mutex->lck_mtx_pri < priority)
582 mutex->lck_mtx_pri = priority;
646 integer_t priority = mutex->lck_mtx_pri;
652 if (thread->sched_pri < priority) {
655 thread->sched_pri, priority, 0, (int)lck, 0);
657 set_sched_pri(thread, priority);
709 if (thread->priority < thread->sched_pri) {
713 thread->sched_pri, thread->priority,