Lines Matching refs:thread_ptr

86 TX_THREAD       *thread_ptr;  in _tx_queue_receive()  local
166 thread_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_receive()
171 if (thread_ptr -> tx_thread_suspend_option == TX_TRUE) in _tx_queue_receive()
179 … source = TX_VOID_TO_ULONG_POINTER_CONVERT(thread_ptr -> tx_thread_additional_suspend_info); in _tx_queue_receive()
204 next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_queue_receive()
208 … previous_thread = thread_ptr -> tx_thread_suspended_previous; in _tx_queue_receive()
219 thread_ptr -> tx_thread_suspend_cleanup = TX_NULL; in _tx_queue_receive()
222 thread_ptr -> tx_thread_suspend_status = TX_SUCCESS; in _tx_queue_receive()
227 _tx_thread_system_ni_resume(thread_ptr); in _tx_queue_receive()
240 _tx_thread_system_resume(thread_ptr); in _tx_queue_receive()
289 … source = TX_VOID_TO_ULONG_POINTER_CONVERT(thread_ptr -> tx_thread_additional_suspend_info); in _tx_queue_receive()
309 thread_ptr = queue_ptr -> tx_queue_suspension_list; in _tx_queue_receive()
328 next_thread = thread_ptr -> tx_thread_suspended_next; in _tx_queue_receive()
332 … previous_thread = thread_ptr -> tx_thread_suspended_previous; in _tx_queue_receive()
343 thread_ptr -> tx_thread_suspend_cleanup = TX_NULL; in _tx_queue_receive()
346 thread_ptr -> tx_thread_suspend_status = TX_SUCCESS; in _tx_queue_receive()
351 _tx_thread_system_ni_resume(thread_ptr); in _tx_queue_receive()
364 _tx_thread_system_resume(thread_ptr); in _tx_queue_receive()
399 TX_THREAD_GET_CURRENT(thread_ptr) in _tx_queue_receive()
402 thread_ptr -> tx_thread_suspend_cleanup = &(_tx_queue_cleanup); in _tx_queue_receive()
406 thread_ptr -> tx_thread_suspend_control_block = (VOID *) queue_ptr; in _tx_queue_receive()
407 thread_ptr -> tx_thread_additional_suspend_info = (VOID *) destination_ptr; in _tx_queue_receive()
408 thread_ptr -> tx_thread_suspend_option = TX_FALSE; in _tx_queue_receive()
414 thread_ptr -> tx_thread_suspension_sequence++; in _tx_queue_receive()
423 queue_ptr -> tx_queue_suspension_list = thread_ptr; in _tx_queue_receive()
424 thread_ptr -> tx_thread_suspended_next = thread_ptr; in _tx_queue_receive()
425 thread_ptr -> tx_thread_suspended_previous = thread_ptr; in _tx_queue_receive()
432 thread_ptr -> tx_thread_suspended_next = next_thread; in _tx_queue_receive()
434 thread_ptr -> tx_thread_suspended_previous = previous_thread; in _tx_queue_receive()
435 previous_thread -> tx_thread_suspended_next = thread_ptr; in _tx_queue_receive()
436 next_thread -> tx_thread_suspended_previous = thread_ptr; in _tx_queue_receive()
443 thread_ptr -> tx_thread_state = TX_QUEUE_SUSP; in _tx_queue_receive()
448 _tx_thread_system_ni_suspend(thread_ptr, wait_option); in _tx_queue_receive()
455 thread_ptr -> tx_thread_suspending = TX_TRUE; in _tx_queue_receive()
458 thread_ptr -> tx_thread_timer.tx_timer_internal_remaining_ticks = wait_option; in _tx_queue_receive()
467 _tx_thread_system_suspend(thread_ptr); in _tx_queue_receive()
471 status = thread_ptr -> tx_thread_suspend_status; in _tx_queue_receive()