Home
last modified time | relevance | path

Searched refs:next_thread (Results 1 – 25 of 84) sorted by relevance

1234

/ThreadX-v6.4.1/common_smp/src/
Dtx_thread_time_slice.c80 TX_THREAD *next_thread; in _tx_thread_time_slice() local
187 next_thread = thread_ptr -> tx_thread_ready_next; in _tx_thread_time_slice()
206 _tx_thread_priority_list[priority] = next_thread; in _tx_thread_time_slice()
217 next_thread -> tx_thread_ready_previous = previous_thread; in _tx_thread_time_slice()
218 previous_thread -> tx_thread_ready_next = next_thread; in _tx_thread_time_slice()
249 … excluded = (next_thread -> tx_thread_smp_cores_excluded >> core_index) & ((ULONG) 1); in _tx_thread_time_slice()
252 … if (next_thread -> tx_thread_preempt_threshold < next_thread -> tx_thread_priority) in _tx_thread_time_slice()
276 … if (next_thread != _tx_thread_execute_ptr[next_thread -> tx_thread_smp_core_mapped]) in _tx_thread_time_slice()
280next_thread -> tx_thread_smp_core_mapped = core_index; in _tx_thread_time_slice()
283 _tx_thread_execute_ptr[core_index] = next_thread; in _tx_thread_time_slice()
[all …]
Dtx_thread_relinquish.c84 TX_THREAD *next_thread; in _tx_thread_relinquish() local
148 next_thread = thread_ptr -> tx_thread_ready_next; in _tx_thread_relinquish()
167 _tx_thread_priority_list[priority] = next_thread; in _tx_thread_relinquish()
178 next_thread -> tx_thread_ready_previous = previous_thread; in _tx_thread_relinquish()
179 previous_thread -> tx_thread_ready_next = next_thread; in _tx_thread_relinquish()
213 … excluded = (next_thread -> tx_thread_smp_cores_excluded >> mapped_core) & ((ULONG) 1); in _tx_thread_relinquish()
217 … if ((next_thread -> tx_thread_preempt_threshold < next_thread -> tx_thread_priority) || in _tx_thread_relinquish()
231 … if (next_thread != _tx_thread_execute_ptr[next_thread -> tx_thread_smp_core_mapped]) in _tx_thread_relinquish()
238 next_thread -> tx_thread_smp_core_mapped = mapped_core; in _tx_thread_relinquish()
241 _tx_thread_execute_ptr[mapped_core] = next_thread; in _tx_thread_relinquish()
[all …]
Dtxe_thread_create.c101 TX_THREAD *next_thread; in _txe_thread_create() local
141 next_thread = _tx_thread_created_ptr; in _txe_thread_create()
149 if (thread_ptr == next_thread) in _txe_thread_create()
165 if (stack_start >= next_thread -> tx_thread_stack_start) in _txe_thread_create()
168 if (stack_start < next_thread -> tx_thread_stack_end) in _txe_thread_create()
181 if (stack_end >= next_thread -> tx_thread_stack_start) in _txe_thread_create()
184 if (stack_end < next_thread -> tx_thread_stack_end) in _txe_thread_create()
197 next_thread = next_thread -> tx_thread_created_next; in _txe_thread_create()
213 if (thread_ptr == next_thread) in _txe_thread_create()
Dtx_thread_delete.c78 TX_THREAD *next_thread; in _tx_thread_delete() local
115 …NSERT(TX_TRACE_THREAD_DELETE, thread_ptr, TX_POINTER_TO_ULONG_CONVERT(&next_thread), 0, 0, TX_TRAC… in _tx_thread_delete()
143 next_thread = thread_ptr -> tx_thread_created_next; in _tx_thread_delete()
145 next_thread -> tx_thread_created_previous = previous_thread; in _tx_thread_delete()
146 previous_thread -> tx_thread_created_next = next_thread; in _tx_thread_delete()
153 _tx_thread_created_ptr = next_thread; in _tx_thread_delete()
Dtx_queue_receive.c91 TX_THREAD *next_thread; in _tx_queue_receive() local
204 next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_queue_receive()
205 queue_ptr -> tx_queue_suspension_list = next_thread; in _tx_queue_receive()
209 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_queue_receive()
210 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_queue_receive()
328 next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_queue_receive()
329 queue_ptr -> tx_queue_suspension_list = next_thread; in _tx_queue_receive()
333 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_queue_receive()
334 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_queue_receive()
431next_thread = queue_ptr -> tx_queue_suspension_list; in _tx_queue_receive()
[all …]
Dtx_byte_pool_prioritize.c83 TX_THREAD *next_thread; in _tx_byte_pool_prioritize() local
114 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_byte_pool_prioritize()
117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_byte_pool_prioritize()
121 pool_ptr -> tx_byte_pool_suspension_list = next_thread; in _tx_byte_pool_prioritize()
224next_thread = priority_thread_ptr -> tx_thread_suspended_next; in _tx_byte_pool_prioritize()
226 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_byte_pool_prioritize()
227 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_byte_pool_prioritize()
Dtx_queue_prioritize.c83 TX_THREAD *next_thread; in _tx_queue_prioritize() local
114 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_queue_prioritize()
117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_queue_prioritize()
121 queue_ptr -> tx_queue_suspension_list = next_thread; in _tx_queue_prioritize()
224next_thread = priority_thread_ptr -> tx_thread_suspended_next; in _tx_queue_prioritize()
226 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_queue_prioritize()
227 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_queue_prioritize()
Dtx_block_pool_prioritize.c83 TX_THREAD *next_thread; in _tx_block_pool_prioritize() local
114 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_block_pool_prioritize()
117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_block_pool_prioritize()
121 pool_ptr -> tx_block_pool_suspension_list = next_thread; in _tx_block_pool_prioritize()
224next_thread = priority_thread_ptr -> tx_thread_suspended_next; in _tx_block_pool_prioritize()
226 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_block_pool_prioritize()
227 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_block_pool_prioritize()
Dtx_semaphore_prioritize.c83 TX_THREAD *next_thread; in _tx_semaphore_prioritize() local
114 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_semaphore_prioritize()
117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_semaphore_prioritize()
121 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_prioritize()
226next_thread = priority_thread_ptr -> tx_thread_suspended_next; in _tx_semaphore_prioritize()
228 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_semaphore_prioritize()
229 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_semaphore_prioritize()
Dtx_mutex_prioritize.c83 TX_THREAD *next_thread; in _tx_mutex_prioritize() local
117 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_mutex_prioritize()
120 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_mutex_prioritize()
124 mutex_ptr -> tx_mutex_suspension_list = next_thread; in _tx_mutex_prioritize()
227next_thread = priority_thread_ptr -> tx_thread_suspended_next; in _tx_mutex_prioritize()
229 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_mutex_prioritize()
230 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_mutex_prioritize()
Dtx_thread_system_suspend.c119 TX_THREAD *next_thread; in _tx_thread_system_suspend() local
423 next_thread = _tx_thread_priority_list[priority]; in _tx_thread_system_suspend()
440 next_thread = thread_ptr -> tx_thread_ready_next; in _tx_thread_system_suspend()
450 next_thread = thread_ptr; in _tx_thread_system_suspend()
652 if (next_thread == thread_ptr) in _tx_thread_system_suspend()
662 next_thread = TX_NULL; in _tx_thread_system_suspend()
689 if (next_thread == TX_NULL) in _tx_thread_system_suspend()
706 next_thread = _tx_thread_priority_list[next_priority]; in _tx_thread_system_suspend()
715 … if (next_thread != _tx_thread_execute_ptr[next_thread -> tx_thread_smp_core_mapped]) in _tx_thread_system_suspend()
721 … if (next_thread -> tx_thread_preempt_threshold != next_thread -> tx_thread_priority) in _tx_thread_system_suspend()
[all …]
Dtx_block_pool_cleanup.c86 TX_THREAD *next_thread; in _tx_block_pool_cleanup() local
151next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_block_pool_cleanup()
153 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_block_pool_cleanup()
154 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_block_pool_cleanup()
161 pool_ptr -> tx_block_pool_suspension_list = next_thread; in _tx_block_pool_cleanup()
Dtx_semaphore_cleanup.c86 TX_THREAD *next_thread; in _tx_semaphore_cleanup() local
152next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_semaphore_cleanup()
154 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_semaphore_cleanup()
155 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_semaphore_cleanup()
162 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_cleanup()
Dtx_byte_pool_cleanup.c86 TX_THREAD *next_thread; in _tx_byte_pool_cleanup() local
149next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_byte_pool_cleanup()
151 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_byte_pool_cleanup()
152 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_byte_pool_cleanup()
159 pool_ptr -> tx_byte_pool_suspension_list = next_thread; in _tx_byte_pool_cleanup()
/ThreadX-v6.4.1/common/src/
Dtxe_thread_create.c101 TX_THREAD *next_thread; in _txe_thread_create() local
141 next_thread = _tx_thread_created_ptr; in _txe_thread_create()
149 if (thread_ptr == next_thread) in _txe_thread_create()
165 if (stack_start >= next_thread -> tx_thread_stack_start) in _txe_thread_create()
168 if (stack_start < next_thread -> tx_thread_stack_end) in _txe_thread_create()
181 if (stack_end >= next_thread -> tx_thread_stack_start) in _txe_thread_create()
184 if (stack_end < next_thread -> tx_thread_stack_end) in _txe_thread_create()
197 next_thread = next_thread -> tx_thread_created_next; in _txe_thread_create()
213 if (thread_ptr == next_thread) in _txe_thread_create()
Dtx_thread_delete.c78 TX_THREAD *next_thread; in _tx_thread_delete() local
115 …NSERT(TX_TRACE_THREAD_DELETE, thread_ptr, TX_POINTER_TO_ULONG_CONVERT(&next_thread), 0, 0, TX_TRAC… in _tx_thread_delete()
143 next_thread = thread_ptr -> tx_thread_created_next; in _tx_thread_delete()
145 next_thread -> tx_thread_created_previous = previous_thread; in _tx_thread_delete()
146 previous_thread -> tx_thread_created_next = next_thread; in _tx_thread_delete()
153 _tx_thread_created_ptr = next_thread; in _tx_thread_delete()
Dtx_queue_receive.c91 TX_THREAD *next_thread; in _tx_queue_receive() local
204 next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_queue_receive()
205 queue_ptr -> tx_queue_suspension_list = next_thread; in _tx_queue_receive()
209 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_queue_receive()
210 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_queue_receive()
328 next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_queue_receive()
329 queue_ptr -> tx_queue_suspension_list = next_thread; in _tx_queue_receive()
333 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_queue_receive()
334 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_queue_receive()
431next_thread = queue_ptr -> tx_queue_suspension_list; in _tx_queue_receive()
[all …]
Dtx_block_pool_prioritize.c83 TX_THREAD *next_thread; in _tx_block_pool_prioritize() local
114 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_block_pool_prioritize()
117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_block_pool_prioritize()
121 pool_ptr -> tx_block_pool_suspension_list = next_thread; in _tx_block_pool_prioritize()
224next_thread = priority_thread_ptr -> tx_thread_suspended_next; in _tx_block_pool_prioritize()
226 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_block_pool_prioritize()
227 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_block_pool_prioritize()
Dtx_byte_pool_prioritize.c83 TX_THREAD *next_thread; in _tx_byte_pool_prioritize() local
114 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_byte_pool_prioritize()
117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_byte_pool_prioritize()
121 pool_ptr -> tx_byte_pool_suspension_list = next_thread; in _tx_byte_pool_prioritize()
224next_thread = priority_thread_ptr -> tx_thread_suspended_next; in _tx_byte_pool_prioritize()
226 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_byte_pool_prioritize()
227 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_byte_pool_prioritize()
Dtx_queue_prioritize.c83 TX_THREAD *next_thread; in _tx_queue_prioritize() local
114 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_queue_prioritize()
117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_queue_prioritize()
121 queue_ptr -> tx_queue_suspension_list = next_thread; in _tx_queue_prioritize()
224next_thread = priority_thread_ptr -> tx_thread_suspended_next; in _tx_queue_prioritize()
226 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_queue_prioritize()
227 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_queue_prioritize()
Dtx_semaphore_prioritize.c83 TX_THREAD *next_thread; in _tx_semaphore_prioritize() local
114 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_semaphore_prioritize()
117 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_semaphore_prioritize()
121 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_prioritize()
226next_thread = priority_thread_ptr -> tx_thread_suspended_next; in _tx_semaphore_prioritize()
228 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_semaphore_prioritize()
229 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_semaphore_prioritize()
Dtx_mutex_prioritize.c83 TX_THREAD *next_thread; in _tx_mutex_prioritize() local
117 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_mutex_prioritize()
120 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_mutex_prioritize()
124 mutex_ptr -> tx_mutex_suspension_list = next_thread; in _tx_mutex_prioritize()
227next_thread = priority_thread_ptr -> tx_thread_suspended_next; in _tx_mutex_prioritize()
229 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_mutex_prioritize()
230 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_mutex_prioritize()
Dtx_block_pool_cleanup.c86 TX_THREAD *next_thread; in _tx_block_pool_cleanup() local
151next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_block_pool_cleanup()
153 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_block_pool_cleanup()
154 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_block_pool_cleanup()
161 pool_ptr -> tx_block_pool_suspension_list = next_thread; in _tx_block_pool_cleanup()
Dtx_byte_pool_cleanup.c86 TX_THREAD *next_thread; in _tx_byte_pool_cleanup() local
149next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_byte_pool_cleanup()
151 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_byte_pool_cleanup()
152 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_byte_pool_cleanup()
159 pool_ptr -> tx_byte_pool_suspension_list = next_thread; in _tx_byte_pool_cleanup()
Dtx_semaphore_cleanup.c86 TX_THREAD *next_thread; in _tx_semaphore_cleanup() local
152next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_semaphore_cleanup()
154 next_thread -> tx_thread_suspended_previous = previous_thread; in _tx_semaphore_cleanup()
155 previous_thread -> tx_thread_suspended_next = next_thread; in _tx_semaphore_cleanup()
162 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_cleanup()

1234