Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dinit.rs167 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method
180 Self::try_init(init, flags) in init()
222 macro_rules! try_init { macro
226 ::pin_init::try_init!($(&$this in)? $t $(::<$($generics),*>)? {
233 ::pin_init::try_init!($(&$this in)? $t $(::<$($generics),*>)? {
H A Dprelude.rs38 pub use super::{try_init, try_pin_init};
/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.rs891 $crate::try_init!($(&$this in)? $t $(::<$($generics),*>)? {
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/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