| /* Generated by ./xlat/gen.sh from ./xlat/btrfs_features_incompat.in; do not edit. */ |
| #if !(defined(BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF)) |
| # define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF (1ULL << 0) |
| #endif |
| #if !(defined(BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL)) |
| # define BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL (1ULL << 1) |
| #endif |
| #if !(defined(BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS)) |
| # define BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS (1ULL << 2) |
| #endif |
| #if !(defined(BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO)) |
| # define BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO (1ULL << 3) |
| #endif |
| #if !(defined(BTRFS_FEATURE_INCOMPAT_COMPRESS_LZOv2) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_COMPRESS_LZOv2) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_COMPRESS_LZOv2)) |
| # define BTRFS_FEATURE_INCOMPAT_COMPRESS_LZOv2 (1ULL << 4) |
| #endif |
| #if !(defined(BTRFS_FEATURE_INCOMPAT_BIG_METADATA) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_BIG_METADATA) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_BIG_METADATA)) |
| # define BTRFS_FEATURE_INCOMPAT_BIG_METADATA (1ULL << 5) |
| #endif |
| #if !(defined(BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF)) |
| # define BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF (1ULL << 6) |
| #endif |
| #if !(defined(BTRFS_FEATURE_INCOMPAT_RAID56) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_RAID56) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_RAID56)) |
| # define BTRFS_FEATURE_INCOMPAT_RAID56 (1ULL << 7) |
| #endif |
| #if !(defined(BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA)) |
| # define BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA (1ULL << 8) |
| #endif |
| #if !(defined(BTRFS_FEATURE_INCOMPAT_NO_HOLES) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_NO_HOLES) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_NO_HOLES)) |
| # define BTRFS_FEATURE_INCOMPAT_NO_HOLES (1ULL << 9) |
| #endif |
| |
| #ifdef IN_MPERS |
| |
| extern const struct xlat btrfs_features_incompat[]; |
| |
| #else |
| |
| # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) |
| static |
| # endif |
| const struct xlat btrfs_features_incompat[] = { |
| XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF), |
| XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL), |
| XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS), |
| XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO), |
| XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_COMPRESS_LZOv2), |
| XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_BIG_METADATA), |
| XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF), |
| XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_RAID56), |
| XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA), |
| XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_NO_HOLES), |
| XLAT_END |
| }; |
| |
| #endif /* !IN_MPERS */ |