Home
last modified time | relevance | path

Searched defs:Guard (Results 1 – 1 of 1) sorted by relevance

/linux-6.8/rust/kernel/sync/
Dlock.rs132 pub struct Guard<'a, T: ?Sized, B: Backend> { struct
134 pub(crate) state: B::GuardState, argument
138 // SAFETY: `Guard` is sync when the data protected by the lock is also sync. argument
139 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} implementation
141 impl<T: ?Sized, B: Backend> Guard<'_, T, B> { impl
154 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> { implementation
163 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> { implementation
170 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> { implementation
177 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { implementation