Home
last modified time | relevance | path

Searched refs:available_cores (Results 1 – 6 of 6) sorted by relevance

/ThreadX-v6.4.1/common_smp/src/
Dtx_thread_smp_core_exclude.c85 ULONG available_cores; in _tx_thread_smp_core_exclude() local
127 available_cores = (~exclusion_map) & ((ULONG) TX_THREAD_SMP_CORE_MASK); in _tx_thread_smp_core_exclude()
131 thread_ptr -> tx_thread_smp_cores_allowed = available_cores; in _tx_thread_smp_core_exclude()
134 if ((mapped_core & available_cores) == ((ULONG) 0)) in _tx_thread_smp_core_exclude()
138 if (available_cores == ((ULONG) 0)) in _tx_thread_smp_core_exclude()
148 TX_LOWEST_SET_BIT_CALCULATE(available_cores, new_mapped_core) in _tx_thread_smp_core_exclude()
Dtx_thread_smp_rebalance_execute_list.c105 ULONG available_cores; in _tx_thread_smp_rebalance_execute_list() local
147 available_cores = possible_cores; in _tx_thread_smp_rebalance_execute_list()
239 thread_possible_cores = thread_possible_cores & (available_cores | possible_cores); in _tx_thread_smp_rebalance_execute_list()
326 if ((thread_possible_cores & available_cores) != ((ULONG) 0)) in _tx_thread_smp_rebalance_execute_list()
333 … if ((thread_possible_cores & available_cores & (((ULONG) 1) << j)) == ((ULONG) 0)) in _tx_thread_smp_rebalance_execute_list()
337 test_cores = (thread_possible_cores & available_cores); in _tx_thread_smp_rebalance_execute_list()
348 available_cores = available_cores & ~(((ULONG) 1) << j); in _tx_thread_smp_rebalance_execute_list()
363 …core = _tx_thread_smp_remap_solution_find(schedule_thread, available_cores, thread_possible_cores… in _tx_thread_smp_rebalance_execute_list()
370 available_cores = available_cores & ~(((ULONG) 1) << core); in _tx_thread_smp_rebalance_execute_list()
Dtx_thread_system_resume.c124 ULONG available_cores; in _tx_thread_system_resume() local
545 available_cores = thread_ptr -> tx_thread_smp_cores_allowed; in _tx_thread_system_resume()
549available_cores = available_cores & ((~available_cores) + ((ULONG) 1)); in _tx_thread_system_resume()
554 … if ((available_cores == thread_ptr -> tx_thread_smp_cores_allowed) && in _tx_thread_system_resume()
555 … (available_cores == execute_thread -> tx_thread_smp_cores_allowed)) in _tx_thread_system_resume()
580 available_cores = _tx_thread_smp_available_cores_get(); in _tx_thread_system_resume()
589 if (available_cores != ((ULONG) 0)) in _tx_thread_system_resume()
593 … if ((available_cores & thread_possible_cores) != ((ULONG) 0)) in _tx_thread_system_resume()
597 test_cores = (thread_possible_cores & available_cores); in _tx_thread_system_resume()
621 if ((available_cores & possible_cores) != ((ULONG) 0)) in _tx_thread_system_resume()
[all …]
Dtx_thread_smp_utilities.c399 ULONG available_cores; in _tx_thread_smp_available_cores_get() local
401 available_cores = ((ULONG) 0); in _tx_thread_smp_available_cores_get()
404 available_cores = ((ULONG) 1); in _tx_thread_smp_available_cores_get()
409 available_cores = available_cores | ((ULONG) 2); in _tx_thread_smp_available_cores_get()
414 available_cores = available_cores | ((ULONG) 4); in _tx_thread_smp_available_cores_get()
419 available_cores = available_cores | ((ULONG) 8); in _tx_thread_smp_available_cores_get()
424 available_cores = available_cores | ((ULONG) 0x10); in _tx_thread_smp_available_cores_get()
429 available_cores = available_cores | ((ULONG) 0x20); in _tx_thread_smp_available_cores_get()
447 available_cores = available_cores | (((ULONG) 1) << j); in _tx_thread_smp_available_cores_get()
459 return(available_cores); in _tx_thread_smp_available_cores_get()
[all …]
Dtx_thread_system_suspend.c116 ULONG available_cores; in _tx_thread_system_suspend() local
669 available_cores = (((ULONG) 1) << i); in _tx_thread_system_suspend()
672 complex_path_possible = possible_cores & available_cores; in _tx_thread_system_suspend()
777 …core = _tx_thread_smp_remap_solution_find(next_thread, available_cores, thread_possible_cores, te… in _tx_thread_system_suspend()
/ThreadX-v6.4.1/common_smp/inc/
Dtx_thread.h924 ULONG available_cores; in _tx_thread_smp_available_cores_get() local
926 available_cores = ((ULONG) 0); in _tx_thread_smp_available_cores_get()
929 available_cores = ((ULONG) 1); in _tx_thread_smp_available_cores_get()
934 available_cores = available_cores | ((ULONG) 2); in _tx_thread_smp_available_cores_get()
939 available_cores = available_cores | ((ULONG) 4); in _tx_thread_smp_available_cores_get()
944 available_cores = available_cores | ((ULONG) 8); in _tx_thread_smp_available_cores_get()
949 available_cores = available_cores | ((ULONG) 0x10); in _tx_thread_smp_available_cores_get()
954 available_cores = available_cores | ((ULONG) 0x20); in _tx_thread_smp_available_cores_get()
972 available_cores = available_cores | (((ULONG) 1) << j); in _tx_thread_smp_available_cores_get()
984 return(available_cores); in _tx_thread_smp_available_cores_get()
[all …]