Searched refs:INIT (Results 1 – 8 of 8) sorted by relevance
23    WaitQueue对象的初始化非常简单,只需要调用WaitQueue::INIT即可。26 let mut wq = WaitQueue::INIT;
36 pub const INIT: LockRef = LockRef { constant37 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()
40 pub const INIT: WaitQueue = WaitQueue(SpinLock::new(InnerWaitQueue::INIT)); constant137 pub const INIT: InnerWaitQueue = InnerWaitQueue { constant
25 wait_queue: WaitQueue::INIT, in new()
71 pub const INIT: RawSpinlock = RawSpinlock(AtomicBool::new(false)); constant166 lock: RawSpinlock::INIT, in new()
50 lock: RawSpinlock::INIT, in new()
54 lock: RawSpinlock::INIT, in new()
128 modify_lock: RawSpinlock::INIT, in default()