diff options
| author | Eliot Courtney <ecourtney@nvidia.com> | 2026-09-30 11:42:56 +0900 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-10-13 12:52:26 +0200 |
| commit | 3132a951a7e4ec2e18bc314877137deee96ab83e (patch) | |
| tree | eb91ac0c2bdc98cb818d06782d5b3598c322a7cd /rust/zerocopy/src/pointer/ptr.rs | |
| parent | b666bd22be8f211aceeeb8fbc827ebdb7abe98c0 (diff) | |
| download | linux-next-3132a951a7e4ec2e18bc314877137deee96ab83e.tar.gz linux-next-3132a951a7e4ec2e18bc314877137deee96ab83e.zip | |
rust: id_pool: add contiguous ID reservation
Add `IdPool::reserve_ids` which allocates a contiguous range with the
given offset, count, and alignment.
Reviewed-by: Burak Emir <burak.emir@gmail.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Reviewed-by: Yury Norov <ynorov@nvidia.com>
Link: https://patch.msgid.link/20260930-chid-v9-7-0d6cca376cff@nvidia.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/zerocopy/src/pointer/ptr.rs')
0 files changed, 0 insertions, 0 deletions
