Home
last modified time | relevance | path

Searched refs:core_index (Results 1 – 24 of 24) sorted by relevance

/ThreadX-v6.4.1/common_smp/src/
Dtx_thread_time_slice.c77 ULONG core_index, current_core; in _tx_thread_time_slice() local
121 for (core_index = ((ULONG) 0); core_index < ((ULONG) TX_THREAD_SMP_MAX_CORES); core_index++) in _tx_thread_time_slice()
124 for (core_index = ((ULONG) 0); core_index < _tx_thread_smp_max_cores; core_index++) in _tx_thread_time_slice()
129 if (_tx_timer_time_slice[core_index] != ((ULONG) 0)) in _tx_thread_time_slice()
133 _tx_timer_time_slice[core_index]--; in _tx_thread_time_slice()
136 if (_tx_timer_time_slice[core_index] == ((ULONG) 0)) in _tx_thread_time_slice()
142 thread_ptr = _tx_thread_current_ptr[core_index]; in _tx_thread_time_slice()
154 _tx_timer_time_slice[core_index] = thread_ptr -> tx_thread_time_slice; in _tx_thread_time_slice()
229 if (_tx_thread_execute_ptr[core_index] != thread_ptr) in _tx_thread_time_slice()
249 … excluded = (next_thread -> tx_thread_smp_cores_excluded >> core_index) & ((ULONG) 1); in _tx_thread_time_slice()
[all …]
Dtx_thread_time_slice_change.c81 ULONG core_index; in _tx_thread_time_slice_change() local
101 core_index = thread_ptr -> tx_thread_smp_core_mapped; in _tx_thread_time_slice_change()
106 …if ((core_index < ((ULONG) TX_THREAD_SMP_MAX_CORES)) && (thread_ptr == _tx_thread_current_ptr[core… in _tx_thread_time_slice_change()
109 … if ((core_index < _tx_thread_smp_max_cores) && (thread_ptr == _tx_thread_current_ptr[core_index])) in _tx_thread_time_slice_change()
114 _tx_timer_time_slice[core_index] = new_time_slice; in _tx_thread_time_slice_change()
Dtx_thread_system_preempt_check.c76 UINT core_index; in _tx_thread_system_preempt_check() local
87 core_index = TX_SMP_CORE_ID; in _tx_thread_system_preempt_check()
90 if (_tx_thread_system_state[core_index] == ((ULONG) 0)) in _tx_thread_system_preempt_check()
98 if (_tx_thread_current_ptr[core_index] != _tx_thread_execute_ptr[core_index]) in _tx_thread_system_preempt_check()
107 thread_ptr = _tx_thread_execute_ptr[core_index]; in _tx_thread_system_preempt_check()
121 if (_tx_thread_execute_ptr[core_index] == TX_NULL) in _tx_thread_system_preempt_check()
Dtx_thread_system_suspend.c110 UINT core_index; in _tx_thread_system_suspend() local
159 core_index = TX_SMP_CORE_ID; in _tx_thread_system_suspend() local
170 if (thread_ptr == _tx_thread_current_ptr[core_index]) in _tx_thread_system_suspend()
174 _tx_timer_time_slice[core_index] = thread_ptr -> tx_thread_new_time_slice; in _tx_thread_system_suspend()
300 …CONVERT(&priority), TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index]), TX_TRACE_INTE… in _tx_thread_system_suspend()
528 if (i != core_index) in _tx_thread_system_suspend()
543 if ((i != core_index) && (_tx_thread_execute_ptr[i] != TX_NULL)) in _tx_thread_system_suspend()
568 …-> tx_trace_buffer_entry_info_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index]); in _tx_thread_system_suspend()
570 …uffer_entry_information_field_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index]); in _tx_thread_system_suspend()
576 combined_flags = ((ULONG) _tx_thread_system_state[core_index]); in _tx_thread_system_suspend()
[all …]
Dtx_thread_smp_core_exclude.c82 UINT core_index; in _tx_thread_smp_core_exclude() local
173 core_index = TX_SMP_CORE_ID; in _tx_thread_smp_core_exclude()
176 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_smp_core_exclude()
187 if (_tx_thread_execute_ptr[core_index] != _tx_thread_current_ptr[core_index]) in _tx_thread_smp_core_exclude()
191 if (_tx_thread_system_state[core_index] == ((ULONG) 0)) in _tx_thread_smp_core_exclude()
Dtx_thread_system_resume.c113 UINT core_index; in _tx_thread_system_resume() local
235 core_index = TX_SMP_CORE_ID; in _tx_thread_system_resume()
244 …NVERT(&time_stamp), TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index]), TX_TRACE_INTE… in _tx_thread_system_resume()
496 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_system_resume()
506 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_system_resume()
533 _tx_thread_smp_core_interrupt(thread_ptr, core_index, i); in _tx_thread_system_resume()
536 _tx_thread_smp_core_wakeup(core_index, i); in _tx_thread_system_resume()
570 _tx_thread_smp_core_interrupt(thread_ptr, core_index, i); in _tx_thread_system_resume()
573 _tx_thread_smp_core_wakeup(core_index, i); in _tx_thread_system_resume()
610 _tx_thread_smp_core_wakeup(core_index, i); in _tx_thread_system_resume()
[all …]
Dtx_mutex_priority_change.c90 UINT core_index; in _tx_mutex_priority_change() local
159 core_index = thread_ptr -> tx_thread_smp_core_mapped; in _tx_mutex_priority_change()
165 if (thread_ptr == _tx_thread_execute_ptr[core_index]) in _tx_mutex_priority_change()
376 core_index = thread_ptr -> tx_thread_smp_core_mapped; in _tx_mutex_priority_change()
381 if (core_index < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_mutex_priority_change()
385 if (core_index < _tx_thread_smp_max_cores) in _tx_mutex_priority_change()
390 if (thread_ptr != _tx_thread_execute_ptr[core_index]) in _tx_mutex_priority_change()
471 core_index = TX_SMP_CORE_ID; in _tx_mutex_priority_change()
474 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_mutex_priority_change()
Dtx_thread_priority_change.c90 UINT core_index; in _tx_thread_priority_change() local
193 core_index = thread_ptr -> tx_thread_smp_core_mapped; in _tx_thread_priority_change()
199 if (thread_ptr == _tx_thread_execute_ptr[core_index]) in _tx_thread_priority_change()
399 core_index = thread_ptr -> tx_thread_smp_core_mapped; in _tx_thread_priority_change()
404 if (core_index < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_priority_change()
408 if (core_index < _tx_thread_smp_max_cores) in _tx_thread_priority_change()
413 if (thread_ptr != _tx_thread_execute_ptr[core_index]) in _tx_thread_priority_change()
495 core_index = TX_SMP_CORE_ID; in _tx_thread_priority_change()
498 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_priority_change()
Dtx_thread_relinquish.c86 UINT core_index; in _tx_thread_relinquish() local
115 core_index = TX_SMP_CORE_ID; in _tx_thread_relinquish() local
118 thread_ptr = _tx_thread_current_ptr[core_index]; in _tx_thread_relinquish()
123 _tx_timer_time_slice[core_index] = thread_ptr -> tx_thread_new_time_slice; in _tx_thread_relinquish()
437 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_relinquish()
441 if (_tx_thread_execute_ptr[core_index] != thread_ptr) in _tx_thread_relinquish()
453 if (_tx_thread_execute_ptr[core_index] == TX_NULL) in _tx_thread_relinquish()
470 thread_ptr = _tx_thread_execute_ptr[core_index]; in _tx_thread_relinquish()
Dtx_thread_resume.c80 UINT core_index; in _tx_thread_resume() local
140 core_index = TX_SMP_CORE_ID; in _tx_thread_resume()
143 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_resume()
Dtx_thread_suspend.c80 UINT core_index; in _tx_thread_suspend() local
103 core_index = TX_SMP_CORE_ID; in _tx_thread_suspend()
106 if (_tx_thread_system_state[core_index] == ((ULONG) 0)) in _tx_thread_suspend()
Dtx_thread_smp_debug_entry_insert.c132 ULONG core_index; in _tx_thread_smp_debug_entry_insert() local
167 core_index = TX_SMP_CORE_ID; in _tx_thread_smp_debug_entry_insert()
175 entry_ptr -> tx_thread_smp_debug_entry_core_index = core_index; in _tx_thread_smp_debug_entry_insert()
176 …y_ptr -> tx_thread_smp_debug_entry_current_thread = _tx_thread_current_ptr[core_index]; in _tx_thread_smp_debug_entry_insert()
Dtx_thread_preemption_change.c82 UINT core_index; in _tx_thread_preemption_change() local
269 core_index = TX_SMP_CORE_ID; in _tx_thread_preemption_change()
272 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_preemption_change()
Dtx_thread_smp_rebalance_execute_list.c92 void _tx_thread_smp_rebalance_execute_list(UINT core_index) in _tx_thread_smp_rebalance_execute_list() argument
454 if (_tx_thread_system_state[core_index] == ((ULONG) 0)) in _tx_thread_smp_rebalance_execute_list()
467 … if (_tx_thread_system_state[core_index] < TX_INITIALIZE_IN_PROGRESS) in _tx_thread_smp_rebalance_execute_list()
578 _tx_thread_smp_execute_list_setup(core_index);
Dtx_thread_create.c105 UINT core_index; in _tx_thread_create() local
353 core_index = TX_SMP_CORE_ID; in _tx_thread_create()
356 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_create()
Dtx_thread_smp_utilities.c350 VOID _tx_thread_smp_execute_list_setup(UINT core_index) in _tx_thread_smp_execute_list_setup() argument
375 _tx_thread_smp_core_interrupt(schedule_thread, core_index, i); in _tx_thread_smp_execute_list_setup()
380 if ((i != core_index) && (schedule_thread != TX_NULL)) in _tx_thread_smp_execute_list_setup()
/ThreadX-v6.4.1/ports_smp/cortex_a7_smp/gnu/src/
Dtx_thread_smp_protection_wait_list_macros.h180 @ UINT core_index;
181 @ for (core_index = 0;; core_index++)
191 @ if (_tx_thread_smp_protect_wait_list[core_index] == core)
221 @ while (core_index != _tx_thread_smp_protect_wait_list_tail)
231 @ UINT next_index = core_index + 1;
252 @ list_cores[core_index] = list_cores[next_index];
258 @ core_index = next_index;
/ThreadX-v6.4.1/ports_smp/cortex_a9_smp/ac5/src/
Dtx_thread_smp_protection_wait_list_macros.h185 ; UINT core_index; variable
186 ; for (core_index = 0;; core_index++)
196 ; if (_tx_thread_smp_protect_wait_list[core_index] == core)
226 ; while (core_index != _tx_thread_smp_protect_wait_list_tail)
236 ; UINT next_index = core_index + 1;
257 ; list_cores[core_index] = list_cores[next_index];
263 ; core_index = next_index;
/ThreadX-v6.4.1/ports_smp/cortex_a9_smp/gnu/src/
Dtx_thread_smp_protection_wait_list_macros.h180 @ UINT core_index;
181 @ for (core_index = 0;; core_index++)
191 @ if (_tx_thread_smp_protect_wait_list[core_index] == core)
221 @ while (core_index != _tx_thread_smp_protect_wait_list_tail)
231 @ UINT next_index = core_index + 1;
252 @ list_cores[core_index] = list_cores[next_index];
258 @ core_index = next_index;
/ThreadX-v6.4.1/ports_smp/cortex_a5_smp/ac5/src/
Dtx_thread_smp_protection_wait_list_macros.h185 ; UINT core_index; variable
186 ; for (core_index = 0;; core_index++)
196 ; if (_tx_thread_smp_protect_wait_list[core_index] == core)
226 ; while (core_index != _tx_thread_smp_protect_wait_list_tail)
236 ; UINT next_index = core_index + 1;
257 ; list_cores[core_index] = list_cores[next_index];
263 ; core_index = next_index;
/ThreadX-v6.4.1/ports_smp/cortex_a7_smp/ac5/src/
Dtx_thread_smp_protection_wait_list_macros.h185 ; UINT core_index; variable
186 ; for (core_index = 0;; core_index++)
196 ; if (_tx_thread_smp_protect_wait_list[core_index] == core)
226 ; while (core_index != _tx_thread_smp_protect_wait_list_tail)
236 ; UINT next_index = core_index + 1;
257 ; list_cores[core_index] = list_cores[next_index];
263 ; core_index = next_index;
/ThreadX-v6.4.1/ports_smp/cortex_a5_smp/gnu/src/
Dtx_thread_smp_protection_wait_list_macros.h180 @ UINT core_index;
181 @ for (core_index = 0;; core_index++)
191 @ if (_tx_thread_smp_protect_wait_list[core_index] == core)
221 @ while (core_index != _tx_thread_smp_protect_wait_list_tail)
231 @ UINT next_index = core_index + 1;
252 @ list_cores[core_index] = list_cores[next_index];
258 @ core_index = next_index;
/ThreadX-v6.4.1/common_modules/module_manager/src/
Dtxm_module_manager_thread_create.c115 UINT core_index; in _txm_module_manager_thread_create() local
598 core_index = TX_SMP_CORE_ID; in _txm_module_manager_thread_create()
601 _tx_thread_smp_rebalance_execute_list(core_index); in _txm_module_manager_thread_create()
/ThreadX-v6.4.1/common_smp/inc/
Dtx_thread.h149 void _tx_thread_smp_rebalance_execute_list(UINT core_index);
875 static INLINE_DECLARE VOID _tx_thread_smp_execute_list_setup(UINT core_index) in _tx_thread_smp_execute_list_setup() argument
900 _tx_thread_smp_core_interrupt(schedule_thread, core_index, i); in _tx_thread_smp_execute_list_setup()
905 if ((i != core_index) && (schedule_thread != TX_NULL)) in _tx_thread_smp_execute_list_setup()
1667 VOID _tx_thread_smp_execute_list_setup(UINT core_index);