Home
last modified time | relevance | path

Searched refs:try_pin_init (Results 1 – 17 of 17) sorted by relevance

/rust/kernel/
A Dinit.rs147 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self::PinnedSelf, E> in try_pin_init() method
163 Self::try_pin_init(init, flags) in pin_init()
282 macro_rules! try_pin_init { macro
286 ::pin_init::try_pin_init!($(&$this in)? $t $(::<$($generics),*>)? {
293 ::pin_init::try_pin_init!($(&$this in)? $t $(::<$($generics),*>)? {
A Ddriver.rs9 use crate::{acpi, device, of, str::CStr, try_pin_init, types::Opaque, ThisModule};
74 try_pin_init!(Self { in new()
118 $crate::try_pin_init!(Self {
A Dprelude.rs38 pub use super::{try_init, try_pin_init};
A Ddevres.rs139 try_pin_init!(&this in Self { in new()
157 Opaque::pin_init(try_pin_init!(Inner { in new()
A Drevocable.rs86 try_pin_init!(Self { in new()
A Dconfigfs.rs153 try_pin_init!(Self { in new()
263 try_pin_init!(Self { in new()
362 let child_group = <Arc<Group<Child>> as InPlaceInit<Group<Child>>>::try_pin_init( in make_group()
A Dmiscdevice.rs72 try_pin_init!(Self { in register()
/rust/pin-init/src/
A Dalloc.rs30 fn try_pin_init<E>(init: impl PinInit<T, E>) -> Result<Pin<Self>, E> in try_pin_init() method
46 Self::try_pin_init(init) in pin_init()
82 fn try_pin_init<E>(init: impl PinInit<T, E>) -> Result<Pin<Self>, E> in try_pin_init() method
100 fn try_pin_init<E>(init: impl PinInit<T, E>) -> Result<Pin<Self>, E> in try_pin_init() method
A Dlib.rs784 $crate::try_pin_init!($(&$this in)? $t $(::<$($generics),*>)? {
831 macro_rules! try_pin_init { macro
/rust/kernel/block/mq/
A Dtag_set.rs13 prelude::try_pin_init,
63 try_pin_init!(TagSet { in new()
/rust/pin-init/examples/
A Dlinked_list.rs35 try_pin_init!(&this in Self { in new()
45 try_pin_init!(&this in Self { in insert_next()
54 try_pin_init!(&this in Self { in insert_prev()
A Dpthread_mutex.rs101 try_pin_init!(Self { in new()
155 let mtx: Pin<Arc<PThreadMutex<usize>>> = Arc::try_pin_init(PThreadMutex::new(0)).unwrap(); in main()
/rust/kernel/sync/
A Darc.rs211 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self::PinnedSelf, E> in try_pin_init() method
215 UniqueArc::try_pin_init(init, flags).map(|u| u.into()) in try_pin_init()
726 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self::PinnedSelf, E> in try_pin_init() method
/rust/kernel/drm/gem/
A Dmod.rs234 try_pin_init!(Self { in new()
/rust/kernel/list/
A Darc.rs187 Ok(Self::from(UniqueArc::try_pin_init(init, flags)?)) in pin_init()
/rust/kernel/alloc/
A Dkbox.rs387 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Pin<Self>, E> in try_pin_init() function
/rust/pin-init/
A DREADME.md126 try_pin_init!(Self {

Completed in 783 milliseconds