1 /* Generated by ./src/xlat/gen.sh from ./src/xlat/uring_setup_features.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 uring_setup_features in mpers mode
13
14 # else
15
16 DIAG_PUSH_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
17 static const struct xlat_data uring_setup_features_xdata[] = {
18 XLAT(IORING_FEAT_SINGLE_MMAP),
19 #define XLAT_VAL_0 ((unsigned) (IORING_FEAT_SINGLE_MMAP))
20 #define XLAT_STR_0 STRINGIFY(IORING_FEAT_SINGLE_MMAP)
21 XLAT(IORING_FEAT_NODROP),
22 #define XLAT_VAL_1 ((unsigned) (IORING_FEAT_NODROP))
23 #define XLAT_STR_1 STRINGIFY(IORING_FEAT_NODROP)
24 XLAT(IORING_FEAT_SUBMIT_STABLE),
25 #define XLAT_VAL_2 ((unsigned) (IORING_FEAT_SUBMIT_STABLE))
26 #define XLAT_STR_2 STRINGIFY(IORING_FEAT_SUBMIT_STABLE)
27 XLAT(IORING_FEAT_RW_CUR_POS),
28 #define XLAT_VAL_3 ((unsigned) (IORING_FEAT_RW_CUR_POS))
29 #define XLAT_STR_3 STRINGIFY(IORING_FEAT_RW_CUR_POS)
30 XLAT(IORING_FEAT_CUR_PERSONALITY),
31 #define XLAT_VAL_4 ((unsigned) (IORING_FEAT_CUR_PERSONALITY))
32 #define XLAT_STR_4 STRINGIFY(IORING_FEAT_CUR_PERSONALITY)
33 XLAT(IORING_FEAT_FAST_POLL),
34 #define XLAT_VAL_5 ((unsigned) (IORING_FEAT_FAST_POLL))
35 #define XLAT_STR_5 STRINGIFY(IORING_FEAT_FAST_POLL)
36 XLAT(IORING_FEAT_POLL_32BITS),
37 #define XLAT_VAL_6 ((unsigned) (IORING_FEAT_POLL_32BITS))
38 #define XLAT_STR_6 STRINGIFY(IORING_FEAT_POLL_32BITS)
39 XLAT(IORING_FEAT_SQPOLL_NONFIXED),
40 #define XLAT_VAL_7 ((unsigned) (IORING_FEAT_SQPOLL_NONFIXED))
41 #define XLAT_STR_7 STRINGIFY(IORING_FEAT_SQPOLL_NONFIXED)
42 XLAT(IORING_FEAT_EXT_ARG),
43 #define XLAT_VAL_8 ((unsigned) (IORING_FEAT_EXT_ARG))
44 #define XLAT_STR_8 STRINGIFY(IORING_FEAT_EXT_ARG)
45 XLAT(IORING_FEAT_NATIVE_WORKERS),
46 #define XLAT_VAL_9 ((unsigned) (IORING_FEAT_NATIVE_WORKERS))
47 #define XLAT_STR_9 STRINGIFY(IORING_FEAT_NATIVE_WORKERS)
48 XLAT(IORING_FEAT_RSRC_TAGS),
49 #define XLAT_VAL_10 ((unsigned) (IORING_FEAT_RSRC_TAGS))
50 #define XLAT_STR_10 STRINGIFY(IORING_FEAT_RSRC_TAGS)
51 XLAT(IORING_FEAT_CQE_SKIP),
52 #define XLAT_VAL_11 ((unsigned) (IORING_FEAT_CQE_SKIP))
53 #define XLAT_STR_11 STRINGIFY(IORING_FEAT_CQE_SKIP)
54 XLAT(IORING_FEAT_LINKED_FILE),
55 #define XLAT_VAL_12 ((unsigned) (IORING_FEAT_LINKED_FILE))
56 #define XLAT_STR_12 STRINGIFY(IORING_FEAT_LINKED_FILE)
57 XLAT(IORING_FEAT_REG_REG_RING),
58 #define XLAT_VAL_13 ((unsigned) (IORING_FEAT_REG_REG_RING))
59 #define XLAT_STR_13 STRINGIFY(IORING_FEAT_REG_REG_RING)
60 };
61 static
62 const struct xlat uring_setup_features[1] = { {
63 .data = uring_setup_features_xdata,
64 .size = ARRAY_SIZE(uring_setup_features_xdata),
65 .type = XT_NORMAL,
66 .flags_mask = 0
67 # ifdef XLAT_VAL_0
68 | XLAT_VAL_0
69 # endif
70 # ifdef XLAT_VAL_1
71 | XLAT_VAL_1
72 # endif
73 # ifdef XLAT_VAL_2
74 | XLAT_VAL_2
75 # endif
76 # ifdef XLAT_VAL_3
77 | XLAT_VAL_3
78 # endif
79 # ifdef XLAT_VAL_4
80 | XLAT_VAL_4
81 # endif
82 # ifdef XLAT_VAL_5
83 | XLAT_VAL_5
84 # endif
85 # ifdef XLAT_VAL_6
86 | XLAT_VAL_6
87 # endif
88 # ifdef XLAT_VAL_7
89 | XLAT_VAL_7
90 # endif
91 # ifdef XLAT_VAL_8
92 | XLAT_VAL_8
93 # endif
94 # ifdef XLAT_VAL_9
95 | XLAT_VAL_9
96 # endif
97 # ifdef XLAT_VAL_10
98 | XLAT_VAL_10
99 # endif
100 # ifdef XLAT_VAL_11
101 | XLAT_VAL_11
102 # endif
103 # ifdef XLAT_VAL_12
104 | XLAT_VAL_12
105 # endif
106 # ifdef XLAT_VAL_13
107 | XLAT_VAL_13
108 # endif
109 ,
110 .flags_strsz = 0
111 # ifdef XLAT_STR_0
112 + sizeof(XLAT_STR_0)
113 # endif
114 # ifdef XLAT_STR_1
115 + sizeof(XLAT_STR_1)
116 # endif
117 # ifdef XLAT_STR_2
118 + sizeof(XLAT_STR_2)
119 # endif
120 # ifdef XLAT_STR_3
121 + sizeof(XLAT_STR_3)
122 # endif
123 # ifdef XLAT_STR_4
124 + sizeof(XLAT_STR_4)
125 # endif
126 # ifdef XLAT_STR_5
127 + sizeof(XLAT_STR_5)
128 # endif
129 # ifdef XLAT_STR_6
130 + sizeof(XLAT_STR_6)
131 # endif
132 # ifdef XLAT_STR_7
133 + sizeof(XLAT_STR_7)
134 # endif
135 # ifdef XLAT_STR_8
136 + sizeof(XLAT_STR_8)
137 # endif
138 # ifdef XLAT_STR_9
139 + sizeof(XLAT_STR_9)
140 # endif
141 # ifdef XLAT_STR_10
142 + sizeof(XLAT_STR_10)
143 # endif
144 # ifdef XLAT_STR_11
145 + sizeof(XLAT_STR_11)
146 # endif
147 # ifdef XLAT_STR_12
148 + sizeof(XLAT_STR_12)
149 # endif
150 # ifdef XLAT_STR_13
151 + sizeof(XLAT_STR_13)
152 # endif
153 ,
154 } };
155 DIAG_POP_IGNORE_TAUTOLOGICAL_CONSTANT_COMPARE
156
157 # undef XLAT_STR_0
158 # undef XLAT_VAL_0
159 # undef XLAT_STR_1
160 # undef XLAT_VAL_1
161 # undef XLAT_STR_2
162 # undef XLAT_VAL_2
163 # undef XLAT_STR_3
164 # undef XLAT_VAL_3
165 # undef XLAT_STR_4
166 # undef XLAT_VAL_4
167 # undef XLAT_STR_5
168 # undef XLAT_VAL_5
169 # undef XLAT_STR_6
170 # undef XLAT_VAL_6
171 # undef XLAT_STR_7
172 # undef XLAT_VAL_7
173 # undef XLAT_STR_8
174 # undef XLAT_VAL_8
175 # undef XLAT_STR_9
176 # undef XLAT_VAL_9
177 # undef XLAT_STR_10
178 # undef XLAT_VAL_10
179 # undef XLAT_STR_11
180 # undef XLAT_VAL_11
181 # undef XLAT_STR_12
182 # undef XLAT_VAL_12
183 # undef XLAT_STR_13
184 # undef XLAT_VAL_13
185 # endif /* !IN_MPERS */
186
187 #endif /* !XLAT_MACROS_ONLY */