Home
last modified time | relevance | path

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

/ThreadX-v6.4.1/common/src/
Dtx_block_pool_prioritize.c81 TX_THREAD *head_ptr; in _tx_block_pool_prioritize() local
113 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
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()
131 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
134 priority_thread_ptr = head_ptr; in _tx_block_pool_prioritize()
167 if (head_ptr != pool_ptr -> tx_block_pool_suspension_list) in _tx_block_pool_prioritize()
196 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
200 priority_thread_ptr = head_ptr; in _tx_block_pool_prioritize()
209 } while (thread_ptr != head_ptr); in _tx_block_pool_prioritize()
[all …]
Dtx_byte_pool_prioritize.c81 TX_THREAD *head_ptr; in _tx_byte_pool_prioritize() local
113 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
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()
131 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
134 priority_thread_ptr = head_ptr; in _tx_byte_pool_prioritize()
167 if (head_ptr != pool_ptr -> tx_byte_pool_suspension_list) in _tx_byte_pool_prioritize()
196 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
200 priority_thread_ptr = head_ptr; in _tx_byte_pool_prioritize()
209 } while (thread_ptr != head_ptr); in _tx_byte_pool_prioritize()
[all …]
Dtx_queue_prioritize.c81 TX_THREAD *head_ptr; in _tx_queue_prioritize() local
113 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
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()
131 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
134 priority_thread_ptr = head_ptr; in _tx_queue_prioritize()
167 if (head_ptr != queue_ptr -> tx_queue_suspension_list) in _tx_queue_prioritize()
196 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
200 priority_thread_ptr = head_ptr; in _tx_queue_prioritize()
209 } while (thread_ptr != head_ptr); in _tx_queue_prioritize()
[all …]
Dtx_semaphore_prioritize.c81 TX_THREAD *head_ptr; in _tx_semaphore_prioritize() local
113 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
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()
131 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
134 priority_thread_ptr = head_ptr; in _tx_semaphore_prioritize()
167 if (head_ptr != semaphore_ptr -> tx_semaphore_suspension_list) in _tx_semaphore_prioritize()
198 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
202 priority_thread_ptr = head_ptr; in _tx_semaphore_prioritize()
211 } while (thread_ptr != head_ptr); in _tx_semaphore_prioritize()
[all …]
Dtx_mutex_prioritize.c81 TX_THREAD *head_ptr; in _tx_mutex_prioritize() local
116 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
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()
134 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
137 priority_thread_ptr = head_ptr; in _tx_mutex_prioritize()
170 if (head_ptr != mutex_ptr -> tx_mutex_suspension_list) in _tx_mutex_prioritize()
199 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
203 priority_thread_ptr = head_ptr; in _tx_mutex_prioritize()
212 } while (thread_ptr != head_ptr); in _tx_mutex_prioritize()
[all …]
Dtx_thread_system_resume.c88 TX_THREAD *head_ptr; in _tx_thread_system_resume() local
196 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_system_resume()
197 if (head_ptr == TX_NULL) in _tx_thread_system_resume()
390 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_system_resume()
392 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_system_resume()
394 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_system_resume()
627 TX_THREAD *head_ptr;
719 head_ptr = _tx_thread_priority_list[priority];
720 if (head_ptr == TX_NULL)
907 tail_ptr = head_ptr -> tx_thread_ready_previous;
[all …]
Dtx_thread_resume.c86 TX_THREAD *head_ptr; in _tx_thread_resume() local
255 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_resume()
256 if (head_ptr == TX_NULL) in _tx_thread_resume()
457 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_resume()
459 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_resume()
461 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_resume()
/ThreadX-v6.4.1/common_smp/src/
Dtx_block_pool_prioritize.c81 TX_THREAD *head_ptr; in _tx_block_pool_prioritize() local
113 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
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()
131 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
134 priority_thread_ptr = head_ptr; in _tx_block_pool_prioritize()
167 if (head_ptr != pool_ptr -> tx_block_pool_suspension_list) in _tx_block_pool_prioritize()
196 head_ptr = pool_ptr -> tx_block_pool_suspension_list; in _tx_block_pool_prioritize()
200 priority_thread_ptr = head_ptr; in _tx_block_pool_prioritize()
209 } while (thread_ptr != head_ptr); in _tx_block_pool_prioritize()
[all …]
Dtx_byte_pool_prioritize.c81 TX_THREAD *head_ptr; in _tx_byte_pool_prioritize() local
113 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
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()
131 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
134 priority_thread_ptr = head_ptr; in _tx_byte_pool_prioritize()
167 if (head_ptr != pool_ptr -> tx_byte_pool_suspension_list) in _tx_byte_pool_prioritize()
196 head_ptr = pool_ptr -> tx_byte_pool_suspension_list; in _tx_byte_pool_prioritize()
200 priority_thread_ptr = head_ptr; in _tx_byte_pool_prioritize()
209 } while (thread_ptr != head_ptr); in _tx_byte_pool_prioritize()
[all …]
Dtx_queue_prioritize.c81 TX_THREAD *head_ptr; in _tx_queue_prioritize() local
113 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
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()
131 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
134 priority_thread_ptr = head_ptr; in _tx_queue_prioritize()
167 if (head_ptr != queue_ptr -> tx_queue_suspension_list) in _tx_queue_prioritize()
196 head_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_prioritize()
200 priority_thread_ptr = head_ptr; in _tx_queue_prioritize()
209 } while (thread_ptr != head_ptr); in _tx_queue_prioritize()
[all …]
Dtx_semaphore_prioritize.c81 TX_THREAD *head_ptr; in _tx_semaphore_prioritize() local
113 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
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()
131 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
134 priority_thread_ptr = head_ptr; in _tx_semaphore_prioritize()
167 if (head_ptr != semaphore_ptr -> tx_semaphore_suspension_list) in _tx_semaphore_prioritize()
198 head_ptr = semaphore_ptr -> tx_semaphore_suspension_list; in _tx_semaphore_prioritize()
202 priority_thread_ptr = head_ptr; in _tx_semaphore_prioritize()
211 } while (thread_ptr != head_ptr); in _tx_semaphore_prioritize()
[all …]
Dtx_mutex_prioritize.c81 TX_THREAD *head_ptr; in _tx_mutex_prioritize() local
116 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
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()
134 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
137 priority_thread_ptr = head_ptr; in _tx_mutex_prioritize()
170 if (head_ptr != mutex_ptr -> tx_mutex_suspension_list) in _tx_mutex_prioritize()
199 head_ptr = mutex_ptr -> tx_mutex_suspension_list; in _tx_mutex_prioritize()
203 priority_thread_ptr = head_ptr; in _tx_mutex_prioritize()
212 } while (thread_ptr != head_ptr); in _tx_mutex_prioritize()
[all …]
Dtx_thread_time_slice.c82 TX_THREAD *head_ptr; in _tx_thread_time_slice() local
190 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_time_slice()
193 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_time_slice()
202 if (head_ptr == thread_ptr) in _tx_thread_time_slice()
222 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_time_slice()
224 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_time_slice()
Dtx_thread_relinquish.c82 TX_THREAD *head_ptr; in _tx_thread_relinquish() local
151 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_relinquish()
154 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_relinquish()
163 if (head_ptr == thread_ptr) in _tx_thread_relinquish()
183 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_relinquish()
185 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_relinquish()
Dtx_thread_system_resume.c111 TX_THREAD *head_ptr; in _tx_thread_system_resume() local
359 head_ptr = _tx_thread_priority_list[priority]; in _tx_thread_system_resume()
360 if (head_ptr != TX_NULL) in _tx_thread_system_resume()
366 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_system_resume()
368 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_system_resume()
370 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_system_resume()
681 head_ptr = preempt_thread; in _tx_thread_system_resume()
711 if (next_thread == head_ptr) in _tx_thread_system_resume()
Dtx_thread_smp_utilities.c1001 TX_THREAD *head_ptr; in _tx_thread_smp_simple_priority_change() local
1080 head_ptr = _tx_thread_priority_list[new_priority]; in _tx_thread_smp_simple_priority_change()
1081 if (head_ptr != TX_NULL) in _tx_thread_smp_simple_priority_change()
1087 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_smp_simple_priority_change()
1089 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_smp_simple_priority_change()
1091 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_smp_simple_priority_change()
/ThreadX-v6.4.1/common_smp/inc/
Dtx_thread.h1526 TX_THREAD *head_ptr; in _tx_thread_smp_simple_priority_change() local
1605 head_ptr = _tx_thread_priority_list[new_priority]; in _tx_thread_smp_simple_priority_change()
1606 if (head_ptr != TX_NULL) in _tx_thread_smp_simple_priority_change()
1612 tail_ptr = head_ptr -> tx_thread_ready_previous; in _tx_thread_smp_simple_priority_change()
1614 head_ptr -> tx_thread_ready_previous = thread_ptr; in _tx_thread_smp_simple_priority_change()
1616 thread_ptr -> tx_thread_ready_next = head_ptr; in _tx_thread_smp_simple_priority_change()