/* Generated by ./xlat/gen.sh from ./xlat/statx_masks.in; do not edit. */

#include "gcc_compat.h"
#include "static_assert.h"

#if defined(STATX_ALL) || (defined(HAVE_DECL_STATX_ALL) && HAVE_DECL_STATX_ALL)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_ALL) == (0x00000fffU), "STATX_ALL != 0x00000fffU");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_ALL 0x00000fffU
#endif
#if defined(STATX_BASIC_STATS) || (defined(HAVE_DECL_STATX_BASIC_STATS) && HAVE_DECL_STATX_BASIC_STATS)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_BASIC_STATS) == (0x000007ffU), "STATX_BASIC_STATS != 0x000007ffU");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_BASIC_STATS 0x000007ffU
#endif
#if defined(STATX_TYPE) || (defined(HAVE_DECL_STATX_TYPE) && HAVE_DECL_STATX_TYPE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_TYPE) == (0x00000001U), "STATX_TYPE != 0x00000001U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_TYPE 0x00000001U
#endif
#if defined(STATX_MODE) || (defined(HAVE_DECL_STATX_MODE) && HAVE_DECL_STATX_MODE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_MODE) == (0x00000002U), "STATX_MODE != 0x00000002U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_MODE 0x00000002U
#endif
#if defined(STATX_NLINK) || (defined(HAVE_DECL_STATX_NLINK) && HAVE_DECL_STATX_NLINK)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_NLINK) == (0x00000004U), "STATX_NLINK != 0x00000004U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_NLINK 0x00000004U
#endif
#if defined(STATX_UID) || (defined(HAVE_DECL_STATX_UID) && HAVE_DECL_STATX_UID)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_UID) == (0x00000008U), "STATX_UID != 0x00000008U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_UID 0x00000008U
#endif
#if defined(STATX_GID) || (defined(HAVE_DECL_STATX_GID) && HAVE_DECL_STATX_GID)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_GID) == (0x00000010U), "STATX_GID != 0x00000010U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_GID 0x00000010U
#endif
#if defined(STATX_ATIME) || (defined(HAVE_DECL_STATX_ATIME) && HAVE_DECL_STATX_ATIME)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_ATIME) == (0x00000020U), "STATX_ATIME != 0x00000020U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_ATIME 0x00000020U
#endif
#if defined(STATX_MTIME) || (defined(HAVE_DECL_STATX_MTIME) && HAVE_DECL_STATX_MTIME)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_MTIME) == (0x00000040U), "STATX_MTIME != 0x00000040U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_MTIME 0x00000040U
#endif
#if defined(STATX_CTIME) || (defined(HAVE_DECL_STATX_CTIME) && HAVE_DECL_STATX_CTIME)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_CTIME) == (0x00000080U), "STATX_CTIME != 0x00000080U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_CTIME 0x00000080U
#endif
#if defined(STATX_INO) || (defined(HAVE_DECL_STATX_INO) && HAVE_DECL_STATX_INO)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_INO) == (0x00000100U), "STATX_INO != 0x00000100U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_INO 0x00000100U
#endif
#if defined(STATX_SIZE) || (defined(HAVE_DECL_STATX_SIZE) && HAVE_DECL_STATX_SIZE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_SIZE) == (0x00000200U), "STATX_SIZE != 0x00000200U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_SIZE 0x00000200U
#endif
#if defined(STATX_BLOCKS) || (defined(HAVE_DECL_STATX_BLOCKS) && HAVE_DECL_STATX_BLOCKS)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_BLOCKS) == (0x00000400U), "STATX_BLOCKS != 0x00000400U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_BLOCKS 0x00000400U
#endif
#if defined(STATX_BTIME) || (defined(HAVE_DECL_STATX_BTIME) && HAVE_DECL_STATX_BTIME)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((STATX_BTIME) == (0x00000800U), "STATX_BTIME != 0x00000800U");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define STATX_BTIME 0x00000800U
#endif

#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat statx_masks in mpers mode

# else

static
const struct xlat statx_masks[] = {
 XLAT(STATX_ALL),
 XLAT(STATX_BASIC_STATS),

 XLAT(STATX_TYPE),
 XLAT(STATX_MODE),
 XLAT(STATX_NLINK),
 XLAT(STATX_UID),
 XLAT(STATX_GID),
 XLAT(STATX_ATIME),
 XLAT(STATX_MTIME),
 XLAT(STATX_CTIME),
 XLAT(STATX_INO),
 XLAT(STATX_SIZE),
 XLAT(STATX_BLOCKS),
 XLAT(STATX_BTIME),
 XLAT_END
};

# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */