Lines Matching refs:cg_nthreads
881 int cg_nthreads = this_thr->th.th_cg_roots->cg_nthreads; in __kmp_reserve_threads() local
883 if (cg_nthreads + new_nthreads - in __kmp_reserve_threads()
886 int tl_nthreads = max_cg_threads - cg_nthreads + in __kmp_reserve_threads()
3797 tmp->cg_nthreads = 1; in __kmp_register_root()
3927 i = root->r.r_uber_thread->th.th_cg_roots->cg_nthreads--; in __kmp_reset_root()
3931 root->r.r_uber_thread->th.th_cg_roots->cg_nthreads)); in __kmp_reset_root()
4110 int i = tmp->cg_nthreads--; in __kmp_initialize_info()
4113 this_thr, tmp, tmp->cg_root, tmp->cg_nthreads)); in __kmp_initialize_info()
4120 this_thr->th.th_cg_roots->cg_nthreads++; in __kmp_initialize_info()
4125 this_thr->th.th_cg_roots->cg_nthreads)); in __kmp_initialize_info()
5519 thr, tmp, thr->th.th_cg_roots, tmp->cg_nthreads)); in __kmp_free_team()
5520 int i = tmp->cg_nthreads--; in __kmp_free_team()
5610 this_th->th.th_cg_roots->cg_nthreads--; in __kmp_free_thread()
5615 this_th->th.th_cg_roots->cg_nthreads)); in __kmp_free_thread()
5618 KMP_DEBUG_ASSERT(tmp->cg_nthreads == 0); in __kmp_free_thread()
5624 if (tmp->cg_nthreads == 0) { // last thread leaves contention group in __kmp_free_thread()
7254 tmp->cg_nthreads = 1; // Init counter to one active thread, this one in __kmp_teams_master()