| /ThreadX-v6.3.0/common/src/ |
| D | tx_mutex_priority_change.c | 118 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change() 146 original_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_priority_change() 163 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change() 212 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change() 256 if (thread_ptr -> tx_thread_priority <= next_execute_ptr -> tx_thread_priority) in _tx_mutex_priority_change() 274 … _tx_thread_priority_list[thread_ptr -> tx_thread_priority] = thread_ptr; in _tx_mutex_priority_change() 282 … if (thread_ptr -> tx_thread_preempt_threshold < thread_ptr -> tx_thread_priority) in _tx_mutex_priority_change() 288 … if (thread_ptr -> tx_thread_preempt_threshold <= next_execute_ptr -> tx_thread_priority) in _tx_mutex_priority_change() 300 … _tx_thread_priority_list[thread_ptr -> tx_thread_priority] = thread_ptr; in _tx_mutex_priority_change() 315 map_index = (thread_ptr -> tx_thread_priority)/ ((UINT) 32); in _tx_mutex_priority_change() [all …]
|
| D | tx_mutex_get.c | 131 mutex_ptr -> tx_mutex_original_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_get() 225 if (thread_ptr -> tx_thread_priority < mutex_owner -> tx_thread_priority) in _tx_mutex_get() 297 … if (mutex_ptr -> tx_mutex_highest_priority_waiting > thread_ptr -> tx_thread_priority) in _tx_mutex_get() 301 … mutex_ptr -> tx_mutex_highest_priority_waiting = thread_ptr -> tx_thread_priority; in _tx_mutex_get() 305 … if (thread_ptr -> tx_thread_priority < mutex_owner -> tx_thread_inherit_priority) in _tx_mutex_get() 309 … mutex_owner -> tx_thread_inherit_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_get() 313 if (mutex_owner -> tx_thread_priority > thread_ptr -> tx_thread_priority) in _tx_mutex_get() 318 _tx_mutex_priority_change(mutex_owner, thread_ptr -> tx_thread_priority); in _tx_mutex_get() 356 … if (mutex_ptr -> tx_mutex_highest_priority_waiting > thread_ptr -> tx_thread_priority) in _tx_mutex_get() 360 … mutex_ptr -> tx_mutex_highest_priority_waiting = thread_ptr -> tx_thread_priority; in _tx_mutex_get() [all …]
|
| D | tx_thread_priority_change.c | 106 …CE_THREAD_PRIORITY_CHANGE, thread_ptr, new_priority, thread_ptr -> tx_thread_priority, thread_ptr … in _tx_thread_priority_change() 126 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change() 133 thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change() 150 original_priority = thread_ptr -> tx_thread_priority; in _tx_thread_priority_change() 173 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change() 180 thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change() 219 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change() 226 thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change() 252 if (thread_ptr -> tx_thread_priority <= next_execute_ptr -> tx_thread_priority) in _tx_thread_priority_change() 270 … _tx_thread_priority_list[thread_ptr -> tx_thread_priority] = thread_ptr; in _tx_thread_priority_change()
|
| D | tx_thread_preemption_change.c | 139 if (_tx_thread_priority_list[thread_ptr -> tx_thread_priority] == thread_ptr) in _tx_thread_preemption_change() 145 map_index = (thread_ptr -> tx_thread_priority)/((UINT) 32); in _tx_thread_preemption_change() 150 TX_MOD32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change() 160 TX_DIV32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change() 189 if (_tx_thread_highest_priority < thread_ptr -> tx_thread_priority) in _tx_thread_preemption_change() 205 … if (thread_ptr -> tx_thread_preempt_threshold != thread_ptr -> tx_thread_priority) in _tx_thread_preemption_change() 211 map_index = (thread_ptr -> tx_thread_priority)/((UINT) 32); in _tx_thread_preemption_change() 214 TX_DIV32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change() 219 TX_MOD32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change()
|
| D | tx_block_pool_prioritize.c | 118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_block_pool_prioritize() 151 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_block_pool_prioritize()
|
| D | tx_byte_pool_prioritize.c | 118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_byte_pool_prioritize() 151 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_byte_pool_prioritize()
|
| D | tx_queue_prioritize.c | 118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_queue_prioritize() 151 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_queue_prioritize()
|
| D | tx_semaphore_prioritize.c | 118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_semaphore_prioritize() 151 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_semaphore_prioritize()
|
| D | tx_mutex_prioritize.c | 121 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_mutex_prioritize() 154 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_mutex_prioritize()
|
| D | tx_thread_resume.c | 148 … saved_thread_ptr -> tx_thread_preempt_threshold = saved_thread_ptr -> tx_thread_priority; in _tx_thread_resume() 237 priority = thread_ptr -> tx_thread_priority; in _tx_thread_resume() 311 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority) in _tx_thread_resume() 317 map_index = (execute_ptr -> tx_thread_priority)/((UINT) 32); in _tx_thread_resume() 320 TX_DIV32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit) in _tx_thread_resume() 325 TX_MOD32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit) in _tx_thread_resume()
|
| D | tx_thread_system_resume.c | 178 priority = thread_ptr -> tx_thread_priority; in _tx_thread_system_resume() 252 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority) in _tx_thread_system_resume() 258 map_index = (execute_ptr -> tx_thread_priority)/((UINT) 32); in _tx_thread_system_resume() 261 … TX_DIV32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit) in _tx_thread_system_resume() 266 … TX_MOD32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit) in _tx_thread_system_resume() 707 priority = thread_ptr -> tx_thread_priority; 773 … if (execute_ptr -> tx_thread_preempt_threshold != execute_ptr -> tx_thread_priority) 779 map_index = (execute_ptr -> tx_thread_priority)/((UINT) 32); 782 TX_DIV32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit) 787 TX_MOD32_BIT_SET(execute_ptr -> tx_thread_priority, priority_bit)
|
| /ThreadX-v6.3.0/common_smp/src/ |
| D | tx_mutex_get.c | 131 mutex_ptr -> tx_mutex_original_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_get() 225 if (thread_ptr -> tx_thread_priority < mutex_owner -> tx_thread_priority) in _tx_mutex_get() 297 … if (mutex_ptr -> tx_mutex_highest_priority_waiting > thread_ptr -> tx_thread_priority) in _tx_mutex_get() 301 … mutex_ptr -> tx_mutex_highest_priority_waiting = thread_ptr -> tx_thread_priority; in _tx_mutex_get() 305 … if (thread_ptr -> tx_thread_priority < mutex_owner -> tx_thread_inherit_priority) in _tx_mutex_get() 309 … mutex_owner -> tx_thread_inherit_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_get() 313 if (mutex_owner -> tx_thread_priority > thread_ptr -> tx_thread_priority) in _tx_mutex_get() 318 _tx_mutex_priority_change(mutex_owner, thread_ptr -> tx_thread_priority); in _tx_mutex_get() 356 … if (mutex_ptr -> tx_mutex_highest_priority_waiting > thread_ptr -> tx_thread_priority) in _tx_mutex_get() 360 … mutex_ptr -> tx_mutex_highest_priority_waiting = thread_ptr -> tx_thread_priority; in _tx_mutex_get() [all …]
|
| D | tx_mutex_priority_change.c | 116 if (thread_ptr -> tx_thread_priority == new_priority) in _tx_mutex_priority_change() 139 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change() 163 original_priority = thread_ptr -> tx_thread_priority; in _tx_mutex_priority_change() 176 if (new_priority < thread_ptr -> tx_thread_priority) in _tx_mutex_priority_change() 199 if (new_priority > thread_ptr -> tx_thread_priority) in _tx_mutex_priority_change() 253 thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_user_priority; in _tx_mutex_priority_change() 259 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change() 313 thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_user_priority; in _tx_mutex_priority_change() 319 thread_ptr -> tx_thread_priority = new_priority; in _tx_mutex_priority_change() 362 … if (_tx_thread_preemption_threshold_list[thread_ptr -> tx_thread_priority] == TX_NULL) in _tx_mutex_priority_change() [all …]
|
| D | tx_thread_priority_change.c | 113 …CE_THREAD_PRIORITY_CHANGE, thread_ptr, new_priority, thread_ptr -> tx_thread_priority, thread_ptr … in _tx_thread_priority_change() 173 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change() 180 … thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change() 197 original_priority = thread_ptr -> tx_thread_priority; in _tx_thread_priority_change() 210 if ((new_priority < thread_ptr -> tx_thread_priority) && in _tx_thread_priority_change() 236 if ((new_priority > thread_ptr -> tx_thread_priority) && in _tx_thread_priority_change() 292 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change() 299 … thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change() 345 thread_ptr -> tx_thread_priority = new_priority; in _tx_thread_priority_change() 352 … thread_ptr -> tx_thread_priority = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_priority_change() [all …]
|
| D | tx_thread_smp_utilities.c | 555 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get() 557 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get() 564 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get() 566 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get() 573 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get() 575 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get() 582 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get() 584 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get() 591 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get() 593 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get() [all …]
|
| D | tx_thread_preemption_change.c | 176 … if (_tx_thread_preemption_threshold_list[thread_ptr -> tx_thread_priority] == thread_ptr) in _tx_thread_preemption_change() 180 … _tx_thread_preemption_threshold_list[thread_ptr -> tx_thread_priority] = TX_NULL; in _tx_thread_preemption_change() 185 map_index = (thread_ptr -> tx_thread_priority)/((UINT) 32); in _tx_thread_preemption_change() 190 TX_MOD32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change() 200 TX_DIV32_BIT_SET(thread_ptr -> tx_thread_priority, priority_bit) in _tx_thread_preemption_change()
|
| D | tx_thread_smp_rebalance_execute_list.c | 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() 276 … if (schedule_thread -> tx_thread_preempt_threshold < schedule_thread -> tx_thread_priority) in _tx_thread_smp_rebalance_execute_list() 484 … if (schedule_thread -> tx_thread_preempt_threshold < schedule_thread -> tx_thread_priority) in _tx_thread_smp_rebalance_execute_list() 493 map_index = (schedule_thread -> tx_thread_priority)/((UINT) 32); in _tx_thread_smp_rebalance_execute_list() 496 TX_DIV32_BIT_SET(schedule_thread -> tx_thread_priority, priority_bit) in _tx_thread_smp_rebalance_execute_list() 501 TX_MOD32_BIT_SET(schedule_thread -> tx_thread_priority, priority_bit) in _tx_thread_smp_rebalance_execute_list() 505 … _tx_thread_preemption_threshold_list[schedule_thread -> tx_thread_priority] = schedule_thread; in _tx_thread_smp_rebalance_execute_list()
|
| D | tx_block_pool_prioritize.c | 118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_block_pool_prioritize() 151 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_block_pool_prioritize()
|
| D | tx_byte_pool_prioritize.c | 118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_byte_pool_prioritize() 151 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_byte_pool_prioritize()
|
| D | tx_queue_prioritize.c | 118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_queue_prioritize() 151 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_queue_prioritize()
|
| D | tx_semaphore_prioritize.c | 118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_semaphore_prioritize() 151 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_semaphore_prioritize()
|
| D | tx_mutex_prioritize.c | 121 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_mutex_prioritize() 154 if (thread_ptr -> tx_thread_priority < priority_thread_ptr -> tx_thread_priority) in _tx_mutex_prioritize()
|
| /ThreadX-v6.3.0/test/tx/regression/ |
| D | threadx_mutex_nested_priority_inheritance_test.c | 233 if (thread_0.tx_thread_priority != 4) in thread_0_entry() 250 if (thread_0.tx_thread_priority != 8) in thread_0_entry() 261 if (thread_0.tx_thread_priority != 15) in thread_0_entry() 272 if (thread_0.tx_thread_priority != 15) in thread_0_entry() 283 priority = thread_0.tx_thread_priority; in thread_0_entry() 287 if (thread_0.tx_thread_priority != priority) in thread_0_entry() 298 if (thread_0.tx_thread_priority != priority) in thread_0_entry() 309 if (thread_0.tx_thread_priority != 15) in thread_0_entry() 323 if (thread_0.tx_thread_priority != 8) in thread_0_entry() 334 if (thread_0.tx_thread_priority != 8) in thread_0_entry() [all …]
|
| /ThreadX-v6.3.0/test/smp/regression/ |
| D | threadx_mutex_nested_priority_inheritance_test.c | 233 if (thread_0.tx_thread_priority != 4) in thread_0_entry() 250 if (thread_0.tx_thread_priority != 8) in thread_0_entry() 261 if (thread_0.tx_thread_priority != 15) in thread_0_entry() 272 if (thread_0.tx_thread_priority != 15) in thread_0_entry() 283 priority = thread_0.tx_thread_priority; in thread_0_entry() 287 if (thread_0.tx_thread_priority != priority) in thread_0_entry() 298 if (thread_0.tx_thread_priority != priority) in thread_0_entry() 309 if (thread_0.tx_thread_priority != 15) in thread_0_entry() 323 if (thread_0.tx_thread_priority != 8) in thread_0_entry() 334 if (thread_0.tx_thread_priority != 8) in thread_0_entry() [all …]
|
| /ThreadX-v6.3.0/common_smp/inc/ |
| D | tx_thread.h | 1080 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get() 1082 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get() 1089 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get() 1091 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get() 1098 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get() 1100 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get() 1107 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get() 1109 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get() 1116 if (thread_ptr -> tx_thread_priority > lowest_priority) in _tx_thread_smp_lowest_priority_get() 1118 lowest_priority = thread_ptr -> tx_thread_priority; in _tx_thread_smp_lowest_priority_get() [all …]
|