1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/btrfs_balance_ctl_cmds.in; do not edit. */
2
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5
6 #undef XLAT_PREV_VAL
7
8 #ifndef XLAT_MACROS_ONLY
9
10 # ifdef IN_MPERS
11
12 extern const struct xlat btrfs_balance_ctl_cmds[];
13
14 # else
15
16 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
17 static const struct xlat_data btrfs_balance_ctl_cmds_xdata[] = {
18 [BTRFS_BALANCE_CTL_PAUSE] = XLAT(BTRFS_BALANCE_CTL_PAUSE),
19 #define XLAT_VAL_0 ((unsigned) (BTRFS_BALANCE_CTL_PAUSE))
20 #define XLAT_STR_0 STRINGIFY(BTRFS_BALANCE_CTL_PAUSE)
21 [BTRFS_BALANCE_CTL_CANCEL] = XLAT(BTRFS_BALANCE_CTL_CANCEL),
22 #define XLAT_VAL_1 ((unsigned) (BTRFS_BALANCE_CTL_CANCEL))
23 #define XLAT_STR_1 STRINGIFY(BTRFS_BALANCE_CTL_CANCEL)
24 };
25 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
26 static
27 # endif
28 const struct xlat btrfs_balance_ctl_cmds[1] = { {
29 .data = btrfs_balance_ctl_cmds_xdata,
30 .size = ARRAY_SIZE(btrfs_balance_ctl_cmds_xdata),
31 .type = XT_INDEXED,
32 .flags_mask = 0
33 # ifdef XLAT_VAL_0
34 | XLAT_VAL_0
35 # endif
36 # ifdef XLAT_VAL_1
37 | XLAT_VAL_1
38 # endif
39 ,
40 .flags_strsz = 0
41 # ifdef XLAT_STR_0
42 + sizeof(XLAT_STR_0)
43 # endif
44 # ifdef XLAT_STR_1
45 + sizeof(XLAT_STR_1)
46 # endif
47 ,
48 } };
49 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
50
51 # undef XLAT_STR_0
52 # undef XLAT_VAL_0
53 # undef XLAT_STR_1
54 # undef XLAT_VAL_1
55 # endif /* !IN_MPERS */
56
57 #endif /* !XLAT_MACROS_ONLY */