Home
last modified time | relevance | path

Searched refs:kmp_tas_lock_t (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_lock.h135 typedef union kmp_tas_lock kmp_tas_lock_t; typedef
144 extern int __kmp_acquire_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid);
145 extern int __kmp_test_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid);
146 extern int __kmp_release_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid);
147 extern void __kmp_init_tas_lock(kmp_tas_lock_t *lck);
148 extern void __kmp_destroy_tas_lock(kmp_tas_lock_t *lck);
150 extern int __kmp_acquire_nested_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid);
151 extern int __kmp_test_nested_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid);
152 extern int __kmp_release_nested_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid);
153 extern void __kmp_init_nested_tas_lock(kmp_tas_lock_t *lck);
[all …]
Dkmp_lock.cpp72 static kmp_int32 __kmp_get_tas_lock_owner(kmp_tas_lock_t *lck) { in __kmp_get_tas_lock_owner()
76 static inline bool __kmp_is_tas_lock_nestable(kmp_tas_lock_t *lck) { in __kmp_is_tas_lock_nestable()
81 __kmp_acquire_tas_lock_timed_template(kmp_tas_lock_t *lck, kmp_int32 gtid) { in __kmp_acquire_tas_lock_timed_template()
113 int __kmp_acquire_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid) { in __kmp_acquire_tas_lock()
119 static int __kmp_acquire_tas_lock_with_checks(kmp_tas_lock_t *lck, in __kmp_acquire_tas_lock_with_checks()
122 if ((sizeof(kmp_tas_lock_t) <= OMP_LOCK_T_SIZE) && in __kmp_acquire_tas_lock_with_checks()
132 int __kmp_test_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid) { in __kmp_test_tas_lock()
143 static int __kmp_test_tas_lock_with_checks(kmp_tas_lock_t *lck, in __kmp_test_tas_lock_with_checks()
146 if ((sizeof(kmp_tas_lock_t) <= OMP_LOCK_T_SIZE) && in __kmp_test_tas_lock_with_checks()
153 int __kmp_release_tas_lock(kmp_tas_lock_t *lck, kmp_int32 gtid) { in __kmp_release_tas_lock()
[all …]
Dkmp_global.cpp28 kmp_tas_lock_t __kmp_stats_lock;
Dkmp_csupport.cpp968 kmp_tas_lock_t *l = (kmp_tas_lock_t *)lock; \
995 kmp_tas_lock_t *l = (kmp_tas_lock_t *)lock; \
1004 { KMP_ATOMIC_ST_REL(&((kmp_tas_lock_t *)lock)->lk.poll, KMP_LOCK_FREE(tas)); }
2870 kmp_tas_lock_t *tl = (kmp_tas_lock_t *)user_lock; in __kmpc_unset_nest_lock()
Dkmp_stats.h865 extern kmp_tas_lock_t __kmp_stats_lock;
Dkmp.h2295 kmp_tas_lock_t lock;