Lines Matching refs:cg_nthreads
821 int cg_nthreads = this_thr->th.th_cg_roots->cg_nthreads; in __kmp_reserve_threads() local
823 if (cg_nthreads + new_nthreads - in __kmp_reserve_threads()
826 int tl_nthreads = max_cg_threads - cg_nthreads + in __kmp_reserve_threads()
3829 tmp->cg_nthreads = 1; in __kmp_register_root()
3970 i = root->r.r_uber_thread->th.th_cg_roots->cg_nthreads--; in __kmp_reset_root()
3974 root->r.r_uber_thread->th.th_cg_roots->cg_nthreads)); in __kmp_reset_root()
4153 int i = tmp->cg_nthreads--; in __kmp_initialize_info()
4156 this_thr, tmp, tmp->cg_root, tmp->cg_nthreads)); in __kmp_initialize_info()
4163 this_thr->th.th_cg_roots->cg_nthreads++; in __kmp_initialize_info()
4168 this_thr->th.th_cg_roots->cg_nthreads)); in __kmp_initialize_info()
5579 thr, tmp, thr->th.th_cg_roots, tmp->cg_nthreads)); in __kmp_free_team()
5580 int i = tmp->cg_nthreads--; in __kmp_free_team()
5670 this_th->th.th_cg_roots->cg_nthreads--; in __kmp_free_thread()
5675 this_th->th.th_cg_roots->cg_nthreads)); in __kmp_free_thread()
5678 KMP_DEBUG_ASSERT(tmp->cg_nthreads == 0); in __kmp_free_thread()
5684 if (tmp->cg_nthreads == 0) { // last thread leaves contention group in __kmp_free_thread()
7398 tmp->cg_nthreads = 1; // Init counter to one active thread, this one in __kmp_teams_master()