Home
last modified time | relevance | path

Searched refs:is_locked (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.5/kernel/src/libs/
Dmutex.rs21 is_locked: bool, field
51 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()
Dspinlock.rs120 pub fn is_locked(&self) -> bool { in is_locked() method
Dlockref.rs61 if !old.lock.is_locked() { in cmpxchg_loop()
/DragonOS-0.1.5/docs/kernel/locking/
Dmutex.md38 is_locked: bool,
/DragonOS-0.1.5/kernel/src/exception/
Dsoftirq.rs224 if !self.modify_lock.is_locked() { in unregister_softirq()
/DragonOS-0.1.5/docs/community/ChangeLog/V0.1.x/
DV0.1.3.md256 * Rust的RawSpinlock新增is_locked()和set_value()方法。