Home
last modified time | relevance | path

Searched refs:mtx_num_locks (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_taskdeps.h93 if (UNLIKELY(node && (node->dn.mtx_num_locks < 0))) { in __kmp_release_deps()
95 node->dn.mtx_num_locks = -node->dn.mtx_num_locks; in __kmp_release_deps()
96 for (int i = node->dn.mtx_num_locks - 1; i >= 0; --i) { in __kmp_release_deps()
Dkmp_taskdeps.cpp42 node->dn.mtx_num_locks = 0; in __kmp_init_node()
383 KMP_DEBUG_ASSERT(node->dn.mtx_num_locks < MAX_MTX_DEPS); in __kmp_process_deps()
389 KMP_DEBUG_ASSERT(node->dn.mtx_locks[node->dn.mtx_num_locks] == NULL); in __kmp_process_deps()
390 for (int n = node->dn.mtx_num_locks; n > m; --n) { in __kmp_process_deps()
400 node->dn.mtx_num_locks++; in __kmp_process_deps()
Dkmp_tasking.cpp278 if (UNLIKELY(node && (node->dn.mtx_num_locks > 0))) { in __kmp_task_is_allowed()
279 for (int i = 0; i < node->dn.mtx_num_locks; ++i) { in __kmp_task_is_allowed()
289 node->dn.mtx_num_locks = -node->dn.mtx_num_locks; in __kmp_task_is_allowed()
Dkmp.h2245 kmp_int32 mtx_num_locks; /* number of locks in mtx_locks array */ member