diff options
| author | Eliot Courtney <ecourtney@nvidia.com> | 2026-09-30 11:42:55 +0900 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-10-13 12:52:26 +0200 |
| commit | b666bd22be8f211aceeeb8fbc827ebdb7abe98c0 (patch) | |
| tree | 1edc745eaa2a9ee91a3ee105ad0b31ebeac9a823 /rust/zerocopy/src/pointer | |
| parent | d21cfabdd8aee0a837d31d945844e5c177154389 (diff) | |
| download | linux-next-b666bd22be8f211aceeeb8fbc827ebdb7abe98c0.tar.gz linux-next-b666bd22be8f211aceeeb8fbc827ebdb7abe98c0.zip | |
rust: bitmap: add contiguous area operations
Add bindings for area operations on bitmaps. Each one is
made safe by adding some extra checks compared to the underlying C code
(for example, checking bounds) and with additional checks to catch
likely erroneous usage if `CONFIG_RUST_BITMAP_HARDENED` is on.
Add tests demonstrating the edge cases.
Reviewed-by: Burak Emir <burak.emir@gmail.com>
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Reviewed-by: Yury Norov <yury.norov@gmail.com>
Link: https://patch.msgid.link/20260930-chid-v9-6-0d6cca376cff@nvidia.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/zerocopy/src/pointer')
0 files changed, 0 insertions, 0 deletions
