Home
last modified time | relevance | path

Searched refs:head_ptr (Results 1 – 17 of 17) sorted by relevance

/ThreadX-v6.3.0/common/src/
Dtx_block_pool_prioritize.c82 TX_THREAD *head_ptr; in _tx_block_pool_prioritize() local
114 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
115 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_block_pool_prioritize()
118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_block_pool_prioritize()
132 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
135 priority_thread_ptr = head_ptr; in _tx_block_pool_prioritize()
168 if (head_ptr != pool_ptr -> tx_block_pool_suspension_list) in _tx_block_pool_prioritize()
197 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
201 priority_thread_ptr = head_ptr; in _tx_block_pool_prioritize()
210 } while (thread_ptr != head_ptr); in _tx_block_pool_prioritize()
[all …]
Dtx_byte_pool_prioritize.c82 TX_THREAD *head_ptr; in _tx_byte_pool_prioritize() local
114 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
115 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_byte_pool_prioritize()
118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_byte_pool_prioritize()
132 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
135 priority_thread_ptr = head_ptr; in _tx_byte_pool_prioritize()
168 if (head_ptr != pool_ptr -> tx_byte_pool_suspension_list) in _tx_byte_pool_prioritize()
197 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
201 priority_thread_ptr = head_ptr; in _tx_byte_pool_prioritize()
210 } while (thread_ptr != head_ptr); in _tx_byte_pool_prioritize()
[all …]
Dtx_queue_prioritize.c82 TX_THREAD *head_ptr; in _tx_queue_prioritize() local
114 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
115 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_queue_prioritize()
118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_queue_prioritize()
132 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
135 priority_thread_ptr = head_ptr; in _tx_queue_prioritize()
168 if (head_ptr != queue_ptr -> tx_queue_suspension_list) in _tx_queue_prioritize()
197 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
201 priority_thread_ptr = head_ptr; in _tx_queue_prioritize()
210 } while (thread_ptr != head_ptr); in _tx_queue_prioritize()
[all …]
Dtx_semaphore_prioritize.c82 TX_THREAD *head_ptr; in _tx_semaphore_prioritize() local
114 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
115 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_semaphore_prioritize()
118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_semaphore_prioritize()
132 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
135 priority_thread_ptr = head_ptr; in _tx_semaphore_prioritize()
168 if (head_ptr != semaphore_ptr -> tx_semaphore_suspension_list) in _tx_semaphore_prioritize()
199 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
203 priority_thread_ptr = head_ptr; in _tx_semaphore_prioritize()
212 } while (thread_ptr != head_ptr); in _tx_semaphore_prioritize()
[all …]
Dtx_mutex_prioritize.c82 TX_THREAD *head_ptr; in _tx_mutex_prioritize() local
117 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
118 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_mutex_prioritize()
121 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_mutex_prioritize()
135 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
138 priority_thread_ptr = head_ptr; in _tx_mutex_prioritize()
171 if (head_ptr != mutex_ptr -> tx_mutex_suspension_list) in _tx_mutex_prioritize()
200 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
204 priority_thread_ptr = head_ptr; in _tx_mutex_prioritize()
213 } while (thread_ptr != head_ptr); in _tx_mutex_prioritize()
[all …]
Dtx_thread_system_resume.c89 TX_THREAD *head_ptr; in _tx_thread_system_resume() local
197 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_system_resume()
198 if (head_ptr == TX_NULL) in _tx_thread_system_resume()
391 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_system_resume()
393 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_system_resume()
395 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_system_resume()
628 TX_THREAD *head_ptr;
720 head_ptr = _tx_thread_priority_list[priority];
721 if (head_ptr == TX_NULL)
908 tail_ptr = head_ptr -> tx_thread_ready_previous;
[all …]
Dtx_thread_resume.c87 TX_THREAD *head_ptr; in _tx_thread_resume() local
256 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_resume()
257 if (head_ptr == TX_NULL) in _tx_thread_resume()
458 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_resume()
460 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_resume()
462 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_resume()
/ThreadX-v6.3.0/common_smp/src/
Dtx_block_pool_prioritize.c82 TX_THREAD *head_ptr; in _tx_block_pool_prioritize() local
114 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
115 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_block_pool_prioritize()
118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_block_pool_prioritize()
132 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
135 priority_thread_ptr = head_ptr; in _tx_block_pool_prioritize()
168 if (head_ptr != pool_ptr -> tx_block_pool_suspension_list) in _tx_block_pool_prioritize()
197 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
201 priority_thread_ptr = head_ptr; in _tx_block_pool_prioritize()
210 } while (thread_ptr != head_ptr); in _tx_block_pool_prioritize()
[all …]
Dtx_byte_pool_prioritize.c82 TX_THREAD *head_ptr; in _tx_byte_pool_prioritize() local
114 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
115 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_byte_pool_prioritize()
118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_byte_pool_prioritize()
132 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
135 priority_thread_ptr = head_ptr; in _tx_byte_pool_prioritize()
168 if (head_ptr != pool_ptr -> tx_byte_pool_suspension_list) in _tx_byte_pool_prioritize()
197 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
201 priority_thread_ptr = head_ptr; in _tx_byte_pool_prioritize()
210 } while (thread_ptr != head_ptr); in _tx_byte_pool_prioritize()
[all …]
Dtx_queue_prioritize.c82 TX_THREAD *head_ptr; in _tx_queue_prioritize() local
114 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
115 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_queue_prioritize()
118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_queue_prioritize()
132 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
135 priority_thread_ptr = head_ptr; in _tx_queue_prioritize()
168 if (head_ptr != queue_ptr -> tx_queue_suspension_list) in _tx_queue_prioritize()
197 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
201 priority_thread_ptr = head_ptr; in _tx_queue_prioritize()
210 } while (thread_ptr != head_ptr); in _tx_queue_prioritize()
[all …]
Dtx_semaphore_prioritize.c82 TX_THREAD *head_ptr; in _tx_semaphore_prioritize() local
114 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
115 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_semaphore_prioritize()
118 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_semaphore_prioritize()
132 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
135 priority_thread_ptr = head_ptr; in _tx_semaphore_prioritize()
168 if (head_ptr != semaphore_ptr -> tx_semaphore_suspension_list) in _tx_semaphore_prioritize()
199 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
203 priority_thread_ptr = head_ptr; in _tx_semaphore_prioritize()
212 } while (thread_ptr != head_ptr); in _tx_semaphore_prioritize()
[all …]
Dtx_mutex_prioritize.c82 TX_THREAD *head_ptr; in _tx_mutex_prioritize() local
117 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
118 next_thread = head_ptr -> tx_thread_suspended_next; in _tx_mutex_prioritize()
121 if ((next_thread -> tx_thread_priority) < (head_ptr -> tx_thread_priority)) in _tx_mutex_prioritize()
135 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
138 priority_thread_ptr = head_ptr; in _tx_mutex_prioritize()
171 if (head_ptr != mutex_ptr -> tx_mutex_suspension_list) in _tx_mutex_prioritize()
200 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
204 priority_thread_ptr = head_ptr; in _tx_mutex_prioritize()
213 } while (thread_ptr != head_ptr); in _tx_mutex_prioritize()
[all …]
Dtx_thread_time_slice.c83 TX_THREAD *head_ptr; in _tx_thread_time_slice() local
191 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_time_slice()
194 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_time_slice()
203 if (head_ptr == thread_ptr) in _tx_thread_time_slice()
223 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_time_slice()
225 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_time_slice()
Dtx_thread_relinquish.c83 TX_THREAD *head_ptr; in _tx_thread_relinquish() local
152 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_relinquish()
155 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_relinquish()
164 if (head_ptr == thread_ptr) in _tx_thread_relinquish()
184 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_relinquish()
186 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_relinquish()
Dtx_thread_system_resume.c112 TX_THREAD *head_ptr; in _tx_thread_system_resume() local
360 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_system_resume()
361 if (head_ptr != TX_NULL) in _tx_thread_system_resume()
367 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_system_resume()
369 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_system_resume()
371 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_system_resume()
682 head_ptr = preempt_thread; in _tx_thread_system_resume()
712 if (next_thread == head_ptr) in _tx_thread_system_resume()
Dtx_thread_smp_utilities.c1002 TX_THREAD *head_ptr; in _tx_thread_smp_simple_priority_change() local
1081 head_ptr = _tx_thread_priority_list[new_priority]; in _tx_thread_smp_simple_priority_change()
1082 if (head_ptr != TX_NULL) in _tx_thread_smp_simple_priority_change()
1088 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_smp_simple_priority_change()
1090 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_smp_simple_priority_change()
1092 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_smp_simple_priority_change()
/ThreadX-v6.3.0/common_smp/inc/
Dtx_thread.h1527 TX_THREAD *head_ptr; in _tx_thread_smp_simple_priority_change() local
1606 head_ptr = _tx_thread_priority_list[new_priority]; in _tx_thread_smp_simple_priority_change()
1607 if (head_ptr != TX_NULL) in _tx_thread_smp_simple_priority_change()
1613 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_smp_simple_priority_change()
1615 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_smp_simple_priority_change()
1617 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_smp_simple_priority_change()