Home
last modified time | relevance | path

Searched refs:_tx_thread_execute_ptr (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/ThreadX-v6.3.0/test/smp/regression/
Dthreadx_smp_resume_suspend_accending_order_test.c6 extern TX_THREAD *_tx_thread_execute_ptr[TX_THREAD_SMP_MAX_CORES];
573 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
574 … || (_tx_thread_execute_ptr[2] != TX_NULL) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
586 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
587 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
599 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
600 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != &thread_3)) in thread_0_entry()
612 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
613 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != &thread_3)) in thread_0_entry()
625 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
[all …]
Dthreadx_smp_resume_suspend_decending_order_test.c6 extern TX_THREAD *_tx_thread_execute_ptr[TX_THREAD_SMP_MAX_CORES];
573 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
574 … || (_tx_thread_execute_ptr[2] != TX_NULL) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
587 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
588 … || (_tx_thread_execute_ptr[2] != &thread_30) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
601 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
602 … || (_tx_thread_execute_ptr[2] != &thread_30) || (_tx_thread_execute_ptr[3] != &thread_29)) in thread_0_entry()
615 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
616 … || (_tx_thread_execute_ptr[2] != &thread_30) || (_tx_thread_execute_ptr[3] != &thread_29)) in thread_0_entry()
629 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
[all …]
Dthreadx_smp_preemption_threshold_test.c6 extern TX_THREAD *_tx_thread_execute_ptr[TX_THREAD_SMP_MAX_CORES];
246 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
247 … || (_tx_thread_execute_ptr[2] != TX_NULL) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
259 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
260 … || (_tx_thread_execute_ptr[2] != TX_NULL) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
272 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
273 … || (_tx_thread_execute_ptr[2] != TX_NULL) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
285 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
286 … || (_tx_thread_execute_ptr[2] != TX_NULL) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
297 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
[all …]
Dthreadx_smp_non_trivial_scheduling_test.c20 extern TX_THREAD *_tx_thread_execute_ptr[TX_THREAD_SMP_MAX_CORES];
146 if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0)) in thread_0_entry()
158 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
159 … || (_tx_thread_execute_ptr[2] != TX_NULL) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
171 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
172 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
184 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_0) || (_tx_thread_execute_ptr[… in thread_0_entry()
185 … || (_tx_thread_execute_ptr[2] != &thread_2) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
197 …if ((status != TX_SUCCESS) || (_tx_thread_execute_ptr[0] != &thread_3) || (_tx_thread_execute_ptr[… in thread_0_entry()
198 … || (_tx_thread_execute_ptr[2] != &thread_1) || (_tx_thread_execute_ptr[3] != TX_NULL)) in thread_0_entry()
[all …]
/ThreadX-v6.3.0/common/src/
Dtx_thread_system_resume.c138 …NTER_TO_ULONG_CONVERT(&execute_ptr), TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr), TX_TRACE… in _tx_thread_system_resume()
231 execute_ptr = _tx_thread_execute_ptr; in _tx_thread_system_resume()
238 _tx_thread_execute_ptr = thread_ptr; in _tx_thread_system_resume()
303 _tx_thread_execute_ptr = thread_ptr; in _tx_thread_system_resume()
312 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] != _tx_thread_execute_ptr) in _tx_thread_system_resume()
327 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] = _tx_thread_execute_ptr; in _tx_thread_system_resume()
345 …> tx_trace_buffer_entry_information_field_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr); in _tx_thread_system_resume()
356 thread_ptr = _tx_thread_execute_ptr; in _tx_thread_system_resume()
463 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] != _tx_thread_execute_ptr) in _tx_thread_system_resume()
478 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] = _tx_thread_execute_ptr; in _tx_thread_system_resume()
[all …]
Dtx_thread_resume.c134 saved_thread_ptr = _tx_thread_execute_ptr; in _tx_thread_resume()
216 …NTER_TO_ULONG_CONVERT(&execute_ptr), TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr), TX_TRACE… in _tx_thread_resume()
290 execute_ptr = _tx_thread_execute_ptr; in _tx_thread_resume()
297 _tx_thread_execute_ptr = thread_ptr; in _tx_thread_resume()
361 _tx_thread_execute_ptr = thread_ptr; in _tx_thread_resume()
379 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] != _tx_thread_execute_ptr) in _tx_thread_resume()
394 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] = _tx_thread_execute_ptr; in _tx_thread_resume()
412 …> tx_trace_buffer_entry_information_field_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr); in _tx_thread_resume()
423 thread_ptr = _tx_thread_execute_ptr; in _tx_thread_resume()
470 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] != _tx_thread_execute_ptr) in _tx_thread_resume()
[all …]
Dtx_thread_system_suspend.c180 …POINTER_TO_ULONG_CONVERT(&priority), TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr), TX_TRACE… in _tx_thread_system_suspend()
340 _tx_thread_execute_ptr = TX_NULL; in _tx_thread_system_suspend()
401 if (thread_ptr == _tx_thread_execute_ptr) in _tx_thread_system_suspend()
405 _tx_thread_execute_ptr = _tx_thread_priority_list[_tx_thread_highest_priority]; in _tx_thread_system_suspend()
468 _tx_thread_execute_ptr = _tx_thread_priority_list[priority]; in _tx_thread_system_suspend()
494 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] != _tx_thread_execute_ptr) in _tx_thread_system_suspend()
509 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] = _tx_thread_execute_ptr; in _tx_thread_system_suspend()
528 …> tx_trace_buffer_entry_information_field_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr); in _tx_thread_system_suspend()
560 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] != _tx_thread_execute_ptr) in _tx_thread_system_suspend()
575 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] = _tx_thread_execute_ptr; in _tx_thread_system_suspend()
[all …]
Dtx_thread_relinquish.c117 _tx_thread_execute_ptr = thread_ptr -> tx_thread_ready_next; in _tx_thread_relinquish()
126 _tx_thread_execute_ptr = _tx_thread_priority_list[_tx_thread_highest_priority]; in _tx_thread_relinquish()
133 …RACE_THREAD_RELINQUISH, &thread_ptr, TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr), 0, 0, TX… in _tx_thread_relinquish()
142 if (_tx_thread_execute_ptr != thread_ptr) in _tx_thread_relinquish()
160 thread_ptr = _tx_thread_execute_ptr; in _tx_thread_relinquish()
Dtx_thread_suspend.c320 …POINTER_TO_ULONG_CONVERT(&priority), TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr), TX_TRACE… in _tx_thread_suspend()
475 _tx_thread_execute_ptr = TX_NULL; in _tx_thread_suspend()
534 if (thread_ptr == _tx_thread_execute_ptr) in _tx_thread_suspend()
538 _tx_thread_execute_ptr = _tx_thread_priority_list[_tx_thread_highest_priority]; in _tx_thread_suspend()
604 _tx_thread_execute_ptr = _tx_thread_priority_list[priority]; in _tx_thread_suspend()
622 … entry_ptr -> tx_trace_buffer_entry_info_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr); in _tx_thread_suspend()
624 …> tx_trace_buffer_entry_information_field_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr); in _tx_thread_suspend()
654 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] != _tx_thread_execute_ptr) in _tx_thread_suspend()
669 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] = _tx_thread_execute_ptr; in _tx_thread_suspend()
720 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] != _tx_thread_execute_ptr) in _tx_thread_suspend()
[all …]
Dtx_thread_time_slice.c143 _tx_thread_execute_ptr = _tx_thread_priority_list[_tx_thread_highest_priority]; in _tx_thread_time_slice()
158 next_thread_ptr = _tx_thread_execute_ptr; in _tx_thread_time_slice()
172 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_TIME_SLICE, _tx_thread_execute_ptr, system_state, preempt_disable… in _tx_thread_time_slice()
Dtx_mutex_priority_change.c143 execute_ptr = _tx_thread_execute_ptr; in _tx_mutex_priority_change()
245 next_execute_ptr = _tx_thread_execute_ptr; in _tx_mutex_priority_change()
267 _tx_thread_execute_ptr = thread_ptr; in _tx_mutex_priority_change()
293 _tx_thread_execute_ptr = thread_ptr; in _tx_mutex_priority_change()
Dtx_thread_preemption_change.c197 if (_tx_thread_execute_ptr == thread_ptr) in _tx_thread_preemption_change()
241 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] != _tx_thread_execute_ptr) in _tx_thread_preemption_change()
256 …hread_performance_execute_log[_tx_thread_performance__execute_log_index] = _tx_thread_execute_ptr; in _tx_thread_preemption_change()
261 _tx_thread_execute_ptr = _tx_thread_priority_list[_tx_thread_highest_priority]; in _tx_thread_preemption_change()
/ThreadX-v6.3.0/common_smp/src/
Dtx_thread_smp_utilities.c216 _tx_thread_execute_ptr[0] = TX_NULL; in _tx_thread_smp_execute_list_clear()
218 _tx_thread_execute_ptr[1] = TX_NULL; in _tx_thread_smp_execute_list_clear()
220 _tx_thread_execute_ptr[2] = TX_NULL; in _tx_thread_smp_execute_list_clear()
222 _tx_thread_execute_ptr[3] = TX_NULL; in _tx_thread_smp_execute_list_clear()
224 _tx_thread_execute_ptr[4] = TX_NULL; in _tx_thread_smp_execute_list_clear()
226 _tx_thread_execute_ptr[5] = TX_NULL; in _tx_thread_smp_execute_list_clear()
242 _tx_thread_execute_ptr[j] = TX_NULL; in _tx_thread_smp_execute_list_clear()
262 _tx_thread_smp_schedule_list[0] = _tx_thread_execute_ptr[0]; in _tx_thread_smp_schedule_list_setup()
264 _tx_thread_smp_schedule_list[1] = _tx_thread_execute_ptr[1]; in _tx_thread_smp_schedule_list_setup()
266 _tx_thread_smp_schedule_list[2] = _tx_thread_execute_ptr[2]; in _tx_thread_smp_schedule_list_setup()
[all …]
Dtx_thread_system_preempt_check.c99 if (_tx_thread_current_ptr[core_index] != _tx_thread_execute_ptr[core_index]) in _tx_thread_system_preempt_check()
108 thread_ptr = _tx_thread_execute_ptr[core_index]; in _tx_thread_system_preempt_check()
122 if (_tx_thread_execute_ptr[core_index] == TX_NULL) in _tx_thread_system_preempt_check()
Dtx_thread_system_resume.c245 …INTER_TO_ULONG_CONVERT(&time_stamp), TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index… in _tx_thread_system_resume()
452 execute_thread = _tx_thread_execute_ptr[i]; in _tx_thread_system_resume()
524 execute_thread = _tx_thread_execute_ptr[i]; in _tx_thread_system_resume()
531 _tx_thread_execute_ptr[i] = thread_ptr; in _tx_thread_system_resume()
568 _tx_thread_execute_ptr[i] = thread_ptr; in _tx_thread_system_resume()
605 _tx_thread_execute_ptr[i] = thread_ptr; in _tx_thread_system_resume()
698 … if (next_thread == _tx_thread_execute_ptr[next_thread -> tx_thread_smp_core_mapped]) in _tx_thread_system_resume()
735 _tx_thread_execute_ptr[i] = thread_ptr; in _tx_thread_system_resume()
774 _tx_thread_execute_ptr[j] = thread_ptr; in _tx_thread_system_resume()
798 _tx_thread_execute_ptr[j] = TX_NULL; in _tx_thread_system_resume()
[all …]
Dtx_thread_system_suspend.c301 …POINTER_TO_ULONG_CONVERT(&priority), TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index… in _tx_thread_system_suspend()
524 _tx_thread_execute_ptr[i] = TX_NULL; in _tx_thread_system_suspend()
544 if ((i != core_index) && (_tx_thread_execute_ptr[i] != TX_NULL)) in _tx_thread_system_suspend()
569 …r -> tx_trace_buffer_entry_info_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index… in _tx_thread_system_suspend()
571 …_buffer_entry_information_field_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index… in _tx_thread_system_suspend()
619 if (_tx_thread_execute_ptr[i] == thread_ptr) in _tx_thread_system_suspend()
623 _tx_thread_execute_ptr[i] = TX_NULL; in _tx_thread_system_suspend()
716 … if (next_thread != _tx_thread_execute_ptr[next_thread -> tx_thread_smp_core_mapped]) in _tx_thread_system_suspend()
742 _tx_thread_execute_ptr[i] = next_thread; in _tx_thread_system_suspend()
856 if (_tx_thread_execute_ptr[i] != TX_NULL) in _tx_thread_system_suspend()
[all …]
Dtx_thread_relinquish.c193 if (thread_ptr != _tx_thread_execute_ptr[mapped_core]) in _tx_thread_relinquish()
232 … if (next_thread != _tx_thread_execute_ptr[next_thread -> tx_thread_smp_core_mapped]) in _tx_thread_relinquish()
242 _tx_thread_execute_ptr[mapped_core] = next_thread; in _tx_thread_relinquish()
442 if (_tx_thread_execute_ptr[core_index] != thread_ptr) in _tx_thread_relinquish()
454 if (_tx_thread_execute_ptr[core_index] == TX_NULL) in _tx_thread_relinquish()
471 thread_ptr = _tx_thread_execute_ptr[core_index]; in _tx_thread_relinquish()
/ThreadX-v6.3.0/common_smp/inc/
Dtx_thread.h183 THREAD_DECLARE TX_THREAD * _tx_thread_execute_ptr[TX_THREAD_SMP_MAX_CORES]; variable
731 _tx_thread_execute_ptr[0] = TX_NULL; in _tx_thread_smp_execute_list_clear()
733 _tx_thread_execute_ptr[1] = TX_NULL; in _tx_thread_smp_execute_list_clear()
735 _tx_thread_execute_ptr[2] = TX_NULL; in _tx_thread_smp_execute_list_clear()
737 _tx_thread_execute_ptr[3] = TX_NULL; in _tx_thread_smp_execute_list_clear()
739 _tx_thread_execute_ptr[4] = TX_NULL; in _tx_thread_smp_execute_list_clear()
741 _tx_thread_execute_ptr[5] = TX_NULL; in _tx_thread_smp_execute_list_clear()
757 _tx_thread_execute_ptr[j] = TX_NULL; in _tx_thread_smp_execute_list_clear()
777 _tx_thread_smp_schedule_list[0] = _tx_thread_execute_ptr[0]; in _tx_thread_smp_schedule_list_setup()
779 _tx_thread_smp_schedule_list[1] = _tx_thread_execute_ptr[1]; in _tx_thread_smp_schedule_list_setup()
[all …]
/ThreadX-v6.3.0/ports/linux/gnu/src/
Dtx_thread_context_restore.c102 if ((_tx_thread_preempt_disable == 0) && (_tx_thread_current_ptr != _tx_thread_execute_ptr)) in _tx_thread_context_restore()
131 if(_tx_thread_execute_ptr) in _tx_thread_context_restore()
133 if(_tx_thread_execute_ptr -> tx_thread_linux_suspension_type == 0) in _tx_thread_context_restore()
/ThreadX-v6.3.0/ports_smp/linux/gnu/src/
Dtx_thread_context_restore.c108 if ((_tx_thread_preempt_disable == 0) && (current_thread != _tx_thread_execute_ptr[0])) in _tx_thread_context_restore()
144 if(_tx_thread_execute_ptr[0]) in _tx_thread_context_restore()
146 if(_tx_thread_execute_ptr[0] -> tx_thread_linux_suspension_type == 2) in _tx_thread_context_restore()
/ThreadX-v6.3.0/ports/arc_hs/metaware/src/
Dtx_thread_schedule.s104 ld r0, [gp, _tx_thread_execute_ptr@sda] ; Pickup next thread to execute
108 ; while(_tx_thread_execute_ptr == TX_NULL);
117 ; _tx_thread_current_ptr = _tx_thread_execute_ptr;
144 ; sp = _tx_thread_execute_ptr -> tx_thread_stack_ptr;
/ThreadX-v6.3.0/ports/arm11/iar/src/
Dtx_thread_schedule.s40 EXTERN _tx_thread_execute_ptr
105 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr
114 ; while(_tx_thread_execute_ptr == TX_NULL);
122 ; _tx_thread_current_ptr = _tx_thread_execute_ptr;
144 ; sp = _tx_thread_execute_ptr -> tx_thread_stack_ptr;
/ThreadX-v6.3.0/ports/arm9/iar/src/
Dtx_thread_schedule.s40 EXTERN _tx_thread_execute_ptr
105 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr
114 ; while(_tx_thread_execute_ptr == TX_NULL);
122 ; _tx_thread_current_ptr = _tx_thread_execute_ptr;
144 ; sp = _tx_thread_execute_ptr -> tx_thread_stack_ptr;
/ThreadX-v6.3.0/ports/arm11/ac5/src/
Dtx_thread_schedule.s41 IMPORT _tx_thread_execute_ptr
106 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr
115 ; while(_tx_thread_execute_ptr == TX_NULL);
123 ; _tx_thread_current_ptr = _tx_thread_execute_ptr;
145 ; sp = _tx_thread_execute_ptr -> tx_thread_stack_ptr;
/ThreadX-v6.3.0/ports/arm9/ac5/src/
Dtx_thread_schedule.s41 IMPORT _tx_thread_execute_ptr
106 LDR r1, =_tx_thread_execute_ptr ; Address of thread execute ptr
115 ; while(_tx_thread_execute_ptr == TX_NULL);
123 ; _tx_thread_current_ptr = _tx_thread_execute_ptr;
145 ; sp = _tx_thread_execute_ptr -> tx_thread_stack_ptr;

12345678910>>...21