Lines Matching refs:lock
18 lock: AtomicBool, field
28 lock: &'a SpinLock<T>, field
48 unsafe { &mut *this.lock.data.get() } in leak()
53 self.lock.force_unlock(); in unlock_no_preempt()
65 lock: AtomicBool::new(false), in new()
71 pub fn lock(&self) -> SpinLockGuard<T> { in lock() method
107 lock: self, in try_lock()
122 .lock in inner_try_lock()
133 lock: self, in try_lock_irqsave()
147 lock: self, in try_lock_no_preempt()
163 self.lock.store(false, Ordering::SeqCst); in force_unlock()
167 self.lock.store(false, Ordering::SeqCst); in unlock()
172 self.lock.load(Ordering::SeqCst) in is_locked()
198 self.lock.unlock(); in drop()