linux/samples/rust
Gary Guo f84ecffa3f rust: dma: add zeroed constructor to `Coherent`
These constructors create a coherent container of a single object
instead of slice. They are named `zeroed` and `zeroed_with_attrs` to
emphasis that they are created initialized zeroed. It is intended that
there'll be new constructors that take `PinInit` instead of zeroing.

Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260320194626.36263-4-dakr@kernel.org
[ Use kernel import style. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2026-03-23 22:33:23 +01:00
..
hostprogs
Kconfig
Makefile
rust_configfs.rs
rust_debugfs.rs
rust_debugfs_scoped.rs
rust_dma.rs rust: dma: add zeroed constructor to `Coherent` 2026-03-23 22:33:23 +01:00
rust_driver_auxiliary.rs
rust_driver_faux.rs
rust_driver_i2c.rs
rust_driver_pci.rs sample: rust: pci: use `register!` macro 2026-03-17 20:04:11 +01:00
rust_driver_platform.rs
rust_driver_usb.rs
rust_i2c_client.rs
rust_minimal.rs
rust_misc_device.rs
rust_print_events.c
rust_print_main.rs
rust_soc.rs