Searched refs:try_init (Results 1 – 6 of 6) sorted by relevance
/linux/rust/pin-init/src/ |
H A D | alloc.rs | 50 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 D | lib.rs | 851 /// [`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 D | arc.rs | 24 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 D | prelude.rs | 38 pub use super::{try_init, try_pin_init};
|
/linux/rust/kernel/list/ |
H A D | arc.rs | 198 Ok(Self::from(UniqueArc::try_init(init, flags)?)) in init()
|
/linux/rust/kernel/alloc/ |
H A D | kbox.rs | 395 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() function
|