xref: /linux/rust/helpers/helpers.c (revision 7e060df04f562b37bdc101fd06b16f013e2d989b)
1  // SPDX-License-Identifier: GPL-2.0
2  /*
3   * Non-trivial C macros cannot be used in Rust. Similarly, inlined C functions
4   * cannot be called either. This file explicitly creates functions ("helpers")
5   * that wrap those so that they can be called from Rust.
6   *
7   * Sorted alphabetically.
8   */
9  
10  #include "blk.c"
11  #include "bug.c"
12  #include "build_assert.c"
13  #include "build_bug.c"
14  #include "cred.c"
15  #include "err.c"
16  #include "fs.c"
17  #include "jump_label.c"
18  #include "kunit.c"
19  #include "mutex.c"
20  #include "page.c"
21  #include "pid_namespace.c"
22  #include "rbtree.c"
23  #include "refcount.c"
24  #include "security.c"
25  #include "signal.c"
26  #include "slab.c"
27  #include "spinlock.c"
28  #include "task.c"
29  #include "uaccess.c"
30  #include "vmalloc.c"
31  #include "wait.c"
32  #include "workqueue.c"
33