Searched full:boxed (Results 1 – 13 of 13) sorted by relevance
| /linux/rust/kernel/ |
| H A D | auxiliary.rs | 490 let boxed: KBox<Opaque<bindings::auxiliary_device>> = KBox::zeroed(GFP_KERNEL)?; 491 let adev = boxed.get(); 509 let _ = KBox::into_raw(boxed); 349 let boxed = KBox::new(Opaque::<bindings::auxiliary_device>::zeroed(), GFP_KERNEL)?; new() localVariable
|
| H A D | dma.rs | 373 /// like a normal boxed allocation (e.g. direct reads, writes, and mutable slices are all safe).
|
| /linux/rust/syn/ |
| H A D | pat.rs | 560 let boxed: Option<Token![box]> = input.parse()?; in field_pat() localVariable 564 let member = if boxed.is_some() || by_ref.is_some() || mutability.is_some() { in field_pat() 570 if boxed.is_none() && by_ref.is_none() && mutability.is_none() && input.peek(Token![:]) in field_pat() 586 let pat = if boxed.is_some() { in field_pat()
|
| H A D | parse_quote.rs | 108 /// -> ::std::pin::Pin<::std::boxed::Box<dyn ::std::future::Future<Output = #ret>>>
|
| /linux/rust/pin-init/src/ |
| H A D | alloc.rs | 4 use alloc::{boxed::Box, sync::Arc};
|
| H A D | lib.rs | 258 #![cfg_attr(not(kernel), doc = "[`Box<T>`]: alloc::alloc::boxed::Box")] 909 #[cfg_attr(not(kernel), doc = "[`Box<T>`]: alloc::alloc::boxed::Box")] 1043 #[cfg_attr(not(kernel), doc = "[`Box<T>`]: alloc::alloc::boxed::Box")]
|
| /linux/arch/s390/include/asm/ |
| H A D | ccwdev.h | 169 /* Allow forced onlining of boxed devices. */
|
| /linux/rust/kernel/sync/ |
| H A D | condvar.rs | 71 /// /// Allocates a new boxed `Example`.
|
| /linux/rust/pin-init/ |
| H A D | README.md | 247 [`Box<T>`]: https://doc.rust-lang.org/stable/alloc/boxed/struct.Box.html
|
| /linux/drivers/s390/cio/ |
| H A D | device_fsm.c | 347 CIO_MSG_EVENT(0, "Boxed device %04x on subchannel %04x\n", in ccw_device_done() 693 * Handle path verification event in boxed state.
|
| /linux/rust/zerocopy/src/util/ |
| H A D | mod.rs | 389 ) -> Result<alloc::boxed::Box<T>, AllocError> in new_box() 467 Ok(unsafe { alloc::boxed::Box::from_raw(ptr.as_ptr()) }) in new_box()
|
| /linux/rust/kernel/alloc/ |
| H A D | kbox.rs | 347 /// // Allocate a boxed slice of 10 `Example`s. in pin_slice()
|
| /linux/rust/zerocopy/src/ |
| H A D | lib.rs | 407 use alloc::{boxed::Box, vec::Vec}; 3620 // If `T` is a ZST, then return a proper boxed instance of it. There is in new_box_zeroed() 3635 // [1] Per https://doc.rust-lang.org/1.81.0/std/boxed/index.html#memory-layout: in new_box_zeroed() 3656 /// Creates a `Box<[Self]>` (a boxed slice) from zeroed bytes.
|