mount_flags.h revision d35df493b4e7684c50d2d2fa032ee3a7ac228009
1/* Generated by ./xlat/gen.sh from ./xlat/mount_flags.in; do not edit. */
2#if !(defined(MS_RDONLY) || (defined(HAVE_DECL_MS_RDONLY) && HAVE_DECL_MS_RDONLY))
3# define MS_RDONLY 1
4#endif
5#if !(defined(MS_NOSUID) || (defined(HAVE_DECL_MS_NOSUID) && HAVE_DECL_MS_NOSUID))
6# define MS_NOSUID 2
7#endif
8#if !(defined(MS_NODEV) || (defined(HAVE_DECL_MS_NODEV) && HAVE_DECL_MS_NODEV))
9# define MS_NODEV 4
10#endif
11#if !(defined(MS_NOEXEC) || (defined(HAVE_DECL_MS_NOEXEC) && HAVE_DECL_MS_NOEXEC))
12# define MS_NOEXEC 8
13#endif
14#if !(defined(MS_SYNCHRONOUS) || (defined(HAVE_DECL_MS_SYNCHRONOUS) && HAVE_DECL_MS_SYNCHRONOUS))
15# define MS_SYNCHRONOUS 16
16#endif
17#if !(defined(MS_REMOUNT) || (defined(HAVE_DECL_MS_REMOUNT) && HAVE_DECL_MS_REMOUNT))
18# define MS_REMOUNT 32
19#endif
20#if !(defined(MS_MANDLOCK) || (defined(HAVE_DECL_MS_MANDLOCK) && HAVE_DECL_MS_MANDLOCK))
21# define MS_MANDLOCK 64
22#endif
23#if !(defined(MS_DIRSYNC) || (defined(HAVE_DECL_MS_DIRSYNC) && HAVE_DECL_MS_DIRSYNC))
24# define MS_DIRSYNC 128
25#endif
26#if !(defined(MS_NOATIME) || (defined(HAVE_DECL_MS_NOATIME) && HAVE_DECL_MS_NOATIME))
27# define MS_NOATIME 1024
28#endif
29#if !(defined(MS_NODIRATIME) || (defined(HAVE_DECL_MS_NODIRATIME) && HAVE_DECL_MS_NODIRATIME))
30# define MS_NODIRATIME 2048
31#endif
32#if !(defined(MS_BIND) || (defined(HAVE_DECL_MS_BIND) && HAVE_DECL_MS_BIND))
33# define MS_BIND 4096
34#endif
35#if !(defined(MS_MOVE) || (defined(HAVE_DECL_MS_MOVE) && HAVE_DECL_MS_MOVE))
36# define MS_MOVE 8192
37#endif
38#if !(defined(MS_REC) || (defined(HAVE_DECL_MS_REC) && HAVE_DECL_MS_REC))
39# define MS_REC 16384
40#endif
41#if !(defined(MS_SILENT) || (defined(HAVE_DECL_MS_SILENT) && HAVE_DECL_MS_SILENT))
42# define MS_SILENT 32768
43#endif
44#if !(defined(MS_POSIXACL) || (defined(HAVE_DECL_MS_POSIXACL) && HAVE_DECL_MS_POSIXACL))
45# define MS_POSIXACL (1<<16)
46#endif
47#if !(defined(MS_UNBINDABLE) || (defined(HAVE_DECL_MS_UNBINDABLE) && HAVE_DECL_MS_UNBINDABLE))
48# define MS_UNBINDABLE (1<<17)
49#endif
50#if !(defined(MS_PRIVATE) || (defined(HAVE_DECL_MS_PRIVATE) && HAVE_DECL_MS_PRIVATE))
51# define MS_PRIVATE (1<<18)
52#endif
53#if !(defined(MS_SLAVE) || (defined(HAVE_DECL_MS_SLAVE) && HAVE_DECL_MS_SLAVE))
54# define MS_SLAVE (1<<19)
55#endif
56#if !(defined(MS_SHARED) || (defined(HAVE_DECL_MS_SHARED) && HAVE_DECL_MS_SHARED))
57# define MS_SHARED (1<<20)
58#endif
59#if !(defined(MS_RELATIME) || (defined(HAVE_DECL_MS_RELATIME) && HAVE_DECL_MS_RELATIME))
60# define MS_RELATIME (1<<21)
61#endif
62#if !(defined(MS_KERNMOUNT) || (defined(HAVE_DECL_MS_KERNMOUNT) && HAVE_DECL_MS_KERNMOUNT))
63# define MS_KERNMOUNT (1<<22)
64#endif
65#if !(defined(MS_I_VERSION) || (defined(HAVE_DECL_MS_I_VERSION) && HAVE_DECL_MS_I_VERSION))
66# define MS_I_VERSION (1<<23)
67#endif
68#if !(defined(MS_STRICTATIME) || (defined(HAVE_DECL_MS_STRICTATIME) && HAVE_DECL_MS_STRICTATIME))
69# define MS_STRICTATIME (1<<24)
70#endif
71#if !(defined(MS_LAZYTIME) || (defined(HAVE_DECL_MS_LAZYTIME) && HAVE_DECL_MS_LAZYTIME))
72# define MS_LAZYTIME (1<<25)
73#endif
74#if !(defined(MS_NOREMOTELOCK) || (defined(HAVE_DECL_MS_NOREMOTELOCK) && HAVE_DECL_MS_NOREMOTELOCK))
75# define MS_NOREMOTELOCK (1<<27)
76#endif
77#if !(defined(MS_NOSEC) || (defined(HAVE_DECL_MS_NOSEC) && HAVE_DECL_MS_NOSEC))
78# define MS_NOSEC (1<<28)
79#endif
80#if !(defined(MS_BORN) || (defined(HAVE_DECL_MS_BORN) && HAVE_DECL_MS_BORN))
81# define MS_BORN (1<<29)
82#endif
83#if !(defined(MS_ACTIVE) || (defined(HAVE_DECL_MS_ACTIVE) && HAVE_DECL_MS_ACTIVE))
84# define MS_ACTIVE (1<<30)
85#endif
86#if !(defined(MS_NOUSER) || (defined(HAVE_DECL_MS_NOUSER) && HAVE_DECL_MS_NOUSER))
87# define MS_NOUSER (1<<31)
88#endif
89
90#ifdef IN_MPERS
91
92# error static const struct xlat mount_flags in mpers mode
93
94#else
95
96static
97const struct xlat mount_flags[] = {
98 XLAT(MS_RDONLY),
99 XLAT(MS_NOSUID),
100 XLAT(MS_NODEV),
101 XLAT(MS_NOEXEC),
102 XLAT(MS_SYNCHRONOUS),
103 XLAT(MS_REMOUNT),
104 XLAT(MS_MANDLOCK),
105 XLAT(MS_DIRSYNC),
106 XLAT(MS_NOATIME),
107 XLAT(MS_NODIRATIME),
108 XLAT(MS_BIND),
109 XLAT(MS_MOVE),
110 XLAT(MS_REC),
111 XLAT(MS_SILENT),
112 XLAT(MS_POSIXACL),
113 XLAT(MS_UNBINDABLE),
114 XLAT(MS_PRIVATE),
115 XLAT(MS_SLAVE),
116 XLAT(MS_SHARED),
117 XLAT(MS_RELATIME),
118 XLAT(MS_KERNMOUNT),
119 XLAT(MS_I_VERSION),
120 XLAT(MS_STRICTATIME),
121 XLAT(MS_LAZYTIME),
122 XLAT(MS_NOREMOTELOCK),
123 XLAT(MS_NOSEC),
124 XLAT(MS_BORN),
125 XLAT(MS_ACTIVE),
126 XLAT(MS_NOUSER),
127 XLAT_END
128};
129
130#endif /* !IN_MPERS */
131