Home
last modified time | relevance | path

Searched refs:try_init (Results 1 – 6 of 6) sorted by relevance

/linux/rust/pin-init/src/
H A Dalloc.rs50 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init() method
63 Self::try_init(init) in init()
90 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init() method
118 fn try_init<E>(init: impl Init<T, E>) -> Result<Self, E> in try_init() method
H A Dlib.rs851 /// [`try_init!`].
891 $crate::try_init!($(&$this in)? $t $(::<$($generics),*>)? {
916 /// use pin_init::{try_init, Init, init_zeroed};
925 /// try_init!(Self {
936 macro_rules! try_init { macro
/linux/rust/kernel/sync/
H A Darc.rs24 try_init,
219 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method
223 UniqueArc::try_init(init, flags).map(|u| u.into()) in try_init()
734 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method
776 let inner = KBox::try_init::<AllocError>( in new_uninit()
777 try_init!(ArcInner { in new_uninit()
/linux/rust/kernel/
H A Dprelude.rs38 pub use super::{try_init, try_pin_init};
/linux/rust/kernel/list/
H A Darc.rs198 Ok(Self::from(UniqueArc::try_init(init, flags)?)) in init()
/linux/rust/kernel/alloc/
H A Dkbox.rs395 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() function