Searched defs:Guard (Results 1 – 2 of 2) sorted by relevance
| /linux/rust/kernel/sync/ |
| H A D | lock.rs | 207 // SAFETY: `Guard` is sync when the data protected by the lock is also sync. implementation 198 pub struct Guard<'a, T: ?Sized, B: Backend> { global() struct 200 stateGuard global() argument 204 _not_sendGuard global() argument 205 unsafe impl<T: Sync + ?Sized, B: Backend> Sync for Guard<'_, T, B> {} global() implementation 275 impl<T: ?Sized, B: Backend> core::ops::Deref for Guard<'_, T, B> { global() implementation 284 impl<T: ?Sized, B: Backend> core::ops::DerefMut for Guard<'_, T, B> global() implementation 294 impl<T: ?Sized, B: Backend> Drop for Guard<'_, T, B> { global() implementation 301 impl<'a, T: ?Sized, B: Backend> Guard<'a, T, B> { global() implementation [all...] |
| /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
|