diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2025-06-19 22:23:46 +0900 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2025-06-23 17:11:07 +0200 |
commit | c0a3065d5def59a894afc8cf5e988396cd0c2f5e (patch) | |
tree | 17e9085fc75dd9959f38f9e8b5d7b57a9aeff041 /rust/helpers/build_bug.c | |
parent | 14371e58cb2705b9ddc00efc3b94fb32612a753e (diff) |
rust: dma: expose the count and size of CoherentAllocation
These properties are very useful to have (and to be used by nova-core)
and should be accessible, hence add them.
Additionally, add type invariants for the size of an allocation.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250619-nova-frts-v6-2-ecf41ef99252@nvidia.com
[ Slightly extend the commit message. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions