Lines Matching refs:__kmp_threads

153   other_threads = __kmp_threads;  in __kmp_get_global_thread_id()
321 kmp_info_t *f_th = (kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[f]); in __kmp_check_stack_overlap()
639 if (__kmp_threads[gtid]->th.th_root->r.r_active) in __kmp_parallel_deo()
665 if (__kmp_threads[gtid]->th.th_root->r.r_active) in __kmp_parallel_dxo()
693 th = __kmp_threads[gtid]; in __kmp_enter_single()
882 if (TCR_PTR(__kmp_threads[0]) == NULL) { in __kmp_reserve_threads()
1141 this_thr = __kmp_threads[global_tid]; in __kmp_serialized_parallel()
1919 master_th = __kmp_threads[gtid]; in __kmp_fork_call()
2320 KMP_DEBUG_ASSERT(team == __kmp_threads[gtid]->th.th_team); in __kmp_fork_call()
2435 master_th = __kmp_threads[gtid]; in __kmp_join_call()
2800 thread = __kmp_threads[gtid]; in __kmp_set_num_threads()
2900 thread = __kmp_threads[gtid]; in __kmp_set_max_active_levels()
2914 thread = __kmp_threads[gtid]; in __kmp_get_max_active_levels()
2966 thread = __kmp_threads[gtid]; in __kmp_set_schedule()
3004 thread = __kmp_threads[gtid]; in __kmp_get_schedule()
3059 thr = __kmp_threads[gtid]; in __kmp_get_ancestor_thread_num()
3117 thr = __kmp_threads[gtid]; in __kmp_get_team_size()
3522 if (__kmp_threads != NULL) { in __kmp_print_structure()
3523 __kmp_printf(" %p", __kmp_threads[gtid]); in __kmp_print_structure()
3535 if (__kmp_threads != NULL) { in __kmp_print_structure()
3538 kmp_info_t const *thread = __kmp_threads[gtid]; in __kmp_print_structure()
3675 !__kmp_still_running((kmp_info_t *)TCR_SYNC_PTR(__kmp_threads[i])) && in __kmp_reclaim_dead_roots()
3764 KMP_MEMCPY(newThreads, __kmp_threads, in __kmp_expand_threads()
3772 node->threads = __kmp_threads; in __kmp_expand_threads()
3776 *(kmp_info_t * *volatile *)&__kmp_threads = newThreads; in __kmp_expand_threads()
3821 if (!initial_thread && TCR_PTR(__kmp_threads[0]) == NULL) { in __kmp_register_root()
3852 for (gtid = 1; TCR_PTR(__kmp_threads[gtid]) != NULL && in __kmp_register_root()
3864 if (initial_thread && TCR_PTR(__kmp_threads[0]) == NULL) { in __kmp_register_root()
3868 TCR_PTR(__kmp_threads[gtid]) != NULL; gtid++) in __kmp_register_root()
3962 TCW_SYNC_PTR(__kmp_threads[gtid], root_thread); in __kmp_register_root()
4198 KMP_DEBUG_ASSERT(__kmp_threads && __kmp_threads[gtid]); in __kmp_unregister_root_current_thread()
4200 KMP_ASSERT(root == __kmp_threads[gtid]->th.th_root); in __kmp_unregister_root_current_thread()
4205 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_unregister_root_current_thread()
4237 KMP_DEBUG_ASSERT(__kmp_threads && __kmp_threads[gtid]); in __kmp_unregister_root_other_thread()
4239 KMP_ASSERT(root == __kmp_threads[gtid]->th.th_root); in __kmp_unregister_root_other_thread()
4254 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_task_info()
4546 for (new_gtid = new_start_gtid; TCR_PTR(__kmp_threads[new_gtid]) != NULL; in __kmp_allocate_thread()
4559 TCW_SYNC_PTR(__kmp_threads[new_gtid], new_thr); in __kmp_allocate_thread()
6031 KMP_DEBUG_ASSERT(this_thr == __kmp_threads[gtid]); in __kmp_launch_thread()
6224 KMP_DEBUG_ASSERT(__kmp_threads[gtid] == thread); in __kmp_reap_thread()
6225 TCW_SYNC_PTR(__kmp_threads[gtid], NULL); in __kmp_reap_thread()
6401 kmp_info_t *thr = __kmp_threads[i]; in __kmp_internal_end()
6498 __kmp_itthash_clean(__kmp_threads[gtid]); in __kmp_internal_end_library()
6631 __kmp_threads[gtid]->th.th_task_team = NULL; in __kmp_internal_end_thread()
7302 __kmp_threads = (kmp_info_t **)__kmp_allocate(size); in __kmp_do_serial_initialize()
7303 __kmp_root = (kmp_root_t **)((char *)__kmp_threads + in __kmp_do_serial_initialize()
7471 kmp_info_t *thread = __kmp_threads[i]; in __kmp_do_middle_initialize()
7477 set__nproc(__kmp_threads[i], __kmp_dflt_team_nth); in __kmp_do_middle_initialize()
7668 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_invoke_task_func()
7762 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_teams_master()
7809 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_invoke_teams_master()
7812 if (!__kmp_threads[gtid]->th.th_team->t.t_serialized) in __kmp_invoke_teams_master()
7813 KMP_DEBUG_ASSERT((void *)__kmp_threads[gtid]->th.th_team->t.t_pkfn == in __kmp_invoke_teams_master()
7843 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_push_num_threads()
7916 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_push_num_teams()
7951 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_push_num_teams_51()
8006 kmp_info_t *thr = __kmp_threads[gtid]; in __kmp_push_proc_bind()
8013 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_internal_fork()
8056 kmp_info_t *this_thr = __kmp_threads[gtid]; in __kmp_internal_join()
8066 if (__kmp_threads[gtid] && in __kmp_internal_join()
8067 __kmp_threads[gtid]->th.th_team_nproc != team->t.t_nproc) { in __kmp_internal_join()
8069 __kmp_threads[gtid]); in __kmp_internal_join()
8072 gtid, __kmp_threads[gtid]->th.th_team_nproc, team, in __kmp_internal_join()
8076 KMP_DEBUG_ASSERT(__kmp_threads[gtid] && in __kmp_internal_join()
8077 __kmp_threads[gtid]->th.th_team_nproc == team->t.t_nproc); in __kmp_internal_join()
8262 __kmp_free(__kmp_threads); in __kmp_cleanup()
8265 __kmp_threads = NULL; in __kmp_cleanup()
8358 root = __kmp_threads[gtid]->th.th_root; in __kmp_internal_begin()
8384 thread = __kmp_threads[gtid]; in __kmp_user_set_library()
8763 th = __kmp_threads[gtid]; in __kmp_aux_capture_affinity()
9039 kmp_info_t *thread = __kmp_threads[gtid]; in __kmp_resume_if_soft_paused()
9235 __kmp_hidden_helper_main_thread = __kmp_threads[gtid]; in __kmp_hidden_helper_threads_initz_routine()
9236 __kmp_hidden_helper_threads = &__kmp_threads[gtid]; in __kmp_hidden_helper_threads_initz_routine()
9282 kmp_info_t *thread = __kmp_threads[__kmp_entry_gtid()]; in __kmp_set_nesting_mode_threads()