Searched refs:unlock (Results 1 – 7 of 7) sorted by relevance
138 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()
104 pub fn unlock(&self) { in unlock() method112 self.unlock(); in unlock_irq()138 self.unlock(); in unlock_irqrestore()198 self.lock.lock.unlock(); in drop()
114 fn unlock(&self) { in unlock() method167 self.lock.unlock(); in drop()
59 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()
73 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()
204 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()
19 需要先调用`lock()`方法,然后当离开临界区时,手动调用`unlock()`方法。我们并没有向编译器显式地指定该自旋锁到底保护的是哪些数据。