Lines Matching refs:Some
145 return Some(RwLockReadGuard { in inner_try_read()
159 Some(guard) => return guard, in read()
170 Some(mut guard) => { in read_irqsave()
171 guard.irq_guard = Some(irq_guard); in read_irqsave()
182 if let Some(mut guard) = self.try_read() { in try_read_irqsave()
183 guard.irq_guard = Some(irq_guard); in try_read_irqsave()
184 return Some(guard); in try_read_irqsave()
226 g.irq_guard = Some(irq_guard); in try_write_irqsave()
245 return Some(RwLockWriteGuard { in inner_try_write()
261 Some(guard) => return guard, in write()
274 Some(mut guard) => { in write_irqsave()
275 guard.irq_guard = Some(irq_guard); in write_irqsave()
304 r.as_mut().unwrap().irq_guard = Some(irq_guard); in try_upgradeable_read_irqsave()
314 return Some(RwLockUpgradableGuard { in inner_try_upgradeable_read()
330 Some(guard) => return guard, in upgradeable_read()
342 Some(mut guard) => { in upgradeable_read_irqsave()
343 guard.irq_guard = Some(irq_guard); in upgradeable_read_irqsave()