twx-linux/rust/kernel/alloc
Danilo Krummrich 671618432f rust: alloc: kbox: implement AsPageIter for VBox
Implement AsPageIter for VBox; this allows to iterate and borrow the
backing pages of a VBox. This, for instance, is useful in combination
with VBox backing a scatterlist.

Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250820145434.94745-6-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2025-09-04 23:33:50 +02:00
..
allocator rust: alloc: implement VmallocPageIter 2025-09-04 23:33:27 +02:00
kvec rust: alloc: add Vec::insert_within_capacity 2025-05-07 18:40:45 +02:00
allocator_test.rs rust: alloc: implement VmallocPageIter 2025-09-04 23:33:27 +02:00
allocator.rs rust: alloc: implement VmallocPageIter 2025-09-04 23:33:27 +02:00
kbox.rs rust: alloc: kbox: implement AsPageIter for VBox 2025-09-04 23:33:50 +02:00
kvec.rs Alloc & DMA changes for v6.17 2025-07-15 23:42:55 +02:00
layout.rs rust: alloc: add doctest for ArrayLayout::new() 2025-01-13 23:45:30 +01:00