Lines Matching refs:cg_nthreads
863 int cg_nthreads = this_thr->th.th_cg_roots->cg_nthreads; in __kmp_reserve_threads() local
865 if (cg_nthreads + new_nthreads - in __kmp_reserve_threads()
868 int tl_nthreads = max_cg_threads - cg_nthreads + in __kmp_reserve_threads()
4024 tmp->cg_nthreads = 1; in __kmp_register_root()
4165 i = root->r.r_uber_thread->th.th_cg_roots->cg_nthreads--; in __kmp_reset_root()
4169 root->r.r_uber_thread->th.th_cg_roots->cg_nthreads)); in __kmp_reset_root()
4349 int i = tmp->cg_nthreads--; in __kmp_initialize_info()
4352 this_thr, tmp, tmp->cg_root, tmp->cg_nthreads)); in __kmp_initialize_info()
4359 this_thr->th.th_cg_roots->cg_nthreads++; in __kmp_initialize_info()
4364 this_thr->th.th_cg_roots->cg_nthreads)); in __kmp_initialize_info()
5823 thr, tmp, thr->th.th_cg_roots, tmp->cg_nthreads)); in __kmp_free_team()
5824 int i = tmp->cg_nthreads--; in __kmp_free_team()
5914 this_th->th.th_cg_roots->cg_nthreads--; in __kmp_free_thread()
5919 this_th->th.th_cg_roots->cg_nthreads)); in __kmp_free_thread()
5922 KMP_DEBUG_ASSERT(tmp->cg_nthreads == 0); in __kmp_free_thread()
5928 if (tmp->cg_nthreads == 0) { // last thread leaves contention group in __kmp_free_thread()
7791 tmp->cg_nthreads = 1; // Init counter to one active thread, this one in __kmp_teams_master()