Lines Matching refs:guard
160 Some(guard) => return guard, in read()
171 Some(mut guard) => { in read_irqsave()
172 guard.irq_guard = Some(irq_guard); in read_irqsave()
173 return guard; in read_irqsave()
183 if let Some(mut guard) = self.try_read() { in try_read_irqsave()
184 guard.irq_guard = Some(irq_guard); in try_read_irqsave()
185 return Some(guard); in try_read_irqsave()
262 Some(guard) => return guard, in write()
275 Some(mut guard) => { in write_irqsave()
276 guard.irq_guard = Some(irq_guard); in write_irqsave()
277 return guard; in write_irqsave()
331 Some(guard) => return guard, in upgradeable_read()
343 Some(mut guard) => { in upgradeable_read_irqsave()
344 guard.irq_guard = Some(irq_guard); in upgradeable_read_irqsave()
345 return guard; in upgradeable_read_irqsave()