Lines Matching refs:inner
50 inner: &'a RwLock<T>, field
58 inner: &'a RwLock<T>, field
176 inner: self, in try_write()
203 inner: self, in try_upgradeable_read()
275 let res = self.inner.lock.compare_exchange( in try_upgrade()
284 let inner = self.inner; in try_upgrade() localVariable
289 data: unsafe { &mut *inner.data.get() }, in try_upgrade()
290 inner, in try_upgrade()
315 while self.inner.current_reader().is_err() { in downgrade()
319 let inner: &RwLock<T> = self.inner; in downgrade() localVariable
325 data: unsafe { &*inner.data.get() }, in downgrade()
326 lock: &inner.lock, in downgrade()
354 while self.inner.current_reader().is_err() { in downgrade()
359 let inner = self.inner; in downgrade() localVariable
364 data: unsafe { &*inner.data.get() }, in downgrade()
365 lock: &inner.lock, in downgrade()
374 self.inner.lock.load(Ordering::Acquire) & (WRITER | UPGRADED), in downgrade_to_upgradeable()
378 self.inner.lock.store(UPGRADED, Ordering::Release); in downgrade_to_upgradeable()
380 let inner = self.inner; in downgrade_to_upgradeable() localVariable
385 inner, in downgrade_to_upgradeable()
386 data: unsafe { &*inner.data.get() }, in downgrade_to_upgradeable()
431 self.inner.lock.load(Ordering::Relaxed) & (WRITER | UPGRADED), in drop()
434 self.inner.lock.fetch_sub(UPGRADED, Ordering::AcqRel); in drop()
441 debug_assert_eq!(self.inner.lock.load(Ordering::Relaxed) & WRITER, WRITER); in drop()
442 self.inner in drop()