Home
last modified time | relevance | path

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

/linux-6.15/rust/kernel/sync/
Dlock.rs191 pub struct Guard<'a, T: ?Sized, B: Backend> { struct
193 pub(crate) state: B::GuardState, argument
197 // SAFETY: `Guard` is sync when the data protected by the lock is also sync. argument
198 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} implementation
200 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { implementation
243 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> { implementation
252 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> { implementation
259 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> { implementation
266 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