Searched defs:Guard (Results 1 – 2 of 2) sorted by relevance
| /linux/rust/kernel/sync/ |
| H A D | lock.rs | 198 pub struct Guard<'a, T: ?Sized, B: Backend> { struct 200 pub(crate) state: B::GuardState, argument 204 // SAFETY: `Guard` is sync when the data protected by the lock is also sync. argument 205 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} implementation 207 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { impl 275 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> { implementation 284 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> implementation 294 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> { implementation 301 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { implementation
|
| /linux/rust/kernel/ |
| H A D | xarray.rs | 150 pub struct Guard<'a, T: ForeignOwnable> { struct 155 impl<T: ForeignOwnable> Drop for Guard<'_, T> { argument 180 impl<'a, T: ForeignOwnable> Guard<'a, T> { implementation
|