Home
last modified time | relevance | path

Searched refs:next_priority (Results 1 – 4 of 4) sorted by relevance

/ThreadX-v6.3.0/common_smp/src/
Dtx_thread_smp_rebalance_execute_list.c97 UINT next_priority; in _tx_thread_smp_rebalance_execute_list() local
132 next_priority = ((UINT) 0); in _tx_thread_smp_rebalance_execute_list()
174 next_priority = _tx_thread_smp_next_priority_find(next_priority); in _tx_thread_smp_rebalance_execute_list()
177 if (next_priority == ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_rebalance_execute_list()
193 if (next_priority >= preempted_thread -> tx_thread_preempt_threshold) in _tx_thread_smp_rebalance_execute_list()
197 if (next_priority <= preempted_thread -> tx_thread_priority) in _tx_thread_smp_rebalance_execute_list()
201 next_priority = preempted_thread -> tx_thread_priority; in _tx_thread_smp_rebalance_execute_list()
213 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_rebalance_execute_list()
228 schedule_thread = _tx_thread_priority_list[next_priority]; in _tx_thread_smp_rebalance_execute_list()
252 if (schedule_thread == _tx_thread_priority_list[next_priority]) in _tx_thread_smp_rebalance_execute_list()
[all …]
Dtx_thread_system_suspend.c119 UINT next_priority; in _tx_thread_system_suspend() local
650 next_priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_suspend()
660 next_priority++; in _tx_thread_system_suspend()
676 if (next_priority == (ULONG)TX_MAX_PRIORITIES) in _tx_thread_system_suspend()
694 next_priority = _tx_thread_smp_next_priority_find(next_priority); in _tx_thread_system_suspend()
697 if (next_priority == ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_system_suspend()
707 next_thread = _tx_thread_priority_list[next_priority]; in _tx_thread_system_suspend()
815 if (next_thread == _tx_thread_priority_list[next_priority]) in _tx_thread_system_suspend()
820 next_priority++; in _tx_thread_system_suspend()
823 if (next_priority == ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_system_suspend()
Dtx_thread_smp_utilities.c136 UINT next_priority; in _tx_thread_smp_next_priority_find() local
140 next_priority = priority; in _tx_thread_smp_next_priority_find()
143 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
147 if (next_priority >= ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_next_priority_find()
149 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
154 next_priority = priority + first_bit_set; in _tx_thread_smp_next_priority_find()
158 return(next_priority); in _tx_thread_smp_next_priority_find()
/ThreadX-v6.3.0/common_smp/inc/
Dtx_thread.h651 UINT next_priority; in _tx_thread_smp_next_priority_find() local
655 next_priority = priority; in _tx_thread_smp_next_priority_find()
658 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
662 if (next_priority >= ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_next_priority_find()
664 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
669 next_priority = priority + first_bit_set; in _tx_thread_smp_next_priority_find()
673 return(next_priority); in _tx_thread_smp_next_priority_find()