linux/rust
Eliot Courtney b666bd22be 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>
2026-10-13 12:52:26 +02:00
..
bindings rust: sync: add const constructor for raw_spinlock_t 2026-10-12 07:03:26 +02:00
helpers rust: add pr_*_ratelimited! macros for printing 2026-10-12 07:03:26 +02:00
kernel rust: bitmap: add contiguous area operations 2026-10-13 12:52:26 +02:00
macros rust: kunit: use line!() inside kunit_assert! 2026-10-03 14:04:56 +02:00
pin-init rust: pin-init: internal: suppress explicit_outlives_requirements 2026-10-12 00:27:53 +01:00
proc-macro2 rust: proc-macro2: enable proc_macro_span feature 2026-09-30 18:58:39 +01:00
quote rust: quote: add README.md 2025-11-24 17:15:43 +01:00
syn rust: syn: add README.md 2025-11-24 17:15:47 +01:00
uapi rust: allow unknown_lints in generated bindings for Rust < 1.88 2026-09-08 23:29:18 +02:00
zerocopy rust: zerocopy: update to v0.8.54 2026-07-11 13:46:02 +02:00
zerocopy-derive rust: zerocopy: update to v0.8.54 2026-07-11 13:46:02 +02:00
.gitignore rust: doctest: generate Rust kunit test suites 2026-10-03 14:04:56 +02:00
.kunitconfig rust: add kunitconfig 2025-03-19 23:22:21 +01:00
bindgen_parameters rust: bindings: fix VM_MAYSHARE blocklist entry 2026-09-30 16:41:24 +02:00
build_error.rs
compiler_builtins.rs rust: Make __udivdi3() and __umoddi3() panic 2026-07-31 16:57:48 +05:30
exports.c kbuild: rust: provide an option to inline C helpers into Rust 2026-03-30 02:03:52 +02:00
ffi.rs rust: replace CStr with core::ffi::CStr 2025-10-22 07:47:27 +02:00
Makefile User visible changes: 2026-10-12 21:21:52 +02:00