Searched refs:UPGRADED (Results 1 – 1 of 1) sorted by relevance
24 const UPGRADED: u32 = 1 << 1; constant142 if value & (WRITER | UPGRADED) != 0 { in inner_try_read()196 return state / READER + (state & UPGRADED) / UPGRADED; in reader_count()314 if self.lock.fetch_or(UPGRADED, Ordering::Acquire) & (WRITER | UPGRADED) == 0 { in inner_try_upgradeable_read()366 debug_assert_eq!(self.lock.load(Ordering::Relaxed) & !(WRITER | UPGRADED), 0); in force_write_unlock()367 self.lock.fetch_and(!(WRITER | UPGRADED), Ordering::Release); in force_write_unlock()417 UPGRADED, in try_upgrade()532 self.inner.lock.load(Ordering::Acquire) & (WRITER | UPGRADED), in downgrade_to_upgradeable()536 self.inner.lock.store(UPGRADED, Ordering::Release); in downgrade_to_upgradeable()583 debug_assert!(self.lock.load(Ordering::Relaxed) & !(WRITER | UPGRADED) > 0); in drop()[all …]