Lines Matching refs:global_tid
539 void *__kmpc_threadprivate(ident_t *loc, kmp_int32 global_tid, void *data, in __kmpc_threadprivate() argument
544 KC_TRACE(10, ("__kmpc_threadprivate: T#%d called\n", global_tid)); in __kmpc_threadprivate()
551 if (!__kmp_threads[global_tid]->th.th_root->r.r_active && !__kmp_foreign_tp) { in __kmpc_threadprivate()
557 global_tid)); in __kmpc_threadprivate()
558 kmp_threadprivate_insert_private_data(global_tid, data, data, size); in __kmpc_threadprivate()
565 global_tid, data)); in __kmpc_threadprivate()
567 __kmp_threads[global_tid]->th.th_pri_common, global_tid, data); in __kmpc_threadprivate()
570 KC_TRACE(20, ("__kmpc_threadprivate: T#%d found data\n", global_tid)); in __kmpc_threadprivate()
583 KC_TRACE(20, ("__kmpc_threadprivate: T#%d inserting data\n", global_tid)); in __kmpc_threadprivate()
584 tn = kmp_threadprivate_insert(global_tid, data, data, size); in __kmpc_threadprivate()
590 global_tid, ret)); in __kmpc_threadprivate()
615 kmp_int32 global_tid, // gtid. in __kmpc_threadprivate_cached() argument
621 global_tid, *cache, data, size)); in __kmpc_threadprivate_cached()
624 __kmp_acquire_lock(&__kmp_global_lock, global_tid); in __kmpc_threadprivate_cached()
641 global_tid, my_cache)); in __kmpc_threadprivate_cached()
662 __kmp_release_lock(&__kmp_global_lock, global_tid); in __kmpc_threadprivate_cached()
666 if ((ret = TCR_PTR((*cache)[global_tid])) == 0) { in __kmpc_threadprivate_cached()
667 ret = __kmpc_threadprivate(loc, global_tid, data, (size_t)size); in __kmpc_threadprivate_cached()
669 TCW_PTR((*cache)[global_tid], ret); in __kmpc_threadprivate_cached()
673 global_tid, ret)); in __kmpc_threadprivate_cached()