Searched refs:PinInit (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/rust/kernel/ |
H A D | init.rs | 768 pub unsafe trait PinInit<T: ?Sized, E = Infallible>: Sized { interface 835 I: PinInit<T, E>, 883 pub unsafe trait Init<T: ?Sized, E = Infallible>: PinInit<T, E> { 952 unsafe impl<T: ?Sized, E, I, F> PinInit<T, E> for ChainInit<I, F, T, E> 978 ) -> impl PinInit<T, E> { in pin_init_from_closure() 1065 ) -> impl PinInit<[T; N], E> in pin_init_array_from_fn() 1067 I: PinInit<T, E>, 1106 unsafe impl<T, E> PinInit<T, E> for T { 1118 fn try_pin_init<E>(init: impl PinInit<T, E>) -> Result<Pin<Self>, E> in try_pin_init() 1126 fn pin_init<E>(init: impl PinInit<T, E>) -> error::Result<Pin<Self>> in pin_init() [all …]
|
H A D | prelude.rs | 38 pub use super::init::{InPlaceInit, Init, PinInit};
|
H A D | types.rs | 5 use crate::init::{self, PinInit}; 239 pub fn ffi_init(init_func: impl FnOnce(*mut T)) -> impl PinInit<Self> { in ffi_init()
|
/openbmc/linux/rust/kernel/sync/ |
H A D | condvar.rs | 9 use crate::{bindings, init::PinInit, pin_init, str::CStr, types::Opaque}; 95 pub fn new(name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
|
H A D | lock.rs | 9 use crate::{bindings, init::PinInit, pin_init, str::CStr, types::Opaque, types::ScopeGuard}; 103 pub fn new(t: T, name: &'static CStr, key: &'static LockClassKey) -> impl PinInit<Self> { in new()
|
H A D | arc.rs | 21 init::{self, InPlaceInit, Init, PinInit}, 184 pub fn pin_init<E>(init: impl PinInit<T, E>) -> error::Result<Self> in pin_init() 578 init: impl PinInit<T, E>, in pin_init_with()
|
/openbmc/linux/rust/kernel/init/ |
H A D | __internal.rs | 37 unsafe impl<T: ?Sized, F, E> PinInit<T, E> for InitClosure<F, T, E> 165 pub fn init<E>(self: Pin<&mut Self>, init: impl PinInit<T, E>) -> Result<Pin<&mut T>, E> { in init()
|
H A D | macros.rs | 981 init: impl $crate::init::PinInit<$p_type, E>, 983 unsafe { $crate::init::PinInit::__pinned_init(init, slot) }
|