Home
last modified time | relevance | path

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

/linux-6.14.4/rust/kernel/sync/
Dlock.rs193 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<T: ?Sized, B: Backend> Guard<'_, T, B> { impl
215 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> { implementation
224 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> { implementation
231 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> { implementation
238 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { implementation
Drcu.rs16 pub struct Guard(NotThreadSafe); struct
18 impl Guard { implementation
31 impl Default for Guard { implementation
37 impl Drop for Guard { implementation