Searched refs:try_init (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/rust/kernel/ |
| H A D | init.rs | 175 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method 188 Self::try_init(init, flags) in init() 230 macro_rules! try_init { macro 234 ::pin_init::try_init!($(&$this in)? $t $(::<$($generics),* $(,)?>)? { 241 ::pin_init::try_init!($(&$this in)? $t $(::<$($generics),* $(,)?>)? {
|
| H A D | prelude.rs | 33 pub use super::{try_init, try_pin_init};
|
| /linux-6.15/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 | 839 $crate::try_init!($(&$this in)? $t $(::<$($generics),*>)? { 884 macro_rules! try_init { macro
|
| /linux-6.15/rust/kernel/sync/ |
| H A D | arc.rs | 23 try_init, 217 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method 221 UniqueArc::try_init(init, flags).map(|u| u.into()) in try_init() 703 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() method 745 let inner = KBox::try_init::<AllocError>( in new_uninit() 746 try_init!(ArcInner { in new_uninit()
|
| /linux-6.15/rust/kernel/list/ |
| H A D | arc.rs | 198 Ok(Self::from(UniqueArc::try_init(init, flags)?)) in init()
|
| /linux-6.15/rust/kernel/alloc/ |
| H A D | kbox.rs | 355 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() function
|