1 /* Generated by ./xlat/gen.sh from ./xlat/btrfs_balance_args.in; do not edit. */
2 #if !(defined(BTRFS_BALANCE_ARGS_PROFILES) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_PROFILES) && HAVE_DECL_BTRFS_BALANCE_ARGS_PROFILES))
3 # define BTRFS_BALANCE_ARGS_PROFILES (1ULL << 0)
4 #endif
5 #if !(defined(BTRFS_BALANCE_ARGS_USAGE) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_USAGE) && HAVE_DECL_BTRFS_BALANCE_ARGS_USAGE))
6 # define BTRFS_BALANCE_ARGS_USAGE (1ULL << 1)
7 #endif
8 #if !(defined(BTRFS_BALANCE_ARGS_DEVID) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_DEVID) && HAVE_DECL_BTRFS_BALANCE_ARGS_DEVID))
9 # define BTRFS_BALANCE_ARGS_DEVID (1ULL << 2)
10 #endif
11 #if !(defined(BTRFS_BALANCE_ARGS_DRANGE) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_DRANGE) && HAVE_DECL_BTRFS_BALANCE_ARGS_DRANGE))
12 # define BTRFS_BALANCE_ARGS_DRANGE (1ULL << 3)
13 #endif
14 #if !(defined(BTRFS_BALANCE_ARGS_VRANGE) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_VRANGE) && HAVE_DECL_BTRFS_BALANCE_ARGS_VRANGE))
15 # define BTRFS_BALANCE_ARGS_VRANGE (1ULL << 4)
16 #endif
17 #if !(defined(BTRFS_BALANCE_ARGS_LIMIT) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_LIMIT) && HAVE_DECL_BTRFS_BALANCE_ARGS_LIMIT))
18 # define BTRFS_BALANCE_ARGS_LIMIT (1ULL << 5)
19 #endif
20 #if !(defined(BTRFS_BALANCE_ARGS_LIMIT_RANGE) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_LIMIT_RANGE) && HAVE_DECL_BTRFS_BALANCE_ARGS_LIMIT_RANGE))
21 # define BTRFS_BALANCE_ARGS_LIMIT_RANGE (1ULL << 6)
22 #endif
23 #if !(defined(BTRFS_BALANCE_ARGS_STRIPES_RANGE) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_STRIPES_RANGE) && HAVE_DECL_BTRFS_BALANCE_ARGS_STRIPES_RANGE))
24 # define BTRFS_BALANCE_ARGS_STRIPES_RANGE (1ULL << 7)
25 #endif
26 #if !(defined(BTRFS_BALANCE_ARGS_CONVERT) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_CONVERT) && HAVE_DECL_BTRFS_BALANCE_ARGS_CONVERT))
27 # define BTRFS_BALANCE_ARGS_CONVERT (1ULL << 8)
28 #endif
29 #if !(defined(BTRFS_BALANCE_ARGS_SOFT) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_SOFT) && HAVE_DECL_BTRFS_BALANCE_ARGS_SOFT))
30 # define BTRFS_BALANCE_ARGS_SOFT (1ULL << 9)
31 #endif
32 #if !(defined(BTRFS_BALANCE_ARGS_USAGE_RANGE) || (defined(HAVE_DECL_BTRFS_BALANCE_ARGS_USAGE_RANGE) && HAVE_DECL_BTRFS_BALANCE_ARGS_USAGE_RANGE))
33 # define BTRFS_BALANCE_ARGS_USAGE_RANGE (1ULL << 10)
34 #endif
35 
36 #ifdef IN_MPERS
37 
38 extern const struct xlat btrfs_balance_args[];
39 
40 #else
41 
42 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
43 static
44 # endif
45 const struct xlat btrfs_balance_args[] = {
46  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_PROFILES),
47  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_USAGE),
48  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_DEVID),
49  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_DRANGE),
50  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_VRANGE),
51  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_LIMIT),
52  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_LIMIT_RANGE),
53  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_STRIPES_RANGE),
54  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_CONVERT),
55  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_SOFT),
56  XLAT_TYPE(uint64_t, BTRFS_BALANCE_ARGS_USAGE_RANGE),
57  XLAT_END
58 };
59 
60 #endif /* !IN_MPERS */
61