Searched refs:kReaderLockMask (Results 1 – 1 of 1) sorted by relevance
172 bool locked = (state & (kWriterLock | kReaderLockMask)) != 0; in Lock()214 if (UNLIKELY(state & (kWriterLock | kReaderLockMask))) in TryLock()233 DCHECK_EQ(state & kReaderLockMask, 0); in Unlock()296 DCHECK_NE(state & kReaderLockMask, 0); in ReadUnlock()300 (kReaderLockMask | kWriterSpinWait | kReaderSpinWait)) == 0 && in ReadUnlock()323 CHECK(atomic_load(&state_, memory_order_relaxed) & kReaderLockMask); in CheckReadLocked()355 static constexpr u64 kReaderLockMask = ((1ull << kCounterWidth) - 1) variable