Home
last modified time | relevance | path

Searched refs:kmp_dyna_lock_t (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_lock.cpp2701 static void __kmp_init_direct_lock(kmp_dyna_lock_t *lck, in __kmp_init_direct_lock()
2720 static void __kmp_destroy_hle_lock(kmp_dyna_lock_t *lck) { TCW_4(*lck, 0); } in __kmp_destroy_hle_lock()
2722 static void __kmp_destroy_hle_lock_with_checks(kmp_dyna_lock_t *lck) { in __kmp_destroy_hle_lock_with_checks()
2726 static void __kmp_acquire_hle_lock(kmp_dyna_lock_t *lck, kmp_int32 gtid) { in __kmp_acquire_hle_lock()
2740 static void __kmp_acquire_hle_lock_with_checks(kmp_dyna_lock_t *lck, in __kmp_acquire_hle_lock_with_checks()
2745 static int __kmp_release_hle_lock(kmp_dyna_lock_t *lck, kmp_int32 gtid) { in __kmp_release_hle_lock()
2753 static int __kmp_release_hle_lock_with_checks(kmp_dyna_lock_t *lck, in __kmp_release_hle_lock_with_checks()
2758 static int __kmp_test_hle_lock(kmp_dyna_lock_t *lck, kmp_int32 gtid) { in __kmp_test_hle_lock()
2762 static int __kmp_test_hle_lock_with_checks(kmp_dyna_lock_t *lck, in __kmp_test_hle_lock_with_checks()
2847 static void __kmp_init_indirect_lock(kmp_dyna_lock_t *l,
[all …]
Dkmp_lock.h1083 typedef kmp_uint32 kmp_dyna_lock_t; typedef
1124 extern void (*__kmp_direct_init[])(kmp_dyna_lock_t *, kmp_dyna_lockseq_t);
1125 extern void (**__kmp_direct_destroy)(kmp_dyna_lock_t *);
1126 extern int (**__kmp_direct_set)(kmp_dyna_lock_t *, kmp_int32);
1127 extern int (**__kmp_direct_unset)(kmp_dyna_lock_t *, kmp_int32);
1128 extern int (**__kmp_direct_test)(kmp_dyna_lock_t *, kmp_int32);
1140 (*((kmp_dyna_lock_t *)(l)) & ((1 << KMP_LOCK_SHIFT) - 1) & \
1141 -(*((kmp_dyna_lock_t *)(l)) & 1))
1157 __kmp_direct_init[KMP_GET_D_TAG(seq)]((kmp_dyna_lock_t *)l, seq)
1161 __kmp_direct_init[0]((kmp_dyna_lock_t *)(l), seq)
Dkmp_csupport.cpp1379 kmp_dyna_lock_t *lk = (kmp_dyna_lock_t *)crit; in __kmpc_critical_with_hint()
1521 KMP_D_LOCK_FUNC(lck, unset)((kmp_dyna_lock_t *)lck, global_tid); in __kmpc_end_critical()
2403 KMP_D_LOCK_FUNC(user_lock, destroy)((kmp_dyna_lock_t *)user_lock); in __kmpc_destroy_lock()
2471 KMP_D_LOCK_FUNC(user_lock, destroy)((kmp_dyna_lock_t *)user_lock); in __kmpc_destroy_nest_lock()
2559 __kmp_direct_set[tag]((kmp_dyna_lock_t *)user_lock, gtid); in __kmpc_set_lock()
2641 KMP_D_LOCK_FUNC(user_lock, set)((kmp_dyna_lock_t *)user_lock, gtid); in __kmpc_set_nest_lock()
2748 __kmp_direct_unset[tag]((kmp_dyna_lock_t *)user_lock, gtid); in __kmpc_unset_lock()
2834 KMP_D_LOCK_FUNC(user_lock, unset)((kmp_dyna_lock_t *)user_lock, gtid); in __kmpc_unset_nest_lock()
2984 rc = __kmp_direct_test[tag]((kmp_dyna_lock_t *)user_lock, gtid); in __kmpc_test_lock()
3079 rc = KMP_D_LOCK_FUNC(user_lock, test)((kmp_dyna_lock_t *)user_lock, gtid); in __kmpc_test_nest_lock()
[all …]