Lines Matching refs:semaphore_ptr
84 TX_SEMAPHORE *semaphore_ptr; in _tx_semaphore_cleanup() local
105 …semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
108 if (semaphore_ptr != TX_NULL) in _tx_semaphore_cleanup()
112 if (semaphore_ptr -> tx_semaphore_id == TX_SEMAPHORE_ID) in _tx_semaphore_cleanup()
116 if (semaphore_ptr -> tx_semaphore_suspended_count != TX_NO_SUSPENSIONS) in _tx_semaphore_cleanup()
121 …semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
130 semaphore_ptr -> tx_semaphore_suspended_count--; in _tx_semaphore_cleanup()
133 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_cleanup()
144 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_cleanup()
158 if (semaphore_ptr -> tx_semaphore_suspension_list == thread_ptr) in _tx_semaphore_cleanup()
162 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_cleanup()
180 semaphore_ptr -> tx_semaphore_performance_timeout_count++; in _tx_semaphore_cleanup()