Lines Matching refs:highest_ready_priority
98 rt_ubase_t highest_ready_priority; in _scheduler_get_highest_priority_thread() local
104 highest_ready_priority = (number << 3) + __rt_ffs(rt_thread_ready_table[number]) - 1; in _scheduler_get_highest_priority_thread()
106 highest_ready_priority = __rt_ffs(rt_thread_ready_priority_group) - 1; in _scheduler_get_highest_priority_thread()
110 …priority_thread = RT_THREAD_LIST_NODE_ENTRY(rt_thread_priority_table[highest_ready_priority].next); in _scheduler_get_highest_priority_thread()
112 *highest_prio = highest_ready_priority; in _scheduler_get_highest_priority_thread()
239 rt_ubase_t highest_ready_priority; in rt_system_scheduler_start() local
241 to_thread = _scheduler_get_highest_priority_thread(&highest_ready_priority); in rt_system_scheduler_start()
293 rt_ubase_t highest_ready_priority; in rt_schedule() local
300 to_thread = _scheduler_get_highest_priority_thread(&highest_ready_priority); in rt_schedule()
304 if (RT_SCHED_PRIV(curr_thread).current_priority < highest_ready_priority) in rt_schedule()
308 else if (RT_SCHED_PRIV(curr_thread).current_priority == highest_ready_priority in rt_schedule()
322 rt_current_priority = (rt_uint8_t)highest_ready_priority; in rt_schedule()
345 rt_interrupt_nest, highest_ready_priority, in rt_schedule()