Lines Matching refs:thread_ptr
87 TX_THREAD *thread_ptr; in _tx_queue_receive() local
167 thread_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_receive()
172 if (thread_ptr -> tx_thread_suspend_option == TX_TRUE) in _tx_queue_receive()
180 … source = TX_VOID_TO_ULONG_POINTER_CONVERT(thread_ptr -> tx_thread_additional_suspend_info); in _tx_queue_receive()
205 next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_queue_receive()
209 … previous_thread = thread_ptr -> tx_thread_suspended_previous; in _tx_queue_receive()
220 thread_ptr -> tx_thread_suspend_cleanup = TX_NULL; in _tx_queue_receive()
223 thread_ptr -> tx_thread_suspend_status = TX_SUCCESS; in _tx_queue_receive()
228 _tx_thread_system_ni_resume(thread_ptr); in _tx_queue_receive()
241 _tx_thread_system_resume(thread_ptr); in _tx_queue_receive()
290 … source = TX_VOID_TO_ULONG_POINTER_CONVERT(thread_ptr -> tx_thread_additional_suspend_info); in _tx_queue_receive()
310 thread_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_receive()
329 next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_queue_receive()
333 … previous_thread = thread_ptr -> tx_thread_suspended_previous; in _tx_queue_receive()
344 thread_ptr -> tx_thread_suspend_cleanup = TX_NULL; in _tx_queue_receive()
347 thread_ptr -> tx_thread_suspend_status = TX_SUCCESS; in _tx_queue_receive()
352 _tx_thread_system_ni_resume(thread_ptr); in _tx_queue_receive()
365 _tx_thread_system_resume(thread_ptr); in _tx_queue_receive()
400 TX_THREAD_GET_CURRENT(thread_ptr) in _tx_queue_receive()
403 thread_ptr -> tx_thread_suspend_cleanup = &(_tx_queue_cleanup); in _tx_queue_receive()
407 thread_ptr -> tx_thread_suspend_control_block = (VOID *) queue_ptr; in _tx_queue_receive()
408 thread_ptr -> tx_thread_additional_suspend_info = (VOID *) destination_ptr; in _tx_queue_receive()
409 thread_ptr -> tx_thread_suspend_option = TX_FALSE; in _tx_queue_receive()
415 thread_ptr -> tx_thread_suspension_sequence++; in _tx_queue_receive()
424 queue_ptr -> tx_queue_suspension_list = thread_ptr; in _tx_queue_receive()
425 thread_ptr -> tx_thread_suspended_next = thread_ptr; in _tx_queue_receive()
426 thread_ptr -> tx_thread_suspended_previous = thread_ptr; in _tx_queue_receive()
433 thread_ptr -> tx_thread_suspended_next = next_thread; in _tx_queue_receive()
435 thread_ptr -> tx_thread_suspended_previous = previous_thread; in _tx_queue_receive()
436 previous_thread -> tx_thread_suspended_next = thread_ptr; in _tx_queue_receive()
437 next_thread -> tx_thread_suspended_previous = thread_ptr; in _tx_queue_receive()
444 thread_ptr -> tx_thread_state = TX_QUEUE_SUSP; in _tx_queue_receive()
449 _tx_thread_system_ni_suspend(thread_ptr, wait_option); in _tx_queue_receive()
456 thread_ptr -> tx_thread_suspending = TX_TRUE; in _tx_queue_receive()
459 thread_ptr -> tx_thread_timer.tx_timer_internal_remaining_ticks = wait_option; in _tx_queue_receive()
468 _tx_thread_system_suspend(thread_ptr); in _tx_queue_receive()
472 status = thread_ptr -> tx_thread_suspend_status; in _tx_queue_receive()