Lines Matching refs:gtid

56 static void __kmp_expand_cons_stack(int gtid, struct cons_header *p) {  in __kmp_expand_cons_stack()  argument
61 if (gtid < 0) in __kmp_expand_cons_stack()
64 KE_TRACE(10, ("expand cons_stack (%d %d)\n", gtid, __kmp_get_gtid())); in __kmp_expand_cons_stack()
133 struct cons_header *__kmp_allocate_cons_stack(int gtid) { in __kmp_allocate_cons_stack() argument
137 if (gtid < 0) { in __kmp_allocate_cons_stack()
140 KE_TRACE(10, ("allocate cons_stack (%d)\n", gtid)); in __kmp_allocate_cons_stack()
165 static void dump_cons_stack(int gtid, struct cons_header *p) { in dump_cons_stack() argument
175 tos, gtid); in dump_cons_stack()
184 __kmp_str_buf_print(&buffer, "End construct stack for thread %d\n", gtid); in dump_cons_stack()
193 void __kmp_push_parallel(int gtid, ident_t const *ident) { in __kmp_push_parallel() argument
195 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_push_parallel()
197 KMP_DEBUG_ASSERT(__kmp_threads[gtid]->th.th_cons); in __kmp_push_parallel()
198 KE_TRACE(10, ("__kmp_push_parallel (%d %d)\n", gtid, __kmp_get_gtid())); in __kmp_push_parallel()
201 __kmp_expand_cons_stack(gtid, p); in __kmp_push_parallel()
209 KE_DUMP(1000, dump_cons_stack(gtid, p)); in __kmp_push_parallel()
212 void __kmp_check_workshare(int gtid, enum cons_type ct, ident_t const *ident) { in __kmp_check_workshare() argument
213 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_check_workshare()
215 KMP_DEBUG_ASSERT(__kmp_threads[gtid]->th.th_cons); in __kmp_check_workshare()
216 KE_TRACE(10, ("__kmp_check_workshare (%d %d)\n", gtid, __kmp_get_gtid())); in __kmp_check_workshare()
219 __kmp_expand_cons_stack(gtid, p); in __kmp_check_workshare()
233 void __kmp_push_workshare(int gtid, enum cons_type ct, ident_t const *ident) { in __kmp_push_workshare() argument
235 struct cons_header *p = __kmp_threads[gtid]->th.th_cons; in __kmp_push_workshare()
236 KE_TRACE(10, ("__kmp_push_workshare (%d %d)\n", gtid, __kmp_get_gtid())); in __kmp_push_workshare()
237 __kmp_check_workshare(gtid, ct, ident); in __kmp_push_workshare()
245 KE_DUMP(1000, dump_cons_stack(gtid, p)); in __kmp_push_workshare()
250 __kmp_check_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck, kmp_uint… argument
252 __kmp_check_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck )
255 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
260 __kmp_expand_cons_stack(gtid, p);
300 gtid) { /* this thread already has lock for this critical section */
304 gtid) { /* this thread already has lock for this critical section */
336 __kmp_push_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck, kmp_uint3… argument
338 __kmp_push_sync( int gtid, enum cons_type ct, ident_t const * ident, kmp_user_lock_p lck )
342 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
344 KMP_ASSERT(gtid == __kmp_get_gtid());
345 KE_TRACE(10, ("__kmp_push_sync (gtid=%d)\n", gtid));
347 __kmp_check_sync(gtid, ct, ident, lck, seq);
349 __kmp_check_sync(gtid, ct, ident, lck);
358 KE_DUMP(1000, dump_cons_stack(gtid, p));
363 void __kmp_pop_parallel(int gtid, ident_t const *ident) { argument
365 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
367 KE_TRACE(10, ("__kmp_pop_parallel (%d %d)\n", gtid, __kmp_get_gtid()));
380 KE_DUMP(1000, dump_cons_stack(gtid, p));
383 enum cons_type __kmp_pop_workshare(int gtid, enum cons_type ct, argument
386 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
389 KE_TRACE(10, ("__kmp_pop_workshare (%d %d)\n", gtid, __kmp_get_gtid()));
407 KE_DUMP(1000, dump_cons_stack(gtid, p));
411 void __kmp_pop_sync(int gtid, enum cons_type ct, ident_t const *ident) { argument
413 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
415 KE_TRACE(10, ("__kmp_pop_sync (%d %d)\n", gtid, __kmp_get_gtid()));
429 KE_DUMP(1000, dump_cons_stack(gtid, p));
434 void __kmp_check_barrier(int gtid, enum cons_type ct, ident_t const *ident) { argument
435 struct cons_header *p = __kmp_threads[gtid]->th.th_cons;
436 KE_TRACE(10, ("__kmp_check_barrier (loc: %p, gtid: %d %d)\n", ident, gtid,