Lines Matching defs:self
75 pub fn lock(&self) { in lock()
80 pub fn lock_irq(&self) { in lock_irq()
105 pub fn unlock(&self) { in unlock()
112 unsafe fn unlock_no_preempt(&self) { in unlock_no_preempt()
117 pub fn unlock_irq(&self) { in unlock_irq()
132 pub unsafe fn set_value(&mut self, value: bool) { in set_value()
137 pub fn lock_irqsave(&self, flags: &mut usize) { in lock_irqsave()
143 pub fn unlock_irqrestore(&self, flags: usize) { in unlock_irqrestore()
152 pub fn try_lock_irqsave(&self, flags: &mut usize) -> bool { in try_lock_irqsave()
257 pub unsafe fn force_unlock(&self) { in force_unlock()
280 fn drop(&mut self) { in drop()