Lines Matching refs:gtid
105 int gtid, tid; in FTN_SET_BLOCKTIME()
108 gtid = __kmp_entry_gtid(); in FTN_SET_BLOCKTIME()
109 tid = __kmp_tid_from_gtid(gtid); in FTN_SET_BLOCKTIME()
110 thread = __kmp_thread_from_gtid(gtid); in FTN_SET_BLOCKTIME()
120 int gtid, tid; in FTN_GET_BLOCKTIME()
124 gtid = __kmp_entry_gtid(); in FTN_GET_BLOCKTIME()
125 tid = __kmp_tid_from_gtid(gtid); in FTN_GET_BLOCKTIME()
126 thread = __kmp_thread_from_gtid(gtid); in FTN_GET_BLOCKTIME()
127 team = __kmp_threads[gtid]->th.th_team; in FTN_GET_BLOCKTIME()
131 KF_TRACE(10, ("kmp_get_blocktime: T#%d(%d:%d), blocktime=%d\n", gtid, in FTN_GET_BLOCKTIME()
137 KF_TRACE(10, ("kmp_get_blocktime: T#%d(%d:%d), blocktime=%d\n", gtid, in FTN_GET_BLOCKTIME()
143 KF_TRACE(10, ("kmp_get_blocktime: T#%d(%d:%d), blocktime=%d\n", gtid, in FTN_GET_BLOCKTIME()
337 int gtid; in KMP_EXPAND_NAME()
342 gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
343 thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
483 int gtid; in FTN_DISPLAY_AFFINITY()
487 gtid = __kmp_get_gtid(); in FTN_DISPLAY_AFFINITY()
489 __kmp_aux_display_affinity(gtid, cformat.get()); in FTN_DISPLAY_AFFINITY()
508 int gtid; in FTN_CAPTURE_AFFINITY()
514 gtid = __kmp_get_gtid(); in FTN_CAPTURE_AFFINITY()
517 num_required = __kmp_aux_capture_affinity(gtid, cformat.get(), &capture_buf); in FTN_CAPTURE_AFFINITY()
531 int gtid; in KMP_EXPAND_NAME()
535 gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
538 (gtid = (int)((kmp_intptr_t)TlsGetValue(__kmp_gtid_threadprivate_key))) == in KMP_EXPAND_NAME()
544 --gtid; // We keep (gtid+1) in TLS in KMP_EXPAND_NAME()
548 if ((gtid = __kmp_gtid) == KMP_GTID_DNE) { in KMP_EXPAND_NAME()
554 (gtid = (kmp_intptr_t)( in KMP_EXPAND_NAME()
558 --gtid; in KMP_EXPAND_NAME()
566 return __kmp_tid_from_gtid(gtid); in KMP_EXPAND_NAME()
738 int gtid; in KMP_EXPAND_NAME()
744 gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
745 thread = __kmp_threads[gtid]; in KMP_EXPAND_NAME()
836 int gtid; in KMP_EXPAND_NAME()
843 gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
844 thread = __kmp_thread_from_gtid(gtid); in KMP_EXPAND_NAME()
855 int gtid, num_places, first_place, last_place; in KMP_EXPAND_NAME()
862 gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
863 thread = __kmp_thread_from_gtid(gtid); in KMP_EXPAND_NAME()
881 int i, gtid, place_num, first_place, last_place, start, end; in KMP_EXPAND_NAME()
888 gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
889 thread = __kmp_thread_from_gtid(gtid); in KMP_EXPAND_NAME()
1026 int gtid = __kmp_entry_gtid(); in FTN_INIT_LOCK_WITH_HINT()
1028 OMPT_STORE_RETURN_ADDRESS(gtid); in FTN_INIT_LOCK_WITH_HINT()
1030 __kmpc_init_lock_with_hint(NULL, gtid, user_lock, KMP_DEREF hint); in FTN_INIT_LOCK_WITH_HINT()
1039 int gtid = __kmp_entry_gtid(); in FTN_INIT_NEST_LOCK_WITH_HINT()
1041 OMPT_STORE_RETURN_ADDRESS(gtid); in FTN_INIT_NEST_LOCK_WITH_HINT()
1043 __kmpc_init_nest_lock_with_hint(NULL, gtid, user_lock, KMP_DEREF hint); in FTN_INIT_NEST_LOCK_WITH_HINT()
1053 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
1055 OMPT_STORE_RETURN_ADDRESS(gtid); in KMP_EXPAND_NAME()
1057 __kmpc_init_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()
1066 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
1068 OMPT_STORE_RETURN_ADDRESS(gtid); in KMP_EXPAND_NAME()
1070 __kmpc_init_nest_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()
1078 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
1080 OMPT_STORE_RETURN_ADDRESS(gtid); in KMP_EXPAND_NAME()
1082 __kmpc_destroy_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()
1090 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
1092 OMPT_STORE_RETURN_ADDRESS(gtid); in KMP_EXPAND_NAME()
1094 __kmpc_destroy_nest_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()
1108 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
1110 OMPT_STORE_RETURN_ADDRESS(gtid); in KMP_EXPAND_NAME()
1112 __kmpc_set_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()
1123 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
1125 OMPT_STORE_RETURN_ADDRESS(gtid); in KMP_EXPAND_NAME()
1127 __kmpc_set_nest_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()
1141 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
1143 OMPT_STORE_RETURN_ADDRESS(gtid); in KMP_EXPAND_NAME()
1145 __kmpc_unset_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()
1159 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
1161 OMPT_STORE_RETURN_ADDRESS(gtid); in KMP_EXPAND_NAME()
1163 __kmpc_unset_nest_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()
1178 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
1180 OMPT_STORE_RETURN_ADDRESS(gtid); in KMP_EXPAND_NAME()
1182 return __kmpc_test_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()
1193 int gtid = __kmp_entry_gtid(); in KMP_EXPAND_NAME()
1195 OMPT_STORE_RETURN_ADDRESS(gtid); in KMP_EXPAND_NAME()
1197 return __kmpc_test_nest_lock(NULL, gtid, user_lock); in KMP_EXPAND_NAME()