1 /* Generated by ./xlat/gen.sh from ./xlat/fcntlcmds.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 #if defined(F_DUPFD) || (defined(HAVE_DECL_F_DUPFD) && HAVE_DECL_F_DUPFD)
7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
8 static_assert((F_DUPFD) == (0), "F_DUPFD != 0");
9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
10 #else
11 # define F_DUPFD 0
12 #endif
13 #if defined(F_GETFD) || (defined(HAVE_DECL_F_GETFD) && HAVE_DECL_F_GETFD)
14 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
15 static_assert((F_GETFD) == (1), "F_GETFD != 1");
16 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
17 #else
18 # define F_GETFD 1
19 #endif
20 #if defined(F_SETFD) || (defined(HAVE_DECL_F_SETFD) && HAVE_DECL_F_SETFD)
21 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
22 static_assert((F_SETFD) == (2), "F_SETFD != 2");
23 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
24 #else
25 # define F_SETFD 2
26 #endif
27 #if defined(F_GETFL) || (defined(HAVE_DECL_F_GETFL) && HAVE_DECL_F_GETFL)
28 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
29 static_assert((F_GETFL) == (3), "F_GETFL != 3");
30 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
31 #else
32 # define F_GETFL 3
33 #endif
34 #if defined(F_SETFL) || (defined(HAVE_DECL_F_SETFL) && HAVE_DECL_F_SETFL)
35 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
36 static_assert((F_SETFL) == (4), "F_SETFL != 4");
37 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
38 #else
39 # define F_SETFL 4
40 #endif
41 #if defined __alpha__ || defined __sparc__
42 #if defined(F_GETLK) || (defined(HAVE_DECL_F_GETLK) && HAVE_DECL_F_GETLK)
43 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
44 static_assert((F_GETLK) == (7), "F_GETLK != 7");
45 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
46 #else
47 # define F_GETLK 7
48 #endif
49 #elif defined __mips__
50 #if defined(F_GETLK) || (defined(HAVE_DECL_F_GETLK) && HAVE_DECL_F_GETLK)
51 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
52 static_assert((F_GETLK) == (14), "F_GETLK != 14");
53 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
54 #else
55 # define F_GETLK 14
56 #endif
57 #else
58 #if defined(F_GETLK) || (defined(HAVE_DECL_F_GETLK) && HAVE_DECL_F_GETLK)
59 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
60 static_assert((F_GETLK) == (5), "F_GETLK != 5");
61 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
62 #else
63 # define F_GETLK 5
64 #endif
65 #endif
66 #if defined __alpha__ || defined __sparc__
67 #if defined(F_SETLK) || (defined(HAVE_DECL_F_SETLK) && HAVE_DECL_F_SETLK)
68 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
69 static_assert((F_SETLK) == (8), "F_SETLK != 8");
70 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
71 #else
72 # define F_SETLK 8
73 #endif
74 #if defined(F_SETLKW) || (defined(HAVE_DECL_F_SETLKW) && HAVE_DECL_F_SETLKW)
75 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
76 static_assert((F_SETLKW) == (9), "F_SETLKW != 9");
77 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
78 #else
79 # define F_SETLKW 9
80 #endif
81 #else
82 #if defined(F_SETLK) || (defined(HAVE_DECL_F_SETLK) && HAVE_DECL_F_SETLK)
83 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
84 static_assert((F_SETLK) == (6), "F_SETLK != 6");
85 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
86 #else
87 # define F_SETLK 6
88 #endif
89 #if defined(F_SETLKW) || (defined(HAVE_DECL_F_SETLKW) && HAVE_DECL_F_SETLKW)
90 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
91 static_assert((F_SETLKW) == (7), "F_SETLKW != 7");
92 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
93 #else
94 # define F_SETLKW 7
95 #endif
96 #endif
97 #if defined __alpha__
98 #if defined(F_SETOWN) || (defined(HAVE_DECL_F_SETOWN) && HAVE_DECL_F_SETOWN)
99 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
100 static_assert((F_SETOWN) == (5), "F_SETOWN != 5");
101 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
102 #else
103 # define F_SETOWN 5
104 #endif
105 #if defined(F_GETOWN) || (defined(HAVE_DECL_F_GETOWN) && HAVE_DECL_F_GETOWN)
106 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
107 static_assert((F_GETOWN) == (6), "F_GETOWN != 6");
108 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
109 #else
110 # define F_GETOWN 6
111 #endif
112 #elif defined __hppa__
113 #if defined(F_GETOWN) || (defined(HAVE_DECL_F_GETOWN) && HAVE_DECL_F_GETOWN)
114 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
115 static_assert((F_GETOWN) == (11), "F_GETOWN != 11");
116 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
117 #else
118 # define F_GETOWN 11
119 #endif
120 #if defined(F_SETOWN) || (defined(HAVE_DECL_F_SETOWN) && HAVE_DECL_F_SETOWN)
121 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
122 static_assert((F_SETOWN) == (12), "F_SETOWN != 12");
123 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
124 #else
125 # define F_SETOWN 12
126 #endif
127 #elif defined __mips__
128 #if defined(F_GETOWN) || (defined(HAVE_DECL_F_GETOWN) && HAVE_DECL_F_GETOWN)
129 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
130 static_assert((F_GETOWN) == (23), "F_GETOWN != 23");
131 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
132 #else
133 # define F_GETOWN 23
134 #endif
135 #if defined(F_SETOWN) || (defined(HAVE_DECL_F_SETOWN) && HAVE_DECL_F_SETOWN)
136 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
137 static_assert((F_SETOWN) == (24), "F_SETOWN != 24");
138 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
139 #else
140 # define F_SETOWN 24
141 #endif
142 #elif defined __sparc__
143 #if defined(F_GETOWN) || (defined(HAVE_DECL_F_GETOWN) && HAVE_DECL_F_GETOWN)
144 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
145 static_assert((F_GETOWN) == (5), "F_GETOWN != 5");
146 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
147 #else
148 # define F_GETOWN 5
149 #endif
150 #if defined(F_SETOWN) || (defined(HAVE_DECL_F_SETOWN) && HAVE_DECL_F_SETOWN)
151 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
152 static_assert((F_SETOWN) == (6), "F_SETOWN != 6");
153 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
154 #else
155 # define F_SETOWN 6
156 #endif
157 #else
158 #if defined(F_SETOWN) || (defined(HAVE_DECL_F_SETOWN) && HAVE_DECL_F_SETOWN)
159 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
160 static_assert((F_SETOWN) == (8), "F_SETOWN != 8");
161 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
162 #else
163 # define F_SETOWN 8
164 #endif
165 #if defined(F_GETOWN) || (defined(HAVE_DECL_F_GETOWN) && HAVE_DECL_F_GETOWN)
166 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
167 static_assert((F_GETOWN) == (9), "F_GETOWN != 9");
168 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
169 #else
170 # define F_GETOWN 9
171 #endif
172 #endif
173 #ifdef __hppa__
174 #if defined(F_SETSIG) || (defined(HAVE_DECL_F_SETSIG) && HAVE_DECL_F_SETSIG)
175 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
176 static_assert((F_SETSIG) == (13), "F_SETSIG != 13");
177 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
178 #else
179 # define F_SETSIG 13
180 #endif
181 #if defined(F_GETSIG) || (defined(HAVE_DECL_F_GETSIG) && HAVE_DECL_F_GETSIG)
182 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
183 static_assert((F_GETSIG) == (14), "F_GETSIG != 14");
184 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
185 #else
186 # define F_GETSIG 14
187 #endif
188 #else
189 #if defined(F_SETSIG) || (defined(HAVE_DECL_F_SETSIG) && HAVE_DECL_F_SETSIG)
190 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
191 static_assert((F_SETSIG) == (10), "F_SETSIG != 10");
192 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
193 #else
194 # define F_SETSIG 10
195 #endif
196 #if defined(F_GETSIG) || (defined(HAVE_DECL_F_GETSIG) && HAVE_DECL_F_GETSIG)
197 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
198 static_assert((F_GETSIG) == (11), "F_GETSIG != 11");
199 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
200 #else
201 # define F_GETSIG 11
202 #endif
203 #endif
204 #if defined __hppa__
205 #if defined(F_GETLK64) || (defined(HAVE_DECL_F_GETLK64) && HAVE_DECL_F_GETLK64)
206 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
207 static_assert((F_GETLK64) == (8), "F_GETLK64 != 8");
208 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
209 #else
210 # define F_GETLK64 8
211 #endif
212 #if defined(F_SETLK64) || (defined(HAVE_DECL_F_SETLK64) && HAVE_DECL_F_SETLK64)
213 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
214 static_assert((F_SETLK64) == (9), "F_SETLK64 != 9");
215 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
216 #else
217 # define F_SETLK64 9
218 #endif
219 #if defined(F_SETLKW64) || (defined(HAVE_DECL_F_SETLKW64) && HAVE_DECL_F_SETLKW64)
220 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
221 static_assert((F_SETLKW64) == (10), "F_SETLKW64 != 10");
222 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
223 #else
224 # define F_SETLKW64 10
225 #endif
226 #elif defined __mips__ && !defined __mips64
227 #if defined(F_GETLK64) || (defined(HAVE_DECL_F_GETLK64) && HAVE_DECL_F_GETLK64)
228 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
229 static_assert((F_GETLK64) == (33), "F_GETLK64 != 33");
230 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
231 #else
232 # define F_GETLK64 33
233 #endif
234 #if defined(F_SETLK64) || (defined(HAVE_DECL_F_SETLK64) && HAVE_DECL_F_SETLK64)
235 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
236 static_assert((F_SETLK64) == (34), "F_SETLK64 != 34");
237 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
238 #else
239 # define F_SETLK64 34
240 #endif
241 #if defined(F_SETLKW64) || (defined(HAVE_DECL_F_SETLKW64) && HAVE_DECL_F_SETLKW64)
242 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
243 static_assert((F_SETLKW64) == (35), "F_SETLKW64 != 35");
244 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
245 #else
246 # define F_SETLKW64 35
247 #endif
248 #else
249 #if defined(F_GETLK64) || (defined(HAVE_DECL_F_GETLK64) && HAVE_DECL_F_GETLK64)
250 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
251 static_assert((F_GETLK64) == (12), "F_GETLK64 != 12");
252 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
253 #else
254 # define F_GETLK64 12
255 #endif
256 #if defined(F_SETLK64) || (defined(HAVE_DECL_F_SETLK64) && HAVE_DECL_F_SETLK64)
257 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
258 static_assert((F_SETLK64) == (13), "F_SETLK64 != 13");
259 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
260 #else
261 # define F_SETLK64 13
262 #endif
263 #if defined(F_SETLKW64) || (defined(HAVE_DECL_F_SETLKW64) && HAVE_DECL_F_SETLKW64)
264 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
265 static_assert((F_SETLKW64) == (14), "F_SETLKW64 != 14");
266 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
267 #else
268 # define F_SETLKW64 14
269 #endif
270 #endif
271 #ifndef STRACE_WORKAROUND_FOR_F_OWNER_EX
272 # define STRACE_WORKAROUND_FOR_F_OWNER_EX
273 # if defined F_SETOWN_EX && F_SETOWN_EX != 15
274 #  warning invalid value of F_SETOWN_EX ignored
275 # endif
276 # undef F_SETOWN_EX
277 # if defined F_GETOWN_EX && F_GETOWN_EX != 16
278 #  warning invalid value of F_GETOWN_EX ignored
279 # endif
280 # undef F_GETOWN_EX
281 #endif
282 #if defined(F_SETOWN_EX) || (defined(HAVE_DECL_F_SETOWN_EX) && HAVE_DECL_F_SETOWN_EX)
283 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
284 static_assert((F_SETOWN_EX) == (15), "F_SETOWN_EX != 15");
285 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
286 #else
287 # define F_SETOWN_EX 15
288 #endif
289 #if defined(F_GETOWN_EX) || (defined(HAVE_DECL_F_GETOWN_EX) && HAVE_DECL_F_GETOWN_EX)
290 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
291 static_assert((F_GETOWN_EX) == (16), "F_GETOWN_EX != 16");
292 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
293 #else
294 # define F_GETOWN_EX 16
295 #endif
296 #if defined(F_GETOWNER_UIDS) || (defined(HAVE_DECL_F_GETOWNER_UIDS) && HAVE_DECL_F_GETOWNER_UIDS)
297 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
298 static_assert((F_GETOWNER_UIDS) == (17), "F_GETOWNER_UIDS != 17");
299 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
300 #else
301 # define F_GETOWNER_UIDS 17
302 #endif
303 #if defined(F_OFD_GETLK) || (defined(HAVE_DECL_F_OFD_GETLK) && HAVE_DECL_F_OFD_GETLK)
304 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
305 static_assert((F_OFD_GETLK) == (36), "F_OFD_GETLK != 36");
306 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
307 #else
308 # define F_OFD_GETLK 36
309 #endif
310 #if defined(F_OFD_SETLK) || (defined(HAVE_DECL_F_OFD_SETLK) && HAVE_DECL_F_OFD_SETLK)
311 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
312 static_assert((F_OFD_SETLK) == (37), "F_OFD_SETLK != 37");
313 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
314 #else
315 # define F_OFD_SETLK 37
316 #endif
317 #if defined(F_OFD_SETLKW) || (defined(HAVE_DECL_F_OFD_SETLKW) && HAVE_DECL_F_OFD_SETLKW)
318 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
319 static_assert((F_OFD_SETLKW) == (38), "F_OFD_SETLKW != 38");
320 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
321 #else
322 # define F_OFD_SETLKW 38
323 #endif
324 #if defined(F_SETLEASE) || (defined(HAVE_DECL_F_SETLEASE) && HAVE_DECL_F_SETLEASE)
325 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
326 static_assert((F_SETLEASE) == ((1024 + 0)), "F_SETLEASE != (1024 + 0)");
327 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
328 #else
329 # define F_SETLEASE (1024 + 0)
330 #endif
331 #if defined(F_GETLEASE) || (defined(HAVE_DECL_F_GETLEASE) && HAVE_DECL_F_GETLEASE)
332 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
333 static_assert((F_GETLEASE) == ((1024 + 1)), "F_GETLEASE != (1024 + 1)");
334 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
335 #else
336 # define F_GETLEASE (1024 + 1)
337 #endif
338 #if defined(F_NOTIFY) || (defined(HAVE_DECL_F_NOTIFY) && HAVE_DECL_F_NOTIFY)
339 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
340 static_assert((F_NOTIFY) == ((1024 + 2)), "F_NOTIFY != (1024 + 2)");
341 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
342 #else
343 # define F_NOTIFY (1024 + 2)
344 #endif
345 #if defined(F_CANCELLK) || (defined(HAVE_DECL_F_CANCELLK) && HAVE_DECL_F_CANCELLK)
346 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
347 static_assert((F_CANCELLK) == ((1024 + 5)), "F_CANCELLK != (1024 + 5)");
348 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
349 #else
350 # define F_CANCELLK (1024 + 5)
351 #endif
352 #if defined(F_DUPFD_CLOEXEC) || (defined(HAVE_DECL_F_DUPFD_CLOEXEC) && HAVE_DECL_F_DUPFD_CLOEXEC)
353 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
354 static_assert((F_DUPFD_CLOEXEC) == ((1024 + 6)), "F_DUPFD_CLOEXEC != (1024 + 6)");
355 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
356 #else
357 # define F_DUPFD_CLOEXEC (1024 + 6)
358 #endif
359 #if defined(F_SETPIPE_SZ) || (defined(HAVE_DECL_F_SETPIPE_SZ) && HAVE_DECL_F_SETPIPE_SZ)
360 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
361 static_assert((F_SETPIPE_SZ) == ((1024 + 7)), "F_SETPIPE_SZ != (1024 + 7)");
362 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
363 #else
364 # define F_SETPIPE_SZ (1024 + 7)
365 #endif
366 #if defined(F_GETPIPE_SZ) || (defined(HAVE_DECL_F_GETPIPE_SZ) && HAVE_DECL_F_GETPIPE_SZ)
367 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
368 static_assert((F_GETPIPE_SZ) == ((1024 + 8)), "F_GETPIPE_SZ != (1024 + 8)");
369 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
370 #else
371 # define F_GETPIPE_SZ (1024 + 8)
372 #endif
373 #if defined(F_ADD_SEALS) || (defined(HAVE_DECL_F_ADD_SEALS) && HAVE_DECL_F_ADD_SEALS)
374 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
375 static_assert((F_ADD_SEALS) == ((1024 + 9)), "F_ADD_SEALS != (1024 + 9)");
376 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
377 #else
378 # define F_ADD_SEALS (1024 + 9)
379 #endif
380 #if defined(F_GET_SEALS) || (defined(HAVE_DECL_F_GET_SEALS) && HAVE_DECL_F_GET_SEALS)
381 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
382 static_assert((F_GET_SEALS) == ((1024 + 10)), "F_GET_SEALS != (1024 + 10)");
383 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
384 #else
385 # define F_GET_SEALS (1024 + 10)
386 #endif
387 
388 #ifndef XLAT_MACROS_ONLY
389 
390 # ifdef IN_MPERS
391 
392 #  error static const struct xlat fcntlcmds in mpers mode
393 
394 # else
395 
396 static
397 const struct xlat fcntlcmds[] = {
398 
399  XLAT(F_DUPFD),
400  XLAT(F_GETFD),
401  XLAT(F_SETFD),
402  XLAT(F_GETFL),
403  XLAT(F_SETFL),
404 
405 #if defined __alpha__ || defined __sparc__
406  XLAT(F_GETLK),
407 #elif defined __mips__
408  XLAT(F_GETLK),
409 #else
410  XLAT(F_GETLK),
411 #endif
412 
413 #if defined __alpha__ || defined __sparc__
414  XLAT(F_SETLK),
415  XLAT(F_SETLKW),
416 #else
417  XLAT(F_SETLK),
418  XLAT(F_SETLKW),
419 #endif
420 
421 #if defined __alpha__
422  XLAT(F_SETOWN),
423  XLAT(F_GETOWN),
424 #elif defined __hppa__
425  XLAT(F_GETOWN),
426  XLAT(F_SETOWN),
427 #elif defined __mips__
428  XLAT(F_GETOWN),
429  XLAT(F_SETOWN),
430 #elif defined __sparc__
431  XLAT(F_GETOWN),
432  XLAT(F_SETOWN),
433 #else
434  XLAT(F_SETOWN),
435  XLAT(F_GETOWN),
436 #endif
437 
438 #ifdef __hppa__
439  XLAT(F_SETSIG),
440  XLAT(F_GETSIG),
441 #else
442  XLAT(F_SETSIG),
443  XLAT(F_GETSIG),
444 #endif
445 
446 #if defined __hppa__
447  XLAT(F_GETLK64),
448  XLAT(F_SETLK64),
449  XLAT(F_SETLKW64),
450 #elif defined __mips__ && !defined __mips64
451  XLAT(F_GETLK64),
452  XLAT(F_SETLK64),
453  XLAT(F_SETLKW64),
454 #else
455  XLAT(F_GETLK64),
456  XLAT(F_SETLK64),
457  XLAT(F_SETLKW64),
458 #endif
459 
460 #ifndef STRACE_WORKAROUND_FOR_F_OWNER_EX
461 # define STRACE_WORKAROUND_FOR_F_OWNER_EX
462 /*
463 * Linux kernel commit v2.6.32-rc7~23 has changed values of F_SETOWN_EX
464 * and F_GETOWN_EX constants introduced by commit v2.6.32-rc1~96 to fix
465 * the conflict with F_GETLK64 and F_SETLK64 constants.
466 * Looks like the best way to handle this situation is to pretend that
467 * old values of F_SETOWN_EX and F_GETOWN_EX didn't exist.
468 */
469 # if defined F_SETOWN_EX && F_SETOWN_EX != 15
470 #  warning invalid value of F_SETOWN_EX ignored
471 # endif
472 # undef F_SETOWN_EX
473 # if defined F_GETOWN_EX && F_GETOWN_EX != 16
474 #  warning invalid value of F_GETOWN_EX ignored
475 # endif
476 # undef F_GETOWN_EX
477 #endif
478  XLAT(F_SETOWN_EX),
479  XLAT(F_GETOWN_EX),
480 
481  XLAT(F_GETOWNER_UIDS),
482  XLAT(F_OFD_GETLK),
483  XLAT(F_OFD_SETLK),
484  XLAT(F_OFD_SETLKW),
485 
486 
487  XLAT(F_SETLEASE),
488  XLAT(F_GETLEASE),
489  XLAT(F_NOTIFY),
490  XLAT(F_CANCELLK),
491  XLAT(F_DUPFD_CLOEXEC),
492  XLAT(F_SETPIPE_SZ),
493  XLAT(F_GETPIPE_SZ),
494  XLAT(F_ADD_SEALS),
495  XLAT(F_GET_SEALS),
496  XLAT_END
497 };
498 
499 # endif /* !IN_MPERS */
500 
501 #endif /* !XLAT_MACROS_ONLY */
502