Searched refs:try_init (Results 1 – 8 of 8) sorted by relevance
| /linux/rust/kernel/ |
| H A D | init.rs | 166 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 D | prelude.rs | 40 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
|
| /linux/rust/kernel/sync/ |
| H A D | arc.rs | 25 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 D | commands.rs | 23 let init_inner = try_init!(InnerGspSystemInfo { in init() 44 try_init!(GspSetSystemInfo { in init()
|
| /linux/drivers/gpu/nova-core/gsp/ |
| H A D | fw.rs | 822 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 D | arc.rs | 198 Ok(Self::from(UniqueArc::try_init(init, flags)?)) in init()
|
| /linux/rust/kernel/alloc/ |
| H A D | kbox.rs | 473 fn try_init<E>(init: impl Init<T, E>, flags: Flags) -> Result<Self, E> in try_init() function
|