Home
last modified time | relevance | path

Searched refs:Revocable (Results 1 – 2 of 2) sorted by relevance

/linux/rust/kernel/
H A Drevocable.rs67 pub struct Revocable<T> { struct
76 unsafe impl<T: Send> Send for Revocable<T> {} implementation
81 unsafe impl<T: Sync + Send> Sync for Revocable<T> {} implementation
83 impl<T> Revocable<T> { impl
212 impl<T> PinnedDrop for Revocable<T> { implementation
H A Ddevres.rs18 Revocable,
32 /// Inner type that embeds a `struct devres_node` and the `Revocable<T>`.
39 data: Revocable<T>,
51 /// [`Device`] is unbound, revoking access to the encapsulated resource (see also [`Revocable`]).
191 /// (revoked)[`Revocable`] once the device is detached. in data()
215 core::mem::size_of::<Revocable<T>>(), in remove_action()
219 data <- Revocable::new(data), in remove_action()
240 fn data(&self) -> &Revocable<T> {
283 /// Obtain `&'a T`, bypassing the [`Revocable`]. in try_access_with_guard()
285 /// This method allows to directly obtain a `&'a T`, bypassing the [`Revocable`], b
[all...]