| /linux-6.15/rust/kernel/ |
| H A D | init.rs | 155 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self::PinnedSelf, E> in try_pin_init() method 171 Self::try_pin_init(init, flags) in pin_init() 290 macro_rules! try_pin_init { macro 294 ::pin_init::try_pin_init!($(&$this in)? $t $(::<$($generics),* $(,)?>)? { 301 ::pin_init::try_pin_init!($(&$this in)? $t $(::<$($generics),* $(,)?>)? {
|
| H A D | driver.rs | 9 use crate::{device, of, str::CStr, try_pin_init, types::Opaque, ThisModule}; 74 try_pin_init!(Self { in new() 118 $crate::try_pin_init!(Self {
|
| H A D | prelude.rs | 33 pub use super::{try_init, try_pin_init};
|
| H A D | miscdevice.rs | 66 try_pin_init!(Self { in register()
|
| /linux-6.15/rust/pin-init/src/ |
| H 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
|
| H A D | lib.rs | 732 $crate::try_pin_init!($(&$this in)? $t $(::<$($generics),*>)? { 779 macro_rules! try_pin_init { macro
|
| /linux-6.15/samples/rust/ |
| H A D | rust_misc_device.rs | 139 try_pin_init!(Self { in init() 165 KBox::try_pin_init( in open() 166 try_pin_init! { in open()
|
| /linux-6.15/rust/pin-init/examples/ |
| H A D | linked_list.rs | 33 try_pin_init!(&this in Self { in new() 42 try_pin_init!(&this in Self { in insert_next() 51 try_pin_init!(&this in Self { in insert_prev()
|
| H A D | pthread_mutex.rs | 97 try_pin_init!(Self { in new() 149 let mtx: Pin<Arc<PThreadMutex<usize>>> = Arc::try_pin_init(PThreadMutex::new(0)).unwrap(); in main()
|
| /linux-6.15/rust/kernel/block/mq/ |
| H A D | tag_set.rs | 13 prelude::try_pin_init, 61 try_pin_init!(TagSet { in new()
|
| /linux-6.15/drivers/gpu/nova-core/ |
| H A D | driver.rs | 39 try_pin_init!(Self { in probe()
|
| /linux-6.15/drivers/block/ |
| H A D | rnull.rs | 57 try_pin_init!(Self { in init()
|
| /linux-6.15/rust/kernel/sync/ |
| H A D | arc.rs | 209 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self::PinnedSelf, E> in try_pin_init() method 213 UniqueArc::try_pin_init(init, flags).map(|u| u.into()) in try_pin_init() 695 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Self::PinnedSelf, E> in try_pin_init() method
|
| /linux-6.15/rust/kernel/list/ |
| H A D | arc.rs | 187 Ok(Self::from(UniqueArc::try_pin_init(init, flags)?)) in pin_init()
|
| /linux-6.15/rust/kernel/alloc/ |
| H A D | kbox.rs | 347 fn try_pin_init<E>(init: impl PinInit<T, E>, flags: Flags) -> Result<Pin<Self>, E> in try_pin_init() function
|
| /linux-6.15/rust/pin-init/ |
| H A D | README.md | 120 try_pin_init!(Self {
|