Lines Matching refs:thread_ptr

97 UINT  _tx_thread_create(TX_THREAD *thread_ptr, CHAR *name_ptr, VOID (*entry_function)(ULONG id), UL…  in _tx_thread_create()  argument
119 thread_ptr -> tx_thread_stack_fill_value = ((ULONG) TX_RAND()) & 0xFFUL; in _tx_thread_create()
122 thread_ptr -> tx_thread_stack_fill_value = thread_ptr -> tx_thread_stack_fill_value | in _tx_thread_create()
123 (thread_ptr -> tx_thread_stack_fill_value << 8) | in _tx_thread_create()
124 (thread_ptr -> tx_thread_stack_fill_value << 16) | in _tx_thread_create()
125 (thread_ptr -> tx_thread_stack_fill_value << 24); in _tx_thread_create()
169 TX_MEMSET(thread_ptr, 0, (sizeof(TX_THREAD))); in _tx_thread_create()
172 thread_ptr -> tx_thread_name = name_ptr; in _tx_thread_create()
173 thread_ptr -> tx_thread_entry = entry_function; in _tx_thread_create()
174 thread_ptr -> tx_thread_entry_parameter = entry_input; in _tx_thread_create()
175 thread_ptr -> tx_thread_stack_start = stack_start; in _tx_thread_create()
176 thread_ptr -> tx_thread_stack_size = stack_size; in _tx_thread_create()
177 thread_ptr -> tx_thread_priority = priority; in _tx_thread_create()
178 thread_ptr -> tx_thread_user_priority = priority; in _tx_thread_create()
179 thread_ptr -> tx_thread_time_slice = time_slice; in _tx_thread_create()
180 thread_ptr -> tx_thread_new_time_slice = time_slice; in _tx_thread_create()
181 thread_ptr -> tx_thread_inherit_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_create()
186 thread_ptr -> tx_thread_stack_end = TX_UCHAR_TO_VOID_POINTER_CONVERT(temp_ptr); in _tx_thread_create()
191 thread_ptr -> tx_thread_preempt_threshold = preempt_threshold; in _tx_thread_create()
192 thread_ptr -> tx_thread_user_preempt_threshold = preempt_threshold; in _tx_thread_create()
201 thread_ptr -> tx_thread_preempt_threshold = ((UINT) 0); in _tx_thread_create()
202 thread_ptr -> tx_thread_user_preempt_threshold = ((UINT) 0); in _tx_thread_create()
208 thread_ptr -> tx_thread_preempt_threshold = priority; in _tx_thread_create()
209 thread_ptr -> tx_thread_user_preempt_threshold = priority; in _tx_thread_create()
214 thread_ptr -> tx_thread_state = TX_SUSPENDED; in _tx_thread_create()
217 TX_THREAD_CREATE_TIMEOUT_SETUP(thread_ptr) in _tx_thread_create()
220 TX_THREAD_CREATE_INTERNAL_EXTENSION(thread_ptr) in _tx_thread_create()
225 _tx_thread_stack_build(thread_ptr, _tx_thread_shell_entry); in _tx_thread_create()
230 thread_ptr -> tx_thread_stack_highest_ptr = thread_ptr -> tx_thread_stack_ptr; in _tx_thread_create()
237 thread_ptr -> tx_thread_id = TX_THREAD_ID; in _tx_thread_create()
245 _tx_thread_created_ptr = thread_ptr; in _tx_thread_create()
246 thread_ptr -> tx_thread_created_next = thread_ptr; in _tx_thread_create()
247 thread_ptr -> tx_thread_created_previous = thread_ptr; in _tx_thread_create()
257 next_thread -> tx_thread_created_previous = thread_ptr; in _tx_thread_create()
258 previous_thread -> tx_thread_created_next = thread_ptr; in _tx_thread_create()
261 thread_ptr -> tx_thread_created_previous = previous_thread; in _tx_thread_create()
262 thread_ptr -> tx_thread_created_next = next_thread; in _tx_thread_create()
269 …TX_TRACE_OBJECT_REGISTER(TX_TRACE_OBJECT_TYPE_THREAD, thread_ptr, name_ptr, TX_POINTER_TO_ULONG_CO… in _tx_thread_create()
272 …TX_TRACE_IN_LINE_INSERT(TX_TRACE_THREAD_CREATE, thread_ptr, priority, TX_POINTER_TO_ULONG_CONVERT(… in _tx_thread_create()
275 TX_EL_THREAD_REGISTER(thread_ptr) in _tx_thread_create()
328 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
331 _tx_thread_system_ni_resume(thread_ptr); in _tx_thread_create()
341 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
344 _tx_thread_system_resume(thread_ptr); in _tx_thread_create()
362 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()
372 TX_THREAD_CREATE_EXTENSION(thread_ptr) in _tx_thread_create()