Lines Matching refs:semaphore_ptr
85 TX_SEMAPHORE *semaphore_ptr; in _tx_semaphore_cleanup() local
106 …semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
109 if (semaphore_ptr != TX_NULL) in _tx_semaphore_cleanup()
113 if (semaphore_ptr -> tx_semaphore_id == TX_SEMAPHORE_ID) in _tx_semaphore_cleanup()
117 if (semaphore_ptr -> tx_semaphore_suspended_count != TX_NO_SUSPENSIONS) in _tx_semaphore_cleanup()
122 …semaphore_ptr = TX_VOID_TO_SEMAPHORE_POINTER_CONVERT(thread_ptr -> tx_thread_suspend_control_bloc… in _tx_semaphore_cleanup()
131 semaphore_ptr -> tx_semaphore_suspended_count--; in _tx_semaphore_cleanup()
134 suspended_count = semaphore_ptr -> tx_semaphore_suspended_count; in _tx_semaphore_cleanup()
145 semaphore_ptr -> tx_semaphore_suspension_list = TX_NULL; in _tx_semaphore_cleanup()
159 if (semaphore_ptr -> tx_semaphore_suspension_list == thread_ptr) in _tx_semaphore_cleanup()
163 semaphore_ptr -> tx_semaphore_suspension_list = next_thread; in _tx_semaphore_cleanup()
181 semaphore_ptr -> tx_semaphore_performance_timeout_count++; in _tx_semaphore_cleanup()