Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dinit.rs166 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method
179 Self::try_init(init, flags) in init()
221 macro_rules! try_init { macro
225 ::pin_init::try_init!($(&$this in)? $t $(::<$($generics),*>)? {
232 ::pin_init::try_init!($(&$this in)? $t $(::<$($generics),*>)? {
H A Dprelude.rs40 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.rs893 $crate::try_init!($(&$this in)? $t $(::<$($generics),*>)? {
938 macro_rules! try_init { macro
/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.rs473 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() function