Lines Matching refs:gtid
50 static void __kmp_expand_cons_stack(int gtid, struct cons_header *p) { in __kmp_expand_cons_stack() argument
55 if (gtid < 0) in __kmp_expand_cons_stack()
58 KE_TRACE(10, ("expand cons_stack (%d %d)\n", gtid, __kmp_get_gtid())); in __kmp_expand_cons_stack()
127 struct cons_header *__kmp_allocate_cons_stack(int gtid) { in __kmp_allocate_cons_stack() argument
131 if (gtid < 0) { in __kmp_allocate_cons_stack()
134 KE_TRACE(10, ("allocate cons_stack (%d)\n", gtid)); in __kmp_allocate_cons_stack()
159 static void dump_cons_stack(int gtid, struct cons_header *p) { in dump_cons_stack() argument
169 tos, gtid); in dump_cons_stack()
178 __kmp_str_buf_print(&buffer, "End construct stack for thread %d\n", gtid); in dump_cons_stack()
187 void __kmp_push_parallel(int gtid, ident_t const *ident) { in __kmp_push_parallel() argument
189 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_push_parallel()
191 KMP_DEBUG_ASSERT(__kmp_threads[gtid]->th.th_cons); in __kmp_push_parallel()
192 KE_TRACE(10, ("__kmp_push_parallel (%d %d)\n", gtid, __kmp_get_gtid())); in __kmp_push_parallel()
195 __kmp_expand_cons_stack(gtid, p); in __kmp_push_parallel()
203 KE_DUMP(1000, dump_cons_stack(gtid, p)); in __kmp_push_parallel()
206 void __kmp_check_workshare(int gtid, enum cons_type ct, ident_t const *ident) { in __kmp_check_workshare() argument
207 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_check_workshare()
209 KMP_DEBUG_ASSERT(__kmp_threads[gtid]->th.th_cons); in __kmp_check_workshare()
210 KE_TRACE(10, ("__kmp_check_workshare (%d %d)\n", gtid, __kmp_get_gtid())); in __kmp_check_workshare()
213 __kmp_expand_cons_stack(gtid, p); in __kmp_check_workshare()
227 void __kmp_push_workshare(int gtid, enum cons_type ct, ident_t const *ident) { in __kmp_push_workshare() argument
229 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_push_workshare()
230 KE_TRACE(10, ("__kmp_push_workshare (%d %d)\n", gtid, __kmp_get_gtid())); in __kmp_push_workshare()
231 __kmp_check_workshare(gtid, ct, ident); in __kmp_push_workshare()
239 KE_DUMP(1000, dump_cons_stack(gtid, p)); in __kmp_push_workshare()
244 __kmp_check_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck, kmp_uint… argument
246 __kmp_check_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck )
249 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
254 __kmp_expand_cons_stack(gtid, p);
294 gtid) { /* this thread already has lock for this critical section */
298 gtid) { /* this thread already has lock for this critical section */
330 __kmp_push_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck, kmp_uint3… argument
332 __kmp_push_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck )
336 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
338 KMP_ASSERT(gtid == __kmp_get_gtid());
339 KE_TRACE(10, ("__kmp_push_sync (gtid=%d)\n", gtid));
341 __kmp_check_sync(gtid, ct, ident, lck, seq);
343 __kmp_check_sync(gtid, ct, ident, lck);
352 KE_DUMP(1000, dump_cons_stack(gtid, p));
357 void __kmp_pop_parallel(int gtid, ident_t const *ident) { argument
359 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
361 KE_TRACE(10, ("__kmp_pop_parallel (%d %d)\n", gtid, __kmp_get_gtid()));
374 KE_DUMP(1000, dump_cons_stack(gtid, p));
377 enum cons_type __kmp_pop_workshare(int gtid, enum cons_type ct, argument
380 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
383 KE_TRACE(10, ("__kmp_pop_workshare (%d %d)\n", gtid, __kmp_get_gtid()));
401 KE_DUMP(1000, dump_cons_stack(gtid, p));
405 void __kmp_pop_sync(int gtid, enum cons_type ct, ident_t const *ident) { argument
407 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
409 KE_TRACE(10, ("__kmp_pop_sync (%d %d)\n", gtid, __kmp_get_gtid()));
423 KE_DUMP(1000, dump_cons_stack(gtid, p));
428 void __kmp_check_barrier(int gtid, enum cons_type ct, ident_t const *ident) { argument
429 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
430 KE_TRACE(10, ("__kmp_check_barrier (loc: %p, gtid: %d %d)\n", ident, gtid,