Lines Matching refs:thread_ptr
94 UINT _tx_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr, in _tx_thread_create() argument
147 TX_MEMSET(thread_ptr, 0, sizeof(TX_THREAD)); in _tx_thread_create()
150 thread_ptr -> tx_thread_name = name_ptr; in _tx_thread_create()
151 thread_ptr -> tx_thread_entry = entry_function; in _tx_thread_create()
152 thread_ptr -> tx_thread_entry_parameter = entry_input; in _tx_thread_create()
153 thread_ptr -> tx_thread_stack_start = stack_start; in _tx_thread_create()
154 thread_ptr -> tx_thread_stack_size = stack_size; in _tx_thread_create()
155 thread_ptr -> tx_thread_priority = priority; in _tx_thread_create()
156 thread_ptr -> tx_thread_user_priority = priority; in _tx_thread_create()
157 thread_ptr -> tx_thread_time_slice = time_slice; in _tx_thread_create()
158 thread_ptr -> tx_thread_new_time_slice = time_slice; in _tx_thread_create()
159 thread_ptr -> tx_thread_inherit_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_create()
160 thread_ptr -> tx_thread_smp_core_executing = ((UINT) TX_THREAD_SMP_MAX_CORES); in _tx_thread_create()
161 thread_ptr -> tx_thread_smp_cores_excluded = ((ULONG) 0); in _tx_thread_create()
163 thread_ptr -> tx_thread_smp_cores_allowed = ((ULONG) TX_THREAD_SMP_CORE_MASK); in _tx_thread_create()
165 thread_ptr -> tx_thread_smp_cores_allowed = (((ULONG) 1) << _tx_thread_smp_max_cores) - 1; in _tx_thread_create()
171 thread_ptr -> tx_thread_smp_cores_excluded = (TX_THREAD_SMP_CORE_MASK & 0xFFFFFFFE); in _tx_thread_create()
172 thread_ptr -> tx_thread_smp_cores_allowed = 1; in _tx_thread_create()
175 …thread_ptr -> tx_thread_timer.tx_timer_internal_smp_cores_excluded = (TX_THREAD_SMP_CORE_MASK & 0… in _tx_thread_create()
178 thread_ptr -> tx_thread_smp_core_mapped = 0; in _tx_thread_create()
184 thread_ptr -> tx_thread_stack_end = TX_UCHAR_TO_VOID_POINTER_CONVERT(temp_ptr); in _tx_thread_create()
190 thread_ptr -> tx_thread_preempt_threshold = preempt_threshold; in _tx_thread_create()
191 thread_ptr -> tx_thread_user_preempt_threshold = preempt_threshold; in _tx_thread_create()
200 thread_ptr -> tx_thread_preempt_threshold = ((UINT) 0); in _tx_thread_create()
201 thread_ptr -> tx_thread_user_preempt_threshold = ((UINT) 0); in _tx_thread_create()
207 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
208 thread_ptr -> tx_thread_user_preempt_threshold = priority; in _tx_thread_create()
213 thread_ptr -> tx_thread_state = TX_SUSPENDED; in _tx_thread_create()
216 TX_THREAD_CREATE_TIMEOUT_SETUP(thread_ptr) in _tx_thread_create()
219 TX_THREAD_CREATE_INTERNAL_EXTENSION(thread_ptr) in _tx_thread_create()
224 _tx_thread_stack_build(thread_ptr, _tx_thread_shell_entry); in _tx_thread_create()
229 thread_ptr -> tx_thread_stack_highest_ptr = thread_ptr -> tx_thread_stack_ptr; in _tx_thread_create()
236 thread_ptr -> tx_thread_id = TX_THREAD_ID; in _tx_thread_create()
244 _tx_thread_created_ptr = thread_ptr; in _tx_thread_create()
245 thread_ptr -> tx_thread_created_next = thread_ptr; in _tx_thread_create()
246 thread_ptr -> tx_thread_created_previous = thread_ptr; in _tx_thread_create()
256 next_thread -> tx_thread_created_previous = thread_ptr; in _tx_thread_create()
257 previous_thread -> tx_thread_created_next = thread_ptr; in _tx_thread_create()
260 thread_ptr -> tx_thread_created_previous = previous_thread; in _tx_thread_create()
261 thread_ptr -> tx_thread_created_next = next_thread; in _tx_thread_create()
268 …TX_TRACE_OBJECT_REGISTER(TX_TRACE_OBJECT_TYPE_THREAD, thread_ptr, name_ptr, TX_POINTER_TO_ULONG_CO… in _tx_thread_create()
271 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_THREAD_CREATE, thread_ptr, priority, TX_POINTER_TO_ULONG_CONVERT(… in _tx_thread_create()
274 TX_EL_THREAD_REGISTER(thread_ptr) in _tx_thread_create()
293 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
296 _tx_thread_system_ni_resume(thread_ptr); in _tx_thread_create()
304 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
307 _tx_thread_system_resume(thread_ptr); in _tx_thread_create()
335 _tx_thread_smp_debug_entry_insert(12, 0, thread_ptr); in _tx_thread_create()
347 _tx_thread_smp_debug_entry_insert(13, 0, thread_ptr); in _tx_thread_create()
360 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
370 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()