| /ThreadX-v6.3.0/common_smp/src/ |
| D | tx_thread_time_slice.c | 78 ULONG core_index, current_core; in _tx_thread_time_slice() local 122 for (core_index = ((ULONG) 0); core_index < ((ULONG) TX_THREAD_SMP_MAX_CORES); core_index++) in _tx_thread_time_slice() 125 for (core_index = ((ULONG) 0); core_index < _tx_thread_smp_max_cores; core_index++) in _tx_thread_time_slice() 130 if (_tx_timer_time_slice[core_index] != ((ULONG) 0)) in _tx_thread_time_slice() 134 _tx_timer_time_slice[core_index]--; in _tx_thread_time_slice() 137 if (_tx_timer_time_slice[core_index] == ((ULONG) 0)) in _tx_thread_time_slice() 143 thread_ptr = _tx_thread_current_ptr[core_index]; in _tx_thread_time_slice() 155 _tx_timer_time_slice[core_index] = thread_ptr -> tx_thread_time_slice; in _tx_thread_time_slice() 230 if (_tx_thread_execute_ptr[core_index] != thread_ptr) in _tx_thread_time_slice() 250 … excluded = (next_thread -> tx_thread_smp_cores_excluded >> core_index) & ((ULONG) 1); in _tx_thread_time_slice() [all …]
|
| D | tx_thread_system_preempt_check.c | 77 UINT core_index; in _tx_thread_system_preempt_check() local 88 core_index = TX_SMP_CORE_ID; in _tx_thread_system_preempt_check() 91 if (_tx_thread_system_state[core_index] == ((ULONG) 0)) in _tx_thread_system_preempt_check() 99 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()
|
| D | tx_thread_time_slice_change.c | 82 ULONG core_index; in _tx_thread_time_slice_change() local 102 core_index = thread_ptr -> tx_thread_smp_core_mapped; in _tx_thread_time_slice_change() 107 …if ((core_index < ((ULONG) TX_THREAD_SMP_MAX_CORES)) && (thread_ptr == _tx_thread_current_ptr[core… in _tx_thread_time_slice_change() 110 … if ((core_index < _tx_thread_smp_max_cores) && (thread_ptr == _tx_thread_current_ptr[core_index])) in _tx_thread_time_slice_change() 115 _tx_timer_time_slice[core_index] = new_time_slice; in _tx_thread_time_slice_change()
|
| D | tx_thread_system_suspend.c | 111 UINT core_index; in _tx_thread_system_suspend() local 160 core_index = TX_SMP_CORE_ID; in _tx_thread_system_suspend() local 171 if (thread_ptr == _tx_thread_current_ptr[core_index]) in _tx_thread_system_suspend() 175 _tx_timer_time_slice[core_index] = thread_ptr -> tx_thread_new_time_slice; in _tx_thread_system_suspend() 301 …CONVERT(&priority), TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index]), TX_TRACE_INTE… in _tx_thread_system_suspend() 529 if (i != core_index) in _tx_thread_system_suspend() 544 if ((i != core_index) && (_tx_thread_execute_ptr[i] != TX_NULL)) in _tx_thread_system_suspend() 569 …-> tx_trace_buffer_entry_info_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index]); in _tx_thread_system_suspend() 571 …uffer_entry_information_field_4 = TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index]); in _tx_thread_system_suspend() 577 combined_flags = ((ULONG) _tx_thread_system_state[core_index]); in _tx_thread_system_suspend() [all …]
|
| D | tx_thread_smp_core_exclude.c | 83 UINT core_index; in _tx_thread_smp_core_exclude() local 174 core_index = TX_SMP_CORE_ID; in _tx_thread_smp_core_exclude() 177 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_smp_core_exclude() 188 if (_tx_thread_execute_ptr[core_index] != _tx_thread_current_ptr[core_index]) in _tx_thread_smp_core_exclude() 192 if (_tx_thread_system_state[core_index] == ((ULONG) 0)) in _tx_thread_smp_core_exclude()
|
| D | tx_thread_system_resume.c | 114 UINT core_index; in _tx_thread_system_resume() local 236 core_index = TX_SMP_CORE_ID; in _tx_thread_system_resume() 245 …NVERT(&time_stamp), TX_POINTER_TO_ULONG_CONVERT(_tx_thread_execute_ptr[core_index]), TX_TRACE_INTE… in _tx_thread_system_resume() 497 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_system_resume() 507 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_system_resume() 534 _tx_thread_smp_core_interrupt(thread_ptr, core_index, i); in _tx_thread_system_resume() 537 _tx_thread_smp_core_wakeup(core_index, i); in _tx_thread_system_resume() 571 _tx_thread_smp_core_interrupt(thread_ptr, core_index, i); in _tx_thread_system_resume() 574 _tx_thread_smp_core_wakeup(core_index, i); in _tx_thread_system_resume() 611 _tx_thread_smp_core_wakeup(core_index, i); in _tx_thread_system_resume() [all …]
|
| D | tx_mutex_priority_change.c | 91 UINT core_index; in _tx_mutex_priority_change() local 160 core_index = thread_ptr -> tx_thread_smp_core_mapped; in _tx_mutex_priority_change() 166 if (thread_ptr == _tx_thread_execute_ptr[core_index]) in _tx_mutex_priority_change() 377 core_index = thread_ptr -> tx_thread_smp_core_mapped; in _tx_mutex_priority_change() 382 if (core_index < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_mutex_priority_change() 386 if (core_index < _tx_thread_smp_max_cores) in _tx_mutex_priority_change() 391 if (thread_ptr != _tx_thread_execute_ptr[core_index]) in _tx_mutex_priority_change() 472 core_index = TX_SMP_CORE_ID; in _tx_mutex_priority_change() 475 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_mutex_priority_change()
|
| D | tx_thread_priority_change.c | 91 UINT core_index; in _tx_thread_priority_change() local 194 core_index = thread_ptr -> tx_thread_smp_core_mapped; in _tx_thread_priority_change() 200 if (thread_ptr == _tx_thread_execute_ptr[core_index]) in _tx_thread_priority_change() 400 core_index = thread_ptr -> tx_thread_smp_core_mapped; in _tx_thread_priority_change() 405 if (core_index < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_priority_change() 409 if (core_index < _tx_thread_smp_max_cores) in _tx_thread_priority_change() 414 if (thread_ptr != _tx_thread_execute_ptr[core_index]) in _tx_thread_priority_change() 496 core_index = TX_SMP_CORE_ID; in _tx_thread_priority_change() 499 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_priority_change()
|
| D | tx_thread_relinquish.c | 87 UINT core_index; in _tx_thread_relinquish() local 116 core_index = TX_SMP_CORE_ID; in _tx_thread_relinquish() local 119 thread_ptr = _tx_thread_current_ptr[core_index]; in _tx_thread_relinquish() 124 _tx_timer_time_slice[core_index] = thread_ptr -> tx_thread_new_time_slice; in _tx_thread_relinquish() 438 _tx_thread_smp_rebalance_execute_list(core_index); 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()
|
| D | tx_thread_resume.c | 81 UINT core_index; in _tx_thread_resume() local 141 core_index = TX_SMP_CORE_ID; in _tx_thread_resume() 144 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_resume()
|
| D | tx_thread_suspend.c | 81 UINT core_index; in _tx_thread_suspend() local 104 core_index = TX_SMP_CORE_ID; in _tx_thread_suspend() 107 if (_tx_thread_system_state[core_index] == ((ULONG) 0)) in _tx_thread_suspend()
|
| D | tx_thread_smp_debug_entry_insert.c | 133 ULONG core_index; in _tx_thread_smp_debug_entry_insert() local 168 core_index = TX_SMP_CORE_ID; in _tx_thread_smp_debug_entry_insert() 176 entry_ptr -> tx_thread_smp_debug_entry_core_index = core_index; in _tx_thread_smp_debug_entry_insert() 177 …y_ptr -> tx_thread_smp_debug_entry_current_thread = _tx_thread_current_ptr[core_index]; in _tx_thread_smp_debug_entry_insert()
|
| D | tx_thread_preemption_change.c | 83 UINT core_index; in _tx_thread_preemption_change() local 270 core_index = TX_SMP_CORE_ID; in _tx_thread_preemption_change() 273 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_preemption_change()
|
| D | tx_thread_smp_rebalance_execute_list.c | 93 void _tx_thread_smp_rebalance_execute_list(UINT core_index) in _tx_thread_smp_rebalance_execute_list() argument 455 if (_tx_thread_system_state[core_index] == ((ULONG) 0)) in _tx_thread_smp_rebalance_execute_list() 468 … if (_tx_thread_system_state[core_index] < TX_INITIALIZE_IN_PROGRESS) in _tx_thread_smp_rebalance_execute_list() 579 _tx_thread_smp_execute_list_setup(core_index);
|
| D | tx_thread_create.c | 106 UINT core_index; in _tx_thread_create() local 354 core_index = TX_SMP_CORE_ID; in _tx_thread_create() 357 _tx_thread_smp_rebalance_execute_list(core_index); in _tx_thread_create()
|
| D | tx_thread_smp_utilities.c | 351 VOID _tx_thread_smp_execute_list_setup(UINT core_index) in _tx_thread_smp_execute_list_setup() argument 376 _tx_thread_smp_core_interrupt(schedule_thread, core_index, i); in _tx_thread_smp_execute_list_setup() 381 if ((i != core_index) && (schedule_thread != TX_NULL)) in _tx_thread_smp_execute_list_setup()
|
| /ThreadX-v6.3.0/ports_smp/cortex_a7_smp/gnu/src/ |
| D | tx_thread_smp_protection_wait_list_macros.h | 181 @ UINT core_index; 182 @ for (core_index = 0;; core_index++) 192 @ if (_tx_thread_smp_protect_wait_list[core_index] == core) 222 @ while (core_index != _tx_thread_smp_protect_wait_list_tail) 232 @ UINT next_index = core_index + 1; 253 @ list_cores[core_index] = list_cores[next_index]; 259 @ core_index = next_index;
|
| /ThreadX-v6.3.0/ports_smp/cortex_a7_smp/ac5/src/ |
| D | tx_thread_smp_protection_wait_list_macros.h | 186 ; UINT core_index; variable 187 ; for (core_index = 0;; core_index++) 197 ; if (_tx_thread_smp_protect_wait_list[core_index] == core) 227 ; while (core_index != _tx_thread_smp_protect_wait_list_tail) 237 ; UINT next_index = core_index + 1; 258 ; list_cores[core_index] = list_cores[next_index]; 264 ; core_index = next_index;
|
| /ThreadX-v6.3.0/ports_smp/cortex_a9_smp/ac5/src/ |
| D | tx_thread_smp_protection_wait_list_macros.h | 186 ; UINT core_index; variable 187 ; for (core_index = 0;; core_index++) 197 ; if (_tx_thread_smp_protect_wait_list[core_index] == core) 227 ; while (core_index != _tx_thread_smp_protect_wait_list_tail) 237 ; UINT next_index = core_index + 1; 258 ; list_cores[core_index] = list_cores[next_index]; 264 ; core_index = next_index;
|
| /ThreadX-v6.3.0/ports_smp/cortex_a9_smp/gnu/src/ |
| D | tx_thread_smp_protection_wait_list_macros.h | 181 @ UINT core_index; 182 @ for (core_index = 0;; core_index++) 192 @ if (_tx_thread_smp_protect_wait_list[core_index] == core) 222 @ while (core_index != _tx_thread_smp_protect_wait_list_tail) 232 @ UINT next_index = core_index + 1; 253 @ list_cores[core_index] = list_cores[next_index]; 259 @ core_index = next_index;
|
| /ThreadX-v6.3.0/ports_smp/cortex_a5_smp/gnu/src/ |
| D | tx_thread_smp_protection_wait_list_macros.h | 181 @ UINT core_index; 182 @ for (core_index = 0;; core_index++) 192 @ if (_tx_thread_smp_protect_wait_list[core_index] == core) 222 @ while (core_index != _tx_thread_smp_protect_wait_list_tail) 232 @ UINT next_index = core_index + 1; 253 @ list_cores[core_index] = list_cores[next_index]; 259 @ core_index = next_index;
|
| /ThreadX-v6.3.0/ports_smp/cortex_a5_smp/ac5/src/ |
| D | tx_thread_smp_protection_wait_list_macros.h | 186 ; UINT core_index; variable 187 ; for (core_index = 0;; core_index++) 197 ; if (_tx_thread_smp_protect_wait_list[core_index] == core) 227 ; while (core_index != _tx_thread_smp_protect_wait_list_tail) 237 ; UINT next_index = core_index + 1; 258 ; list_cores[core_index] = list_cores[next_index]; 264 ; core_index = next_index;
|
| /ThreadX-v6.3.0/common_modules/module_manager/src/ |
| D | txm_module_manager_thread_create.c | 116 UINT core_index; in _txm_module_manager_thread_create() local 599 core_index = TX_SMP_CORE_ID; in _txm_module_manager_thread_create() 602 _tx_thread_smp_rebalance_execute_list(core_index); in _txm_module_manager_thread_create()
|
| /ThreadX-v6.3.0/common_smp/inc/ |
| D | tx_thread.h | 150 void _tx_thread_smp_rebalance_execute_list(UINT core_index); 876 static INLINE_DECLARE VOID _tx_thread_smp_execute_list_setup(UINT core_index) in _tx_thread_smp_execute_list_setup() argument 901 _tx_thread_smp_core_interrupt(schedule_thread, core_index, i); in _tx_thread_smp_execute_list_setup() 906 if ((i != core_index) && (schedule_thread != TX_NULL)) in _tx_thread_smp_execute_list_setup() 1668 VOID _tx_thread_smp_execute_list_setup(UINT core_index);
|