Home
last modified time | relevance | path

Searched refs:try_init (Results 1 – 8 of 8) 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()
208 /// try_init!(Self {
221 macro_rules! try_init { macro
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
/linux/rust/kernel/sync/
H A Darc.rs25 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()
721 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method
763 let inner = KBox::try_init::<AllocError>( in new_uninit()
764 try_init!(ArcInner { in new_uninit()
/linux/drivers/gpu/nova-core/gsp/fw/
H A Dcommands.rs23 let init_inner = try_init!(InnerGspSystemInfo { in init()
44 try_init!(GspSetSystemInfo { in init()
/linux/drivers/gpu/nova-core/gsp/
H A Dfw.rs822 try_init!(RpcMessageHeader { in init()
861 let init_inner = try_init!(InnerGspMsgElement { in init()
873 try_init!(GspMsgElement { in 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.rs473 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() function