Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Header that contains the code (mostly headers) for which Rust bindings
4 * will be automatically generated by `bindgen`.
5 *
6 * Sorted alphabetically.
7 */
8
9#include <linux/slab.h>
10
11/* `bindgen` gets confused at certain things. */
12const gfp_t BINDINGS_GFP_KERNEL = GFP_KERNEL;
13const gfp_t BINDINGS___GFP_ZERO = __GFP_ZERO;
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Header that contains the code (mostly headers) for which Rust bindings
4 * will be automatically generated by `bindgen`.
5 *
6 * Sorted alphabetically.
7 */
8
9#include <kunit/test.h>
10#include <linux/blk-mq.h>
11#include <linux/blk_types.h>
12#include <linux/blkdev.h>
13#include <linux/cred.h>
14#include <linux/errname.h>
15#include <linux/ethtool.h>
16#include <linux/file.h>
17#include <linux/firmware.h>
18#include <linux/fs.h>
19#include <linux/jiffies.h>
20#include <linux/jump_label.h>
21#include <linux/mdio.h>
22#include <linux/miscdevice.h>
23#include <linux/phy.h>
24#include <linux/pid_namespace.h>
25#include <linux/poll.h>
26#include <linux/refcount.h>
27#include <linux/sched.h>
28#include <linux/security.h>
29#include <linux/slab.h>
30#include <linux/tracepoint.h>
31#include <linux/wait.h>
32#include <linux/workqueue.h>
33#include <trace/events/rust_sample.h>
34
35/* `bindgen` gets confused at certain things. */
36const size_t RUST_CONST_HELPER_ARCH_SLAB_MINALIGN = ARCH_SLAB_MINALIGN;
37const size_t RUST_CONST_HELPER_PAGE_SIZE = PAGE_SIZE;
38const gfp_t RUST_CONST_HELPER_GFP_ATOMIC = GFP_ATOMIC;
39const gfp_t RUST_CONST_HELPER_GFP_KERNEL = GFP_KERNEL;
40const gfp_t RUST_CONST_HELPER_GFP_KERNEL_ACCOUNT = GFP_KERNEL_ACCOUNT;
41const gfp_t RUST_CONST_HELPER_GFP_NOWAIT = GFP_NOWAIT;
42const gfp_t RUST_CONST_HELPER___GFP_ZERO = __GFP_ZERO;
43const gfp_t RUST_CONST_HELPER___GFP_HIGHMEM = ___GFP_HIGHMEM;
44const gfp_t RUST_CONST_HELPER___GFP_NOWARN = ___GFP_NOWARN;
45const blk_features_t RUST_CONST_HELPER_BLK_FEAT_ROTATIONAL = BLK_FEAT_ROTATIONAL;