Home
last modified time | relevance | path

Searched refs:boxed (Results 1 – 4 of 4) sorted by relevance

/linux/rust/kernel/
H A Dauxiliary.rs456 let boxed: KBox<Opaque<bindings::auxiliary_device>> = KBox::zeroed(GFP_KERNEL)?;
457 let adev = boxed.get();
475 let _ = KBox::into_raw(boxed);
349 let boxed = KBox::new(Opaque::<bindings::auxiliary_device>::zeroed(), GFP_KERNEL)?; new() localVariable
/linux/rust/syn/
H A Dpat.rs560 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()
/linux/rust/pin-init/src/
H A Dalloc.rs4 use alloc::{boxed::Box, sync::Arc};
/linux/rust/pin-init/
H A DREADME.md247 [`Box<T>`]: https://doc.rust-lang.org/stable/alloc/boxed/struct.Box.html