• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/xfs_quota_flags.in; do not edit. */
2 #if !(defined(XFS_QUOTA_UDQ_ACCT) || (defined(HAVE_DECL_XFS_QUOTA_UDQ_ACCT) && HAVE_DECL_XFS_QUOTA_UDQ_ACCT))
3 # define XFS_QUOTA_UDQ_ACCT (1<<0)
4 #endif
5 #if !(defined(XFS_QUOTA_UDQ_ENFD) || (defined(HAVE_DECL_XFS_QUOTA_UDQ_ENFD) && HAVE_DECL_XFS_QUOTA_UDQ_ENFD))
6 # define XFS_QUOTA_UDQ_ENFD (1<<1)
7 #endif
8 #if !(defined(XFS_QUOTA_GDQ_ACCT) || (defined(HAVE_DECL_XFS_QUOTA_GDQ_ACCT) && HAVE_DECL_XFS_QUOTA_GDQ_ACCT))
9 # define XFS_QUOTA_GDQ_ACCT (1<<2)
10 #endif
11 #if !(defined(XFS_QUOTA_GDQ_ENFD) || (defined(HAVE_DECL_XFS_QUOTA_GDQ_ENFD) && HAVE_DECL_XFS_QUOTA_GDQ_ENFD))
12 # define XFS_QUOTA_GDQ_ENFD (1<<3)
13 #endif
14 #if !(defined(XFS_QUOTA_PDQ_ACCT) || (defined(HAVE_DECL_XFS_QUOTA_PDQ_ACCT) && HAVE_DECL_XFS_QUOTA_PDQ_ACCT))
15 # define XFS_QUOTA_PDQ_ACCT (1<<4)
16 #endif
17 #if !(defined(XFS_QUOTA_PDQ_ENFD) || (defined(HAVE_DECL_XFS_QUOTA_PDQ_ENFD) && HAVE_DECL_XFS_QUOTA_PDQ_ENFD))
18 # define XFS_QUOTA_PDQ_ENFD (1<<5)
19 #endif
20 
21 #ifdef IN_MPERS
22 
23 # error static const struct xlat xfs_quota_flags in mpers mode
24 
25 #else
26 
27 static
28 const struct xlat xfs_quota_flags[] = {
29  XLAT(XFS_QUOTA_UDQ_ACCT),
30  XLAT(XFS_QUOTA_UDQ_ENFD),
31  XLAT(XFS_QUOTA_GDQ_ACCT),
32  XLAT(XFS_QUOTA_GDQ_ENFD),
33  XLAT(XFS_QUOTA_PDQ_ACCT),
34  XLAT(XFS_QUOTA_PDQ_ENFD),
35  XLAT_END
36 };
37 
38 #endif /* !IN_MPERS */
39