Home
last modified time | relevance | path

Searched refs:INIT (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.5/docs/kernel/sched/
Drust_waiting.md23    WaitQueue对象的初始化非常简单,只需要调用WaitQueue::INIT即可。
26 let mut wq = WaitQueue::INIT;
/DragonOS-0.1.5/kernel/src/libs/
Dlockref.rs36 pub const INIT: LockRef = LockRef { constant
37 lock: RawSpinlock::INIT,
43 return LockRef::INIT; in new()
58 let mut old: LockRef = LockRef::INIT; in cmpxchg_loop()
62 let mut new = LockRef::INIT; in cmpxchg_loop()
Dwait_queue.rs40 pub const INIT: WaitQueue = WaitQueue(SpinLock::new(InnerWaitQueue::INIT)); constant
137 pub const INIT: InnerWaitQueue = InnerWaitQueue { constant
Dsemaphore.rs25 wait_queue: WaitQueue::INIT, in new()
Dspinlock.rs71 pub const INIT: RawSpinlock = RawSpinlock(AtomicBool::new(false)); constant
166 lock: RawSpinlock::INIT, in new()
/DragonOS-0.1.5/kernel/src/sched/
Drt.rs50 lock: RawSpinlock::INIT, in new()
Dcfs.rs54 lock: RawSpinlock::INIT, in new()
/DragonOS-0.1.5/kernel/src/exception/
Dsoftirq.rs128 modify_lock: RawSpinlock::INIT, in default()