Lines Matching refs:cncl_kind
29 kmp_int32 __kmpc_cancel(ident_t *loc_ref, kmp_int32 gtid, kmp_int32 cncl_kind) { in __kmpc_cancel() argument
33 cncl_kind, __kmp_omp_cancellation)); in __kmpc_cancel()
35 KMP_DEBUG_ASSERT(cncl_kind != cancel_noreq); in __kmpc_cancel()
36 KMP_DEBUG_ASSERT(cncl_kind == cancel_parallel || cncl_kind == cancel_loop || in __kmpc_cancel()
37 cncl_kind == cancel_sections || in __kmpc_cancel()
38 cncl_kind == cancel_taskgroup); in __kmpc_cancel()
42 switch (cncl_kind) { in __kmpc_cancel()
52 this_team->t.t_cancel_request.compare_exchange_strong(old, cncl_kind); in __kmpc_cancel()
53 if (old == cancel_noreq || old == cncl_kind) { in __kmpc_cancel()
62 if (cncl_kind == cancel_parallel) in __kmpc_cancel()
64 else if (cncl_kind == cancel_loop) in __kmpc_cancel()
66 else if (cncl_kind == cancel_sections) in __kmpc_cancel()
90 taskgroup->cancel_request.compare_exchange_strong(old, cncl_kind); in __kmpc_cancel()
91 if (old == cancel_noreq || old == cncl_kind) { in __kmpc_cancel()
136 kmp_int32 cncl_kind) { in __kmpc_cancellationpoint() argument
141 gtid, cncl_kind, __kmp_omp_cancellation)); in __kmpc_cancellationpoint()
143 KMP_DEBUG_ASSERT(cncl_kind != cancel_noreq); in __kmpc_cancellationpoint()
144 KMP_DEBUG_ASSERT(cncl_kind == cancel_parallel || cncl_kind == cancel_loop || in __kmpc_cancellationpoint()
145 cncl_kind == cancel_sections || in __kmpc_cancellationpoint()
146 cncl_kind == cancel_taskgroup); in __kmpc_cancellationpoint()
150 switch (cncl_kind) { in __kmpc_cancellationpoint()
160 if (cncl_kind == this_team->t.t_cancel_request) { in __kmpc_cancellationpoint()
169 if (cncl_kind == cancel_parallel) in __kmpc_cancellationpoint()
171 else if (cncl_kind == cancel_loop) in __kmpc_cancellationpoint()
173 else if (cncl_kind == cancel_sections) in __kmpc_cancellationpoint()