| /linux/rust/kernel/alloc/ |
| H A D | kbox.rs | 81 pub struct Box<#[cfg_attr(CONFIG_RUSTC_HAS_COERCE_POINTEE, pointee)] T: ?Sized, A: Allocator>( struct 89 impl<T, U, A> core::ops::CoerceUnsized<Box<U, A>> for Box<T, A> implementation 100 impl<T, U, A> core::ops::DispatchFromDyn<Box<U, A>> for Box<T, A> implementation 118 pub type KBox<T> = Box<T, super::allocator::Kmalloc>; 130 pub type VBox<T> = Box<T, super::allocator::Vmalloc>; 142 pub type KVBox<T> = Box<T, super::allocator::KVmalloc>; 146 unsafe impl<T, A: Allocator> ZeroableOption for Box<T, A> {} implementation 149 unsafe impl<T, A> Send for Box<T, A> implementation 157 unsafe impl<T, A> Sync for Box<T, A> implementation 164 impl<T, A> Box<T, A> impl [all …]
|
| H A D | allocator.rs | 274 struct TestAlign<T, A: Allocator>(Box<MaybeUninit<T>, A>); in test_alignment() 277 Ok(Self(Box::<_, A>::new_uninit(GFP_KERNEL)?)) in test_alignment()
|
| /linux/rust/syn/ |
| H A D | lit.rs | 61 repr: Box<LitRepr>, 68 repr: Box<LitRepr>, 75 repr: Box<LitRepr>, 82 repr: Box<LitRepr>, 89 repr: Box<LitRepr>, 95 suffix: Box<str>, 101 repr: Box<LitIntRepr>, 107 digits: Box<str>, 108 suffix: Box<str>, 116 repr: Box<LitFloatRepr>, [all …]
|
| H A D | expr.rs | 286 pub left: Box<Expr>, 288 pub right: Box<Expr>, 308 pub base: Box<Expr>, 319 pub left: Box<Expr>, 321 pub right: Box<Expr>, 343 pub expr: Option<Box<Expr>>, 352 pub func: Box<Expr>, 363 pub expr: Box<Expr>, 365 pub ty: Box<Type>, 383 pub body: Box<Expr>, [all …]
|
| H A D | punctuated.rs | 51 last: Option<Box<T>>, 123 inner: Box::new(NoDrop::new(PrivateIter { in iter() 125 last: self.last.as_ref().map(Box::as_ref).into_iter(), in iter() 134 inner: Box::new(NoDrop::new(PrivateIterMut { in iter_mut() 136 last: self.last.as_mut().map(Box::as_mut).into_iter(), in iter_mut() 146 last: self.last.as_ref().map(Box::as_ref).into_iter(), in pairs() 155 last: self.last.as_mut().map(Box::as_mut).into_iter(), in pairs_mut() 186 self.last = Some(Box::new(value)); in push_value() 223 self.last = Some(Box::new(t)); in pop_punct() 511 punctuated.last = Some(Box::new(a)); in do_extend() [all …]
|
| H A D | pat.rs | 117 pub subpat: Option<(Token![@], Box<Pat>)>, 137 pub pat: Box<Pat>, 148 pub pat: Box<Pat>, 211 pub pat: Box<Pat>, 213 pub ty: Box<Type>, 236 pub pat: Box<Pat>, 392 pat: Box::new(Pat::parse_single(input)?), in parse() 487 Some((at_token, Box::new(subpat))) in pat_ident() 577 pat: Box::new(Pat::parse_multi_with_leading_vert(input)?), in field_pat() 602 pat: Box::new(pat), in field_pat() [all …]
|
| H A D | ty.rs | 99 pub elem: Box<Type>, 125 pub elem: Box<Type>, 168 pub elem: Box<Type>, 189 pub elem: Box<Type>, 200 pub elem: Box<Type>, 209 pub elem: Box<Type>, 271 Type(Token![->], Box<Type>), 355 group.elem = Box::new(Type::Path(ty)); in ambig_ty() 393 elem: Box::new(Type::TraitObject(content.parse()?)), in ambig_ty() 500 elem: Box::new(first), in ambig_ty() [all …]
|
| H A D | restriction.rs | 37 pub path: Box<Path>, 119 path: Box::new(Path::from(path)), in parse_pub() 131 path: Box::new(path), in parse_pub()
|
| H A D | stmt.rs | 63 pub expr: Box<Expr>, 64 pub diverge: Option<(Token![else], Box<Expr>)>, 294 pat: Box::new(pat), in stmt_local() 296 ty: Box::new(ty), in stmt_local() 311 Some((else_token, Box::new(Expr::Block(diverge)))) in stmt_local() 318 expr: Box::new(expr), in stmt_local()
|
| H A D | parse_quote.rs | 218 impl ParseQuote for Box<Pat> { implementation 220 <Pat as ParseQuote>::parse(input).map(Box::new) in parse()
|
| H A D | item.rs | 113 pub ty: Box<Type>, 115 pub expr: Box<Expr>, 155 pub block: Box<Block>, 184 pub self_ty: Box<Type>, 226 pub ty: Box<Type>, 228 pub expr: Box<Expr>, 291 pub ty: Box<Type>, 459 pub tree: Box<UseTree>, 565 pub ty: Box<Type>, 849 pub ty: Box<Type>, [all …]
|
| /linux/rust/pin-init/src/ |
| H A D | alloc.rs | 4 use alloc::{boxed::Box, sync::Arc}; 22 unsafe impl<T> ZeroableOption for Box<T> {} implementation 80 impl<T> InPlaceInit<T> for Box<T> { implementation 86 try_new_uninit!(Box).write_pin_init(init) in try_pin_init() 94 try_new_uninit!(Box).write_init(init) in try_init() 136 impl<T> InPlaceWrite<T> for Box<MaybeUninit<T>> { implementation 137 type Initialized = Box<T>;
|
| /linux/drivers/virt/vboxguest/ |
| H A D | Kconfig | 3 tristate "Virtual Box Guest integration support" 7 This is a driver for the Virtual Box Guest PCI device used in 8 Virtual Box virtual machines. Enabling this driver will add 9 support for Virtual Box Guest integration features such as
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-intel_sdsi | 4 Contact: "David E. Box" <david.e.box@linux.intel.com> 33 Contact: "David E. Box" <david.e.box@linux.intel.com> 43 Contact: "David E. Box" <david.e.box@linux.intel.com> 54 Contact: "David E. Box" <david.e.box@linux.intel.com> 63 Contact: "David E. Box" <david.e.box@linux.intel.com> 75 Contact: "David E. Box" <david.e.box@linux.intel.com> 85 Contact: "David E. Box" <david.e.box@linux.intel.com>
|
| H A D | sysfs-class-intel_pmt | 4 Contact: David Box <david.e.box@linux.intel.com> 13 Contact: David Box <david.e.box@linux.intel.com> 26 Contact: David Box <david.e.box@linux.intel.com> 34 Contact: David Box <david.e.box@linux.intel.com> 43 Contact: David Box <david.e.box@linux.intel.com> 51 Contact: David Box <david.e.box@linux.intel.com> 72 Contact: David Box <david.e.box@linux.intel.com>
|
| H A D | sysfs-platform-brcmstb-gisb-arb | 7 Broadcom Set Top Box internal GISB bus arbiter. Minimum value
|
| /linux/rust/kernel/debugfs/ |
| H A D | traits.rs | 83 impl<T, A> BinaryWriter for Box<T, A> implementation 98 impl<T, A> BinaryWriter for Pin<Box<T, A>> 224 impl<T: ?Sized + BinaryReaderMut, A: Allocator> BinaryReaderMut for Box<T, A> { implementation 289 impl<T: ?Sized + BinaryReader, A: Allocator> BinaryReader for Box<T, A> { implementation 300 impl<T: ?Sized + BinaryReader, A: Allocator> BinaryReader for Pin<Box<T, A>> {
|
| /linux/rust/pin-init/examples/ |
| H A D | big_struct_in_place.rs | 32 let buf: Box<BigStruct> = Box::init(init!(BigStruct { in main()
|
| H A D | linked_list.rs | 151 let a = Box::pin_init(ListHead::new())?; in main() 155 let e = Box::pin_init(ListHead::insert_next(&b))?; in main()
|
| /linux/rust/syn/gen/ |
| H A D | fold.rs | 1064 guard: (node.guard).map(|it| ((it).0, Box::new(f.fold_expr(*(it).1)))), in fold_arm() 1066 body: Box::new(f.fold_expr(*node.body)), in fold_arm() 1460 left: Box::new(f.fold_expr(*node.left)), in fold_expr_assign() 1462 right: Box::new(f.fold_expr(*node.right)), in fold_expr_assign() 1486 base: Box::new(f.fold_expr(*node.base)), in fold_expr_await() 1499 left: Box::new(f.fold_expr(*node.left)), in fold_expr_binary() 1501 right: Box::new(f.fold_expr(*node.right)), in fold_expr_binary() 1526 expr: (node.expr).map(|it| Box::new(f.fold_expr(*it))), in fold_expr_break() 1537 func: Box::new(f.fold_expr(*node.func)), in fold_expr_call() 1550 expr: Box::new(f.fold_expr(*node.expr)), in fold_expr_cast() [all …]
|
| /linux/rust/proc-macro2/ |
| H A D | detection.rs | 64 let null_hook: Box<PanicHook> = Box::new(|_panic_info| { /* ignore */ }); in initialize()
|
| /linux/rust/pin-init/ |
| H A D | README.md | 52 will require the `std` feature, because stable compilers have neither `Box` nor `Arc` in no-std 66 [`Box<T>`] or any other smart pointer that supports this library). 112 let foo: Result<Pin<Box<Foo>>, AllocError> = Box::pin_init(foo); 133 buffer: Box<[u8; 1_000_000]>, 140 buffer: Box::init(pin_init::init_zeroed())?, 248 [`Box<T>`]: https://doc.rust-lang.org/stable/alloc/boxed/struct.Box.html
|
| /linux/Documentation/admin-guide/media/ |
| H A D | em28xx-cardlist.rst | 262 - Pixelview PlayTV Box 4 USB 2.0 294 - KWorld ATSC 315U HDTV TV Box 310 - Reddo DVB-C USB TV Box 446 - MyGica UTV3 Analog USB2.0 TV Box
|
| /linux/drivers/soc/bcm/ |
| H A D | Kconfig | 9 Enables drivers for the Broadcom Set-Top Box (STB) series of chips.
|
| /linux/arch/x86/crypto/ |
| H A D | Kconfig | 192 we can use the AES S-Box to simulate the SM4 S-Box to achieve the 213 we can use the AES S-Box to simulate the SM4 S-Box to achieve the
|