reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1308 case locktag_futex: 1311 case locktag_tas: 1314 case locktag_hle: 1533 KMP_RELEASE_TAS_LOCK(lck, global_tid); 2574 if (tag == locktag_tas && !__kmp_env_consistency_check) { 2763 if (tag == locktag_tas && !__kmp_env_consistency_check) { 2764 KMP_RELEASE_TAS_LOCK(user_lock, gtid); 2999 if (tag == locktag_tas && !__kmp_env_consistency_check) {projects/openmp/runtime/src/kmp_lock.cpp
91 kmp_int32 tas_free = KMP_LOCK_FREE(tas); 92 kmp_int32 tas_busy = KMP_LOCK_BUSY(gtid + 1, tas); 133 kmp_int32 tas_free = KMP_LOCK_FREE(tas); 134 kmp_int32 tas_busy = KMP_LOCK_BUSY(gtid + 1, tas); 158 KMP_ATOMIC_ST_REL(&lck->lk.poll, KMP_LOCK_FREE(tas)); 184 lck->lk.poll = KMP_LOCK_FREE(tas); 337 &(lck->lk.poll), KMP_LOCK_FREE(futex), 338 KMP_LOCK_BUSY(gtid_code, futex))) != KMP_LOCK_FREE(futex)) { 338 KMP_LOCK_BUSY(gtid_code, futex))) != KMP_LOCK_FREE(futex)) { 356 poll_val | KMP_LOCK_BUSY(1, futex))) { 363 poll_val |= KMP_LOCK_BUSY(1, futex); 419 if (KMP_COMPARE_AND_STORE_ACQ32(&(lck->lk.poll), KMP_LOCK_FREE(futex), 420 KMP_LOCK_BUSY((gtid + 1) << 1, futex))) { 446 kmp_int32 poll_val = KMP_XCHG_FIXED32(&(lck->lk.poll), KMP_LOCK_FREE(futex)); 456 syscall(__NR_futex, &(lck->lk.poll), FUTEX_WAKE, KMP_LOCK_BUSY(1, futex), 488 TCW_4(lck->lk.poll, KMP_LOCK_FREE(futex)); 2725 if (swap4(lck, KMP_LOCK_BUSY(1, hle)) != KMP_LOCK_FREE(hle)) { 2725 if (swap4(lck, KMP_LOCK_BUSY(1, hle)) != KMP_LOCK_FREE(hle)) { 2728 while (*(kmp_uint32 volatile *)lck != KMP_LOCK_FREE(hle)) { 2733 } while (swap4(lck, KMP_LOCK_BUSY(1, hle)) != KMP_LOCK_FREE(hle)); 2733 } while (swap4(lck, KMP_LOCK_BUSY(1, hle)) != KMP_LOCK_FREE(hle)); 2745 : "r"(KMP_LOCK_FREE(hle)) 2756 return swap4(lck, KMP_LOCK_BUSY(1, hle)) == KMP_LOCK_FREE(hle); 2756 return swap4(lck, KMP_LOCK_BUSY(1, hle)) == KMP_LOCK_FREE(hle);