Home | History | Annotate | Download | only in xlat
      1 /* Generated by ./xlat/gen.sh from ./xlat/statx_masks.in; do not edit. */
      2 #if !(defined(STATX_ALL) || (defined(HAVE_DECL_STATX_ALL) && HAVE_DECL_STATX_ALL))
      3 # define STATX_ALL 0x00000fffU
      4 #endif
      5 #if !(defined(STATX_BASIC_STATS) || (defined(HAVE_DECL_STATX_BASIC_STATS) && HAVE_DECL_STATX_BASIC_STATS))
      6 # define STATX_BASIC_STATS 0x000007ffU
      7 #endif
      8 #if !(defined(STATX_TYPE) || (defined(HAVE_DECL_STATX_TYPE) && HAVE_DECL_STATX_TYPE))
      9 # define STATX_TYPE 0x00000001U
     10 #endif
     11 #if !(defined(STATX_MODE) || (defined(HAVE_DECL_STATX_MODE) && HAVE_DECL_STATX_MODE))
     12 # define STATX_MODE 0x00000002U
     13 #endif
     14 #if !(defined(STATX_NLINK) || (defined(HAVE_DECL_STATX_NLINK) && HAVE_DECL_STATX_NLINK))
     15 # define STATX_NLINK 0x00000004U
     16 #endif
     17 #if !(defined(STATX_UID) || (defined(HAVE_DECL_STATX_UID) && HAVE_DECL_STATX_UID))
     18 # define STATX_UID 0x00000008U
     19 #endif
     20 #if !(defined(STATX_GID) || (defined(HAVE_DECL_STATX_GID) && HAVE_DECL_STATX_GID))
     21 # define STATX_GID 0x00000010U
     22 #endif
     23 #if !(defined(STATX_ATIME) || (defined(HAVE_DECL_STATX_ATIME) && HAVE_DECL_STATX_ATIME))
     24 # define STATX_ATIME 0x00000020U
     25 #endif
     26 #if !(defined(STATX_MTIME) || (defined(HAVE_DECL_STATX_MTIME) && HAVE_DECL_STATX_MTIME))
     27 # define STATX_MTIME 0x00000040U
     28 #endif
     29 #if !(defined(STATX_CTIME) || (defined(HAVE_DECL_STATX_CTIME) && HAVE_DECL_STATX_CTIME))
     30 # define STATX_CTIME 0x00000080U
     31 #endif
     32 #if !(defined(STATX_INO) || (defined(HAVE_DECL_STATX_INO) && HAVE_DECL_STATX_INO))
     33 # define STATX_INO 0x00000100U
     34 #endif
     35 #if !(defined(STATX_SIZE) || (defined(HAVE_DECL_STATX_SIZE) && HAVE_DECL_STATX_SIZE))
     36 # define STATX_SIZE 0x00000200U
     37 #endif
     38 #if !(defined(STATX_BLOCKS) || (defined(HAVE_DECL_STATX_BLOCKS) && HAVE_DECL_STATX_BLOCKS))
     39 # define STATX_BLOCKS 0x00000400U
     40 #endif
     41 #if !(defined(STATX_BTIME) || (defined(HAVE_DECL_STATX_BTIME) && HAVE_DECL_STATX_BTIME))
     42 # define STATX_BTIME 0x00000800U
     43 #endif
     44 
     45 #ifdef IN_MPERS
     46 
     47 # error static const struct xlat statx_masks in mpers mode
     48 
     49 #else
     50 
     51 static
     52 const struct xlat statx_masks[] = {
     53  XLAT(STATX_ALL),
     54  XLAT(STATX_BASIC_STATS),
     55 
     56  XLAT(STATX_TYPE),
     57  XLAT(STATX_MODE),
     58  XLAT(STATX_NLINK),
     59  XLAT(STATX_UID),
     60  XLAT(STATX_GID),
     61  XLAT(STATX_ATIME),
     62  XLAT(STATX_MTIME),
     63  XLAT(STATX_CTIME),
     64  XLAT(STATX_INO),
     65  XLAT(STATX_SIZE),
     66  XLAT(STATX_BLOCKS),
     67  XLAT(STATX_BTIME),
     68  XLAT_END
     69 };
     70 
     71 #endif /* !IN_MPERS */
     72