mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
This is needed to inline these helpers into Rust code. Reviewed-by: Boqun Feng <[email protected]> Reviewed-by: Gary Guo <[email protected]> Signed-off-by: Alice Ryhl <[email protected]> Acked-by: Danilo Krummrich <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
18 lines
522 B
C
18 lines
522 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <linux/slab.h>
|
|
|
|
__rust_helper void *__must_check __realloc_size(2)
|
|
rust_helper_krealloc_node_align(const void *objp, size_t new_size, unsigned long align,
|
|
gfp_t flags, int node)
|
|
{
|
|
return krealloc_node_align(objp, new_size, align, flags, node);
|
|
}
|
|
|
|
__rust_helper void *__must_check __realloc_size(2)
|
|
rust_helper_kvrealloc_node_align(const void *p, size_t size, unsigned long align,
|
|
gfp_t flags, int node)
|
|
{
|
|
return kvrealloc_node_align(p, size, align, flags, node);
|
|
}
|