Searched refs:INIT (Results 1 – 9 of 9) sorted by relevance
23    WaitQueue对象的初始化非常简单,只需要调用WaitQueue::INIT即可。26 let mut wq = WaitQueue::INIT;
33 pub const INIT: LockRef = LockRef { constant34 lock: RawSpinlock::INIT,40 return LockRef::INIT; in new()55 let mut old: LockRef = LockRef::INIT; in cmpxchg_loop()59 let mut new = LockRef::INIT; in cmpxchg_loop()
41 pub const INIT: WaitQueue = WaitQueue(SpinLock::new(InnerWaitQueue::INIT)); constant201 pub const INIT: InnerWaitQueue = InnerWaitQueue { constant
25 wait_queue: WaitQueue::INIT, in new()
72 pub const INIT: RawSpinlock = RawSpinlock(AtomicBool::new(false)); constant181 lock: RawSpinlock::INIT, in new()
44 read_wait_queue: WaitQueue::INIT, in new()45 write_wait_queue: WaitQueue::INIT, in new()
50 lock: RawSpinlock::INIT, in new()
54 lock: RawSpinlock::INIT, in new()
27 pub static ref SOCKET_WAITQUEUE: WaitQueue = WaitQueue::INIT;