at v6.16 448 B view raw
1// SPDX-License-Identifier: GPL-2.0 2 3#include <linux/xarray.h> 4 5int rust_helper_xa_err(void *entry) 6{ 7 return xa_err(entry); 8} 9 10void rust_helper_xa_init_flags(struct xarray *xa, gfp_t flags) 11{ 12 return xa_init_flags(xa, flags); 13} 14 15int rust_helper_xa_trylock(struct xarray *xa) 16{ 17 return xa_trylock(xa); 18} 19 20void rust_helper_xa_lock(struct xarray *xa) 21{ 22 return xa_lock(xa); 23} 24 25void rust_helper_xa_unlock(struct xarray *xa) 26{ 27 return xa_unlock(xa); 28}