Lines Matching refs:load

122     if (pred(testLoc->load(std::memory_order_relaxed))) {  in WaitBrieflyFor()
146 DCHECK_EQ(gAllMutexData->all_mutexes_guard.load(std::memory_order_relaxed), mutex_); in ~ScopedAllMutexesLock()
303 int32_t slot = data->cur_content_log_entry.load(std::memory_order_relaxed); in RecordContention()
310 slot = data->cur_content_log_entry.load(std::memory_order_relaxed); in RecordContention()
324 uint64_t wait_time = data->wait_time.load(std::memory_order_relaxed); in DumpContention()
325 uint32_t contention_count = data->contention_count.load(std::memory_order_relaxed); in DumpContention()
337 uint32_t count = log[i].count.load(std::memory_order_relaxed); in DumpContention()
383 DCHECK_EQ(0, state_and_contenders_.load(std::memory_order_relaxed)); in Mutex()
398 if (state_and_contenders_.load(std::memory_order_relaxed) != 0) { in ~Mutex()
428 int32_t cur_state = state_and_contenders_.load(std::memory_order_relaxed); in ExclusiveLock()
460 cur_state = state_and_contenders_.load(std::memory_order_relaxed); in ExclusiveLock()
467 DCHECK_NE(state_and_contenders_.load(std::memory_order_relaxed) & kHeldMask, 0); in ExclusiveLock()
493 int32_t cur_state = state_and_contenders_.load(std::memory_order_relaxed); in ExclusiveTryLock()
501 DCHECK_NE(state_and_contenders_.load(std::memory_order_relaxed) & kHeldMask, 0); in ExclusiveTryLock()
592 int32_t cur_state = state_and_contenders_.load(std::memory_order_relaxed); in ExclusiveUnlock()
669 CHECK_EQ(state_.load(std::memory_order_relaxed), 0); in ~ReaderWriterMutex()
671 CHECK_EQ(num_contenders_.load(std::memory_order_relaxed), 0); in ~ReaderWriterMutex()
690 int32_t cur_state = state_.load(std::memory_order_relaxed); in ExclusiveLock()
714 DCHECK_EQ(state_.load(std::memory_order_relaxed), -1); in ExclusiveLock()
732 int32_t cur_state = state_.load(std::memory_order_relaxed); in ExclusiveUnlock()
741 if (UNLIKELY(num_contenders_.load(std::memory_order_seq_cst) > 0)) { in ExclusiveUnlock()
763 int32_t cur_state = state_.load(std::memory_order_relaxed); in ExclusiveLockWithTimeout()
841 int32_t cur_state = state_.load(std::memory_order_relaxed); in SharedTryLock()
881 << " state=" << state_.load(std::memory_order_seq_cst) in Dump()
882 << " num_contenders=" << num_contenders_.load(std::memory_order_seq_cst) in Dump()
902 if (UNLIKELY(num_contenders_.load(std::memory_order_relaxed) > 0)) { in WakeupToRespondToEmptyCheckpoint()
913 DCHECK_EQ(0, sequence_.load(std::memory_order_relaxed)); in ConditionVariable()
1002 int32_t cur_sequence = sequence_.load(std::memory_order_relaxed); in WaitHoldingLocks()
1042 int32_t cur_sequence = sequence_.load(std::memory_order_relaxed); in TimedWait()