Searched defs:Guard (Results 1 – 2 of 2) sorted by relevance
/linux/rust/kernel/sync/ |
H A D | lock.rs | 193 pub struct Guard<'a, T: ?Sized, B: Backend> { struct 195 pub(crate) state: B::GuardState, argument 199 // SAFETY: `Guard` is sync when the data protected by the lock is also sync. argument 200 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} implementation 202 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { impl 245 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> { implementation 254 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> { implementation 261 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> { implementation 268 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { impl
|
/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> { impl
|