aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2024-10-04 15:41:06 +0000
committerMiguel Ojeda <[email protected]>2024-10-14 15:55:40 +0000
commita654a6e09644266e38ac05415ef7737d299c4497 (patch)
tree04051b67c0c165c7199fabeef27368b305da5ed6 /rust/helpers/helpers.c
parentrust: alloc: add `Allocator` trait (diff)
downloadkernel-a654a6e09644266e38ac05415ef7737d299c4497.tar.gz
kernel-a654a6e09644266e38ac05415ef7737d299c4497.zip
rust: alloc: separate `aligned_size` from `krealloc_aligned`
Separate `aligned_size` from `krealloc_aligned`. Subsequent patches implement `Allocator` derivates, such as `Kmalloc`, that require `aligned_size` and replace the original `krealloc_aligned`. Reviewed-by: Alice Ryhl <[email protected]> Reviewed-by: Benno Lossin <[email protected]> Reviewed-by: Gary Guo <[email protected]> Signed-off-by: Danilo Krummrich <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions