Home
last modified time | relevance | path

Searched refs:unlock (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.5/kernel/src/libs/
Dlockref.rs138 self.lock.unlock(); in inc()
166 self.lock.unlock(); in inc_not_zero()
193 self.lock.unlock(); in inc_not_dead()
223 self.lock.unlock(); in dec()
283 self.lock.unlock(); in dec_not_zero()
312 self.lock.unlock(); in dec_or_lock_not_zero()
322 self.lock.unlock(); in mark_dead()
Dspinlock.rs104 pub fn unlock(&self) { in unlock() method
112 self.unlock(); in unlock_irq()
138 self.unlock(); in unlock_irqrestore()
198 self.lock.lock.unlock(); in drop()
Dmutex.rs114 fn unlock(&self) { in unlock() method
167 self.lock.unlock(); in drop()
/DragonOS-0.1.5/kernel/src/sched/
Drt.rs59 self.lock.unlock(); in enqueue()
63 self.lock.unlock(); in enqueue()
77 self.lock.unlock(); in dequeue()
85 self.lock.unlock(); in enqueue_front()
89 self.lock.unlock(); in enqueue_front()
Dcfs.rs73 self.lock.unlock(); in enqueue()
78 self.lock.unlock(); in enqueue()
92 self.lock.unlock(); in dequeue()
158 current_cpu_queue.lock.unlock(); in timer_update_jiffies()
/DragonOS-0.1.5/kernel/src/exception/
Dsoftirq.rs204 self.modify_lock.unlock(); in register_softirq()
217 self.modify_lock.unlock(); in unregister_softirq()
231 self.modify_lock.unlock(); in unregister_softirq()
248 self.modify_lock.unlock(); in do_softirq()
253 self.modify_lock.unlock(); in do_softirq()
/DragonOS-0.1.5/docs/kernel/locking/
Dspinlock.md19 需要先调用`lock()`方法,然后当离开临界区时,手动调用`unlock()`方法。我们并没有向编译器显式地指定该自旋锁到底保护的是哪些数据。