Home
last modified time | relevance | path

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

/linux-6.15/rust/kernel/
H A Dinit.rs175 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method
188 Self::try_init(init, flags) in init()
230 macro_rules! try_init { macro
234 ::pin_init::try_init!($(&$this in)? $t $(::<$($generics),* $(,)?>)? {
241 ::pin_init::try_init!($(&$this in)? $t $(::<$($generics),* $(,)?>)? {
H A Dprelude.rs33 pub use super::{try_init, try_pin_init};
/linux-6.15/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.rs839 $crate::try_init!($(&$this in)? $t $(::<$($generics),*>)? {
884 macro_rules! try_init { macro
/linux-6.15/rust/kernel/sync/
H A Darc.rs23 try_init,
217 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method
221 UniqueArc::try_init(init, flags).map(|u| u.into()) in try_init()
703 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method
745 let inner = KBox::try_init::<AllocError>( in new_uninit()
746 try_init!(ArcInner { in new_uninit()
/linux-6.15/rust/kernel/list/
H A Darc.rs198 Ok(Self::from(UniqueArc::try_init(init, flags)?)) in init()
/linux-6.15/rust/kernel/alloc/
H A Dkbox.rs355 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() function