1 /* Generated by ./xlat/gen.sh from ./xlat/btrfs_space_info_flags.in; do not edit. */
2 #if !(defined(BTRFS_BLOCK_GROUP_DATA) || (defined(HAVE_DECL_BTRFS_BLOCK_GROUP_DATA) && HAVE_DECL_BTRFS_BLOCK_GROUP_DATA))
3 # define BTRFS_BLOCK_GROUP_DATA (1ULL << 0)
4 #endif
5 #if !(defined(BTRFS_BLOCK_GROUP_SYSTEM) || (defined(HAVE_DECL_BTRFS_BLOCK_GROUP_SYSTEM) && HAVE_DECL_BTRFS_BLOCK_GROUP_SYSTEM))
6 # define BTRFS_BLOCK_GROUP_SYSTEM (1ULL << 1)
7 #endif
8 #if !(defined(BTRFS_BLOCK_GROUP_METADATA) || (defined(HAVE_DECL_BTRFS_BLOCK_GROUP_METADATA) && HAVE_DECL_BTRFS_BLOCK_GROUP_METADATA))
9 # define BTRFS_BLOCK_GROUP_METADATA (1ULL << 2)
10 #endif
11 #if !(defined(BTRFS_BLOCK_GROUP_RAID0) || (defined(HAVE_DECL_BTRFS_BLOCK_GROUP_RAID0) && HAVE_DECL_BTRFS_BLOCK_GROUP_RAID0))
12 # define BTRFS_BLOCK_GROUP_RAID0 (1ULL << 3)
13 #endif
14 #if !(defined(BTRFS_BLOCK_GROUP_RAID1) || (defined(HAVE_DECL_BTRFS_BLOCK_GROUP_RAID1) && HAVE_DECL_BTRFS_BLOCK_GROUP_RAID1))
15 # define BTRFS_BLOCK_GROUP_RAID1 (1ULL << 4)
16 #endif
17 #if !(defined(BTRFS_BLOCK_GROUP_DUP) || (defined(HAVE_DECL_BTRFS_BLOCK_GROUP_DUP) && HAVE_DECL_BTRFS_BLOCK_GROUP_DUP))
18 # define BTRFS_BLOCK_GROUP_DUP (1ULL << 5)
19 #endif
20 #if !(defined(BTRFS_BLOCK_GROUP_RAID10) || (defined(HAVE_DECL_BTRFS_BLOCK_GROUP_RAID10) && HAVE_DECL_BTRFS_BLOCK_GROUP_RAID10))
21 # define BTRFS_BLOCK_GROUP_RAID10 (1ULL << 6)
22 #endif
23 #if !(defined(BTRFS_BLOCK_GROUP_RAID5) || (defined(HAVE_DECL_BTRFS_BLOCK_GROUP_RAID5) && HAVE_DECL_BTRFS_BLOCK_GROUP_RAID5))
24 # define BTRFS_BLOCK_GROUP_RAID5 (1ULL << 7)
25 #endif
26 #if !(defined(BTRFS_BLOCK_GROUP_RAID6) || (defined(HAVE_DECL_BTRFS_BLOCK_GROUP_RAID6) && HAVE_DECL_BTRFS_BLOCK_GROUP_RAID6))
27 # define BTRFS_BLOCK_GROUP_RAID6 (1ULL << 8)
28 #endif
29 #if !(defined(BTRFS_AVAIL_ALLOC_BIT_SINGLE) || (defined(HAVE_DECL_BTRFS_AVAIL_ALLOC_BIT_SINGLE) && HAVE_DECL_BTRFS_AVAIL_ALLOC_BIT_SINGLE))
30 # define BTRFS_AVAIL_ALLOC_BIT_SINGLE (1ULL << 48)
31 #endif
32 #if !(defined(BTRFS_SPACE_INFO_GLOBAL_RSV) || (defined(HAVE_DECL_BTRFS_SPACE_INFO_GLOBAL_RSV) && HAVE_DECL_BTRFS_SPACE_INFO_GLOBAL_RSV))
33 # define BTRFS_SPACE_INFO_GLOBAL_RSV (1ULL << 49)
34 #endif
35 
36 #ifdef IN_MPERS
37 
38 extern const struct xlat btrfs_space_info_flags[];
39 
40 #else
41 
42 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
43 static
44 # endif
45 const struct xlat btrfs_space_info_flags[] = {
46  XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_DATA),
47  XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_SYSTEM),
48  XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_METADATA),
49  XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_RAID0),
50  XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_RAID1),
51  XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_DUP),
52  XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_RAID10),
53  XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_RAID5),
54  XLAT_TYPE(uint64_t, BTRFS_BLOCK_GROUP_RAID6),
55  XLAT_TYPE(uint64_t, BTRFS_AVAIL_ALLOC_BIT_SINGLE),
56  XLAT_TYPE(uint64_t, BTRFS_SPACE_INFO_GLOBAL_RSV),
57  XLAT_END
58 };
59 
60 #endif /* !IN_MPERS */
61