1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/fsconfig_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 # error static const struct xlat fsconfig_cmds in mpers mode
13
14 # else
15
16 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
17 static const struct xlat_data fsconfig_cmds_xdata[] = {
18 [FSCONFIG_SET_FLAG] = XLAT(FSCONFIG_SET_FLAG),
19 #define XLAT_VAL_0 ((unsigned) (FSCONFIG_SET_FLAG))
20 #define XLAT_STR_0 STRINGIFY(FSCONFIG_SET_FLAG)
21 [FSCONFIG_SET_STRING] = XLAT(FSCONFIG_SET_STRING),
22 #define XLAT_VAL_1 ((unsigned) (FSCONFIG_SET_STRING))
23 #define XLAT_STR_1 STRINGIFY(FSCONFIG_SET_STRING)
24 [FSCONFIG_SET_BINARY] = XLAT(FSCONFIG_SET_BINARY),
25 #define XLAT_VAL_2 ((unsigned) (FSCONFIG_SET_BINARY))
26 #define XLAT_STR_2 STRINGIFY(FSCONFIG_SET_BINARY)
27 [FSCONFIG_SET_PATH] = XLAT(FSCONFIG_SET_PATH),
28 #define XLAT_VAL_3 ((unsigned) (FSCONFIG_SET_PATH))
29 #define XLAT_STR_3 STRINGIFY(FSCONFIG_SET_PATH)
30 [FSCONFIG_SET_PATH_EMPTY] = XLAT(FSCONFIG_SET_PATH_EMPTY),
31 #define XLAT_VAL_4 ((unsigned) (FSCONFIG_SET_PATH_EMPTY))
32 #define XLAT_STR_4 STRINGIFY(FSCONFIG_SET_PATH_EMPTY)
33 [FSCONFIG_SET_FD] = XLAT(FSCONFIG_SET_FD),
34 #define XLAT_VAL_5 ((unsigned) (FSCONFIG_SET_FD))
35 #define XLAT_STR_5 STRINGIFY(FSCONFIG_SET_FD)
36 [FSCONFIG_CMD_CREATE] = XLAT(FSCONFIG_CMD_CREATE),
37 #define XLAT_VAL_6 ((unsigned) (FSCONFIG_CMD_CREATE))
38 #define XLAT_STR_6 STRINGIFY(FSCONFIG_CMD_CREATE)
39 [FSCONFIG_CMD_RECONFIGURE] = XLAT(FSCONFIG_CMD_RECONFIGURE),
40 #define XLAT_VAL_7 ((unsigned) (FSCONFIG_CMD_RECONFIGURE))
41 #define XLAT_STR_7 STRINGIFY(FSCONFIG_CMD_RECONFIGURE)
42 };
43 static
44 const struct xlat fsconfig_cmds[1] = { {
45 .data = fsconfig_cmds_xdata,
46 .size = ARRAY_SIZE(fsconfig_cmds_xdata),
47 .type = XT_INDEXED,
48 .flags_mask = 0
49 # ifdef XLAT_VAL_0
50 | XLAT_VAL_0
51 # endif
52 # ifdef XLAT_VAL_1
53 | XLAT_VAL_1
54 # endif
55 # ifdef XLAT_VAL_2
56 | XLAT_VAL_2
57 # endif
58 # ifdef XLAT_VAL_3
59 | XLAT_VAL_3
60 # endif
61 # ifdef XLAT_VAL_4
62 | XLAT_VAL_4
63 # endif
64 # ifdef XLAT_VAL_5
65 | XLAT_VAL_5
66 # endif
67 # ifdef XLAT_VAL_6
68 | XLAT_VAL_6
69 # endif
70 # ifdef XLAT_VAL_7
71 | XLAT_VAL_7
72 # endif
73 ,
74 .flags_strsz = 0
75 # ifdef XLAT_STR_0
76 + sizeof(XLAT_STR_0)
77 # endif
78 # ifdef XLAT_STR_1
79 + sizeof(XLAT_STR_1)
80 # endif
81 # ifdef XLAT_STR_2
82 + sizeof(XLAT_STR_2)
83 # endif
84 # ifdef XLAT_STR_3
85 + sizeof(XLAT_STR_3)
86 # endif
87 # ifdef XLAT_STR_4
88 + sizeof(XLAT_STR_4)
89 # endif
90 # ifdef XLAT_STR_5
91 + sizeof(XLAT_STR_5)
92 # endif
93 # ifdef XLAT_STR_6
94 + sizeof(XLAT_STR_6)
95 # endif
96 # ifdef XLAT_STR_7
97 + sizeof(XLAT_STR_7)
98 # endif
99 ,
100 } };
101 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
102
103 # undef XLAT_STR_0
104 # undef XLAT_VAL_0
105 # undef XLAT_STR_1
106 # undef XLAT_VAL_1
107 # undef XLAT_STR_2
108 # undef XLAT_VAL_2
109 # undef XLAT_STR_3
110 # undef XLAT_VAL_3
111 # undef XLAT_STR_4
112 # undef XLAT_VAL_4
113 # undef XLAT_STR_5
114 # undef XLAT_VAL_5
115 # undef XLAT_STR_6
116 # undef XLAT_VAL_6
117 # undef XLAT_STR_7
118 # undef XLAT_VAL_7
119 # endif /* !IN_MPERS */
120
121 #endif /* !XLAT_MACROS_ONLY */