Home
last modified time | relevance | path

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

/external/llvm-project/openmp/runtime/src/
Dkmp_lock.cpp92 kmp_int32 tas_busy = KMP_LOCK_BUSY(gtid + 1, tas); in __kmp_acquire_tas_lock_timed_template()
134 kmp_int32 tas_busy = KMP_LOCK_BUSY(gtid + 1, tas); in __kmp_test_tas_lock()
338 KMP_LOCK_BUSY(gtid_code, futex))) != KMP_LOCK_FREE(futex)) { in __kmp_acquire_futex_lock_timed_template()
356 poll_val | KMP_LOCK_BUSY(1, futex))) { in __kmp_acquire_futex_lock_timed_template()
363 poll_val |= KMP_LOCK_BUSY(1, futex); in __kmp_acquire_futex_lock_timed_template()
420 KMP_LOCK_BUSY((gtid + 1) << 1, futex))) { in __kmp_test_futex_lock()
456 syscall(__NR_futex, &(lck->lk.poll), FUTEX_WAKE, KMP_LOCK_BUSY(1, futex), in __kmp_release_futex_lock()
2728 if (swap4(lck, KMP_LOCK_BUSY(1, hle)) != KMP_LOCK_FREE(hle)) { in __kmp_acquire_hle_lock()
2736 } while (swap4(lck, KMP_LOCK_BUSY(1, hle)) != KMP_LOCK_FREE(hle)); in __kmp_acquire_hle_lock()
2759 return swap4(lck, KMP_LOCK_BUSY(1, hle)) == KMP_LOCK_FREE(hle); in __kmp_test_hle_lock()
Dkmp_csupport.cpp970 kmp_int32 tas_busy = KMP_LOCK_BUSY(gtid + 1, tas); \
997 kmp_int32 tas_busy = KMP_LOCK_BUSY(gtid + 1, tas); \
1027 KMP_LOCK_BUSY(gtid_code, futex))) != KMP_LOCK_FREE(futex)) { \
1032 KMP_LOCK_BUSY(1, futex))) { \
1035 poll_val |= KMP_LOCK_BUSY(1, futex); \
1052 KMP_LOCK_BUSY(gtid + 1 << 1, futex))) { \
1070 KMP_LOCK_BUSY(1, futex), NULL, NULL, 0); \
Dkmp_lock.h1167 #define KMP_LOCK_BUSY(v, type) ((v) << KMP_LOCK_SHIFT | locktag_##type) macro
1252 #define KMP_LOCK_BUSY(v, type) (v) macro