Searched refs:try_init (Results 1 – 7 of 7) sorted by relevance
/linux/rust/kernel/ |
H A D | init.rs | 167 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 D | prelude.rs | 38 pub use super::{try_init, try_pin_init};
|
/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 | 891 $crate::try_init!($(&$this in)? $t $(::<$($generics),*>)? { 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/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
|