• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/statfs_flags.in; do not edit. */
2 #if !(defined(ST_VALID) || (defined(HAVE_DECL_ST_VALID) && HAVE_DECL_ST_VALID))
3 # define ST_VALID 0x0020
4 #endif
5 #if !(defined(ST_RDONLY) || (defined(HAVE_DECL_ST_RDONLY) && HAVE_DECL_ST_RDONLY))
6 # define ST_RDONLY 0x0001
7 #endif
8 #if !(defined(ST_NOSUID) || (defined(HAVE_DECL_ST_NOSUID) && HAVE_DECL_ST_NOSUID))
9 # define ST_NOSUID 0x0002
10 #endif
11 #if !(defined(ST_NODEV) || (defined(HAVE_DECL_ST_NODEV) && HAVE_DECL_ST_NODEV))
12 # define ST_NODEV 0x0004
13 #endif
14 #if !(defined(ST_NOEXEC) || (defined(HAVE_DECL_ST_NOEXEC) && HAVE_DECL_ST_NOEXEC))
15 # define ST_NOEXEC 0x0008
16 #endif
17 #if !(defined(ST_SYNCHRONOUS) || (defined(HAVE_DECL_ST_SYNCHRONOUS) && HAVE_DECL_ST_SYNCHRONOUS))
18 # define ST_SYNCHRONOUS 0x0010
19 #endif
20 #if !(defined(ST_MANDLOCK) || (defined(HAVE_DECL_ST_MANDLOCK) && HAVE_DECL_ST_MANDLOCK))
21 # define ST_MANDLOCK 0x0040
22 #endif
23 #if !(defined(ST_NOATIME) || (defined(HAVE_DECL_ST_NOATIME) && HAVE_DECL_ST_NOATIME))
24 # define ST_NOATIME 0x0400
25 #endif
26 #if !(defined(ST_NODIRATIME) || (defined(HAVE_DECL_ST_NODIRATIME) && HAVE_DECL_ST_NODIRATIME))
27 # define ST_NODIRATIME 0x0800
28 #endif
29 #if !(defined(ST_RELATIME) || (defined(HAVE_DECL_ST_RELATIME) && HAVE_DECL_ST_RELATIME))
30 # define ST_RELATIME 0x1000
31 #endif
32 
33 #ifdef IN_MPERS
34 
35 # error static const struct xlat statfs_flags in mpers mode
36 
37 #else
38 
39 static
40 const struct xlat statfs_flags[] = {
41  XLAT(ST_VALID),
42  XLAT(ST_RDONLY),
43  XLAT(ST_NOSUID),
44  XLAT(ST_NODEV),
45  XLAT(ST_NOEXEC),
46  XLAT(ST_SYNCHRONOUS),
47  XLAT(ST_MANDLOCK),
48  XLAT(ST_NOATIME),
49  XLAT(ST_NODIRATIME),
50  XLAT(ST_RELATIME),
51  XLAT_END
52 };
53 
54 #endif /* !IN_MPERS */
55