Files

29 lines
518 B
C
Raw Permalink Normal View History

2025-04-23 09:54:38 -04:00
// SPDX-License-Identifier: GPL-2.0
#include <linux/xarray.h>
2026-01-05 12:42:40 +00:00
__rust_helper int rust_helper_xa_err(void *entry)
2025-04-23 09:54:38 -04:00
{
return xa_err(entry);
}
2026-01-05 12:42:40 +00:00
__rust_helper void rust_helper_xa_init_flags(struct xarray *xa, gfp_t flags)
2025-04-23 09:54:38 -04:00
{
return xa_init_flags(xa, flags);
}
2026-01-05 12:42:40 +00:00
__rust_helper int rust_helper_xa_trylock(struct xarray *xa)
2025-04-23 09:54:38 -04:00
{
return xa_trylock(xa);
}
2026-01-05 12:42:40 +00:00
__rust_helper void rust_helper_xa_lock(struct xarray *xa)
2025-04-23 09:54:38 -04:00
{
return xa_lock(xa);
}
2026-01-05 12:42:40 +00:00
__rust_helper void rust_helper_xa_unlock(struct xarray *xa)
2025-04-23 09:54:38 -04:00
{
return xa_unlock(xa);
}