Searched refs:is_locked (Results 1 – 6 of 6) sorted by relevance
21 is_locked: bool, field51 is_locked: false, in new()65 if inner.is_locked { in lock()76 inner.is_locked = true; in lock()95 if inner.is_locked { in try_lock()99 inner.is_locked = true; in try_lock()117 assert!(inner.is_locked); in unlock()119 inner.is_locked = false; in unlock()
120 pub fn is_locked(&self) -> bool { in is_locked() method
61 if !old.lock.is_locked() { in cmpxchg_loop()
38 is_locked: bool,
224 if !self.modify_lock.is_locked() { in unregister_softirq()
256 * Rust的RawSpinlock新增is_locked()和set_value()方法。