Lines Matching refs:thread_handle

180     ompd_thread_handle_t **thread_handle /* OUT: handle */  in ompd_get_thread_in_parallel()  argument
217 (void **)(thread_handle)); in ompd_get_thread_in_parallel()
221 (*thread_handle)->th = taddr; in ompd_get_thread_in_parallel()
222 (*thread_handle)->ah = parallel_handle->ah; in ompd_get_thread_in_parallel()
228 *thread_handle /* IN: OpenMP thread handle to be released */ in ompd_rel_thread_handle() argument
230 if (!thread_handle) in ompd_rel_thread_handle()
232 ompd_rc_t ret = callbacks->free_memory((void *)(thread_handle)); in ompd_rel_thread_handle()
259 ompd_thread_handle_t *thread_handle, /* IN: OpenMP thread handle*/ in ompd_get_curr_parallel_handle() argument
262 if (!thread_handle) in ompd_get_curr_parallel_handle()
264 if (!thread_handle->ah) in ompd_get_curr_parallel_handle()
266 ompd_address_space_context_t *context = thread_handle->ah->context; in ompd_get_curr_parallel_handle()
267 ompd_thread_context_t *thread_context = thread_handle->thread_context; in ompd_get_curr_parallel_handle()
280 TValue teamdata = TValue(context, thread_handle->th) /*__kmp_threads[t]->th*/ in ompd_get_curr_parallel_handle()
303 (*parallel_handle)->ah = thread_handle->ah; in ompd_get_curr_parallel_handle()
457 ompd_thread_handle_t *thread_handle, /* IN: OpenMP thread handle*/ in ompd_get_curr_task_handle() argument
460 if (!thread_handle) in ompd_get_curr_task_handle()
462 if (!thread_handle->ah) in ompd_get_curr_task_handle()
464 ompd_address_space_context_t *context = thread_handle->ah->context; in ompd_get_curr_task_handle()
479 TValue(context, thread_handle->th) /*__kmp_threads[t]->th*/ in ompd_get_curr_task_handle()
507 (*task_handle)->ah = thread_handle->ah; in ompd_get_curr_task_handle()
698 ompd_thread_handle_t **thread_handle) { in ompd_get_thread_handle() argument
737 (void **)(thread_handle)); in ompd_get_thread_handle()
740 (*thread_handle)->ah = handle; in ompd_get_thread_handle()
741 (*thread_handle)->th = taddr; in ompd_get_thread_handle()
762 (*thread_handle)->thread_context = tcontext; in ompd_get_thread_handle()
767 ompd_thread_handle_t *thread_handle, /* IN: OpenMP thread handle*/ in ompd_get_thread_id() argument
773 if (!thread_handle) in ompd_get_thread_id()
775 if (!thread_handle->ah) in ompd_get_thread_id()
777 ompd_address_space_context_t *context = thread_handle->ah->context; in ompd_get_thread_id()
793 ret = TValue(context, thread_handle->th) /*__kmp_threads[t]->th*/ in ompd_get_thread_id()
809 ompd_thread_handle_t *thread_handle, /* IN: OpenMP thread handle*/ in ompd_get_state() argument
813 if (!thread_handle) in ompd_get_state()
815 if (!thread_handle->ah) in ompd_get_state()
819 ompd_address_space_context_t *context = thread_handle->ah->context; in ompd_get_state()
831 TValue(context, thread_handle->th) /*__kmp_threads[t]->th*/ in ompd_get_state()