Lines Matching refs:dn
278 if (node && (node->dn.mtx_num_locks > 0)) {
279 for (int i = 0; i < node->dn.mtx_num_locks; ++i) {
280 KMP_DEBUG_ASSERT(node->dn.mtx_locks[i] != NULL);
281 if (__kmp_test_lock(node->dn.mtx_locks[i], gtid))
285 __kmp_release_lock(node->dn.mtx_locks[j], gtid);
289 node->dn.mtx_num_locks = -node->dn.mtx_num_locks;
855 if (node && (node->dn.mtx_num_locks < 0)) {
857 node->dn.mtx_num_locks = -node->dn.mtx_num_locks;
858 for (int i = node->dn.mtx_num_locks - 1; i >= 0; --i) {
859 KMP_DEBUG_ASSERT(node->dn.mtx_locks[i] != NULL);
860 __kmp_release_lock(node->dn.mtx_locks[i], gtid);