Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_lock.h194 typedef union kmp_futex_lock kmp_futex_lock_t; typedef
203 extern int __kmp_acquire_futex_lock(kmp_futex_lock_t *lck, kmp_int32 gtid);
204 extern int __kmp_test_futex_lock(kmp_futex_lock_t *lck, kmp_int32 gtid);
205 extern int __kmp_release_futex_lock(kmp_futex_lock_t *lck, kmp_int32 gtid);
206 extern void __kmp_init_futex_lock(kmp_futex_lock_t *lck);
207 extern void __kmp_destroy_futex_lock(kmp_futex_lock_t *lck);
209 extern int __kmp_acquire_nested_futex_lock(kmp_futex_lock_t *lck,
211 extern int __kmp_test_nested_futex_lock(kmp_futex_lock_t *lck, kmp_int32 gtid);
212 extern int __kmp_release_nested_futex_lock(kmp_futex_lock_t *lck,
214 extern void __kmp_init_nested_futex_lock(kmp_futex_lock_t *lck);
[all …]
Dkmp_lock.cpp309 static kmp_int32 __kmp_get_futex_lock_owner(kmp_futex_lock_t *lck) { in __kmp_get_futex_lock_owner()
313 static inline bool __kmp_is_futex_lock_nestable(kmp_futex_lock_t *lck) { in __kmp_is_futex_lock_nestable()
318 __kmp_acquire_futex_lock_timed_template(kmp_futex_lock_t *lck, kmp_int32 gtid) { in __kmp_acquire_futex_lock_timed_template()
399 int __kmp_acquire_futex_lock(kmp_futex_lock_t *lck, kmp_int32 gtid) { in __kmp_acquire_futex_lock()
405 static int __kmp_acquire_futex_lock_with_checks(kmp_futex_lock_t *lck, in __kmp_acquire_futex_lock_with_checks()
408 if ((sizeof(kmp_futex_lock_t) <= OMP_LOCK_T_SIZE) && in __kmp_acquire_futex_lock_with_checks()
418 int __kmp_test_futex_lock(kmp_futex_lock_t *lck, kmp_int32 gtid) { in __kmp_test_futex_lock()
427 static int __kmp_test_futex_lock_with_checks(kmp_futex_lock_t *lck, in __kmp_test_futex_lock_with_checks()
430 if ((sizeof(kmp_futex_lock_t) <= OMP_LOCK_T_SIZE) && in __kmp_test_futex_lock_with_checks()
437 int __kmp_release_futex_lock(kmp_futex_lock_t *lck, kmp_int32 gtid) { in __kmp_release_futex_lock()
[all …]
Dkmp_csupport.cpp1020 kmp_futex_lock_t *ftx = (kmp_futex_lock_t *)lock; \
1050 kmp_futex_lock_t *ftx = (kmp_futex_lock_t *)lock; \
1063 kmp_futex_lock_t *ftx = (kmp_futex_lock_t *)lock; \