Searched refs:try_pin_init (Results 1 – 17 of 17) sorted by relevance
| /rust/kernel/ |
| A D | init.rs | 147 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 D | driver.rs | 9 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 D | prelude.rs | 38 pub use super::{try_init, try_pin_init};
|
| A D | devres.rs | 139 try_pin_init!(&this in Self { in new() 157 Opaque::pin_init(try_pin_init!(Inner { in new()
|
| A D | revocable.rs | 86 try_pin_init!(Self { in new()
|
| A D | configfs.rs | 153 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 D | miscdevice.rs | 72 try_pin_init!(Self { in register()
|
| /rust/pin-init/src/ |
| A D | alloc.rs | 30 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 D | lib.rs | 784 $crate::try_pin_init!($(&$this in)? $t $(::<$($generics),*>)? { 831 macro_rules! try_pin_init { macro
|
| /rust/kernel/block/mq/ |
| A D | tag_set.rs | 13 prelude::try_pin_init, 63 try_pin_init!(TagSet { in new()
|
| /rust/pin-init/examples/ |
| A D | linked_list.rs | 35 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 D | pthread_mutex.rs | 101 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 D | arc.rs | 211 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 D | mod.rs | 234 try_pin_init!(Self { in new()
|
| /rust/kernel/list/ |
| A D | arc.rs | 187 Ok(Self::from(UniqueArc::try_pin_init(init, flags)?)) in pin_init()
|
| /rust/kernel/alloc/ |
| A D | kbox.rs | 387 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 D | README.md | 126 try_pin_init!(Self {
|
Completed in 783 milliseconds