Home
last modified time | relevance | path

Searched refs:try_access (Results 1 – 3 of 3) sorted by relevance

/linux/rust/kernel/
H A Ddevres.rs349 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> { in try_access() method
350 self.data().try_access() in try_access()
487 pub fn try_access(&self) -> Option<DevresGuard<'_, F>> { in try_access() function
488 self.0.data().try_access().map(DevresGuard) in try_access()
H A Drevocable.rs43 /// let guard = v.try_access()?;
108 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> { in try_access()
140 /// guard is dropped afterwards. [`Self::try_access`] carries the risk that the caller will in try_access_with()
150 self.try_access().map(|t| f(&*t)) in access()
186 /// Access to the object is revoked immediately to new callers of [`Revocable::try_access`],
204 /// Access to the object is revoked immediately to new callers of [`Revocable::try_access`]. in revoke()
207 /// [`Revocable::try_access`] beforehand and still haven't dropped the returned guard), this in revoke()
99 pub fn try_access(&self) -> Option<RevocableGuard<'_, T>> { try_access() method
/linux/rust/kernel/irq/
H A Drequest.rs