Lines Matching refs:thread_ptr

77 UINT  _tx_thread_preemption_change(TX_THREAD *thread_ptr, UINT new_threshold, UINT *old_threshold)  in _tx_thread_preemption_change()  argument
99 if (thread_ptr -> tx_thread_user_priority != new_threshold) in _tx_thread_preemption_change()
117 …(TX_TRACE_THREAD_PREEMPTION_CHANGE, thread_ptr, new_threshold, thread_ptr -> tx_thread_preempt_thr… in _tx_thread_preemption_change()
123 if (new_threshold > thread_ptr -> tx_thread_user_priority) in _tx_thread_preemption_change()
135 if (thread_ptr -> tx_thread_user_priority == new_threshold) in _tx_thread_preemption_change()
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()
169 *old_threshold = thread_ptr -> tx_thread_user_preempt_threshold; in _tx_thread_preemption_change()
172 thread_ptr -> tx_thread_user_preempt_threshold = new_threshold; in _tx_thread_preemption_change()
175 if (new_threshold < thread_ptr -> tx_thread_inherit_priority) in _tx_thread_preemption_change()
179 thread_ptr -> tx_thread_preempt_threshold = new_threshold; in _tx_thread_preemption_change()
185 thread_ptr -> tx_thread_preempt_threshold = thread_ptr -> tx_thread_inherit_priority; in _tx_thread_preemption_change()
189 if (_tx_thread_highest_priority < thread_ptr -> tx_thread_priority) in _tx_thread_preemption_change()
197 if (_tx_thread_execute_ptr == thread_ptr) 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()
234 thread_ptr -> tx_thread_performance_solicited_preemption_count++; in _tx_thread_preemption_change()
238thread_ptr -> tx_thread_performance_last_preempting_thread = _tx_thread_priority_list[_tx_thread_… in _tx_thread_preemption_change()