linux/rust/kernel/alloc
Onur Özkan f87de6919d rust: make kvec::Vec functions const fn
Makes various `kvec::Vec` functions `const fn`
to allow compile-time evaluation.

Signed-off-by: Onur Özkan <work@onurozkan.dev>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Link: https://lore.kernel.org/r/20250720094838.29530-4-work@onurozkan.dev
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2025-08-15 19:58:51 +02:00
..
kvec rust: alloc: add Vec::insert_within_capacity 2025-05-07 18:40:45 +02:00
allocator.rs rust: alloc: make ReallocFunc::call inline 2025-03-06 20:49:06 +01:00
allocator_test.rs rust: enable clippy::ptr_as_ptr lint 2025-06-22 23:08:42 +02:00
kbox.rs Alloc & DMA changes for v6.17 2025-07-15 23:42:55 +02:00
kvec.rs rust: make kvec::Vec functions const fn 2025-08-15 19:58:51 +02:00
layout.rs rust: make ArrayLayout::new_unchecked a const fn 2025-08-15 19:58:51 +02:00