Home
last modified time | relevance | path

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

/rust/kernel/sync/
A Drcu.rs16 pub struct Guard(NotThreadSafe); struct
18 impl Guard { impls
33 impl Default for Guard { implementation
40 impl Drop for Guard { implementation
A Dlock.rs193 pub struct Guard<'a, T: ?Sized, B: Backend> { struct
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> { implementation
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> { implementation
/rust/kernel/
A Dxarray.rs150 pub struct Guard<'a, T: ForeignOwnable> { struct
155 impl<T: ForeignOwnable> Drop for Guard<'_, T> { implementation
180 impl<'a, T: ForeignOwnable> Guard<'a, T> { impls

Completed in 5 milliseconds