• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/btrfs_features_incompat.in; do not edit. */
2 #if !(defined(BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF))
3 # define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF (1ULL << 0)
4 #endif
5 #if !(defined(BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL))
6 # define BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL (1ULL << 1)
7 #endif
8 #if !(defined(BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS))
9 # define BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS (1ULL << 2)
10 #endif
11 #if !(defined(BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO))
12 # define BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO (1ULL << 3)
13 #endif
14 #if !(defined(BTRFS_FEATURE_INCOMPAT_COMPRESS_LZOv2) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_COMPRESS_LZOv2) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_COMPRESS_LZOv2))
15 # define BTRFS_FEATURE_INCOMPAT_COMPRESS_LZOv2 (1ULL << 4)
16 #endif
17 #if !(defined(BTRFS_FEATURE_INCOMPAT_BIG_METADATA) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_BIG_METADATA) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_BIG_METADATA))
18 # define BTRFS_FEATURE_INCOMPAT_BIG_METADATA (1ULL << 5)
19 #endif
20 #if !(defined(BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF))
21 # define BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF (1ULL << 6)
22 #endif
23 #if !(defined(BTRFS_FEATURE_INCOMPAT_RAID56) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_RAID56) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_RAID56))
24 # define BTRFS_FEATURE_INCOMPAT_RAID56 (1ULL << 7)
25 #endif
26 #if !(defined(BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA))
27 # define BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA (1ULL << 8)
28 #endif
29 #if !(defined(BTRFS_FEATURE_INCOMPAT_NO_HOLES) || (defined(HAVE_DECL_BTRFS_FEATURE_INCOMPAT_NO_HOLES) && HAVE_DECL_BTRFS_FEATURE_INCOMPAT_NO_HOLES))
30 # define BTRFS_FEATURE_INCOMPAT_NO_HOLES (1ULL << 9)
31 #endif
32 
33 #ifdef IN_MPERS
34 
35 extern const struct xlat btrfs_features_incompat[];
36 
37 #else
38 
39 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
40 static
41 # endif
42 const struct xlat btrfs_features_incompat[] = {
43  XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF),
44  XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL),
45  XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS),
46  XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO),
47  XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_COMPRESS_LZOv2),
48  XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_BIG_METADATA),
49  XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF),
50  XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_RAID56),
51  XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA),
52  XLAT_TYPE(uint64_t, BTRFS_FEATURE_INCOMPAT_NO_HOLES),
53  XLAT_END
54 };
55 
56 #endif /* !IN_MPERS */
57