1 /* Generated by ./xlat/gen.sh from ./xlat/btrfs_balance_flags.in; do not edit. */ 2 #if !(defined(BTRFS_BALANCE_DATA) || (defined(HAVE_DECL_BTRFS_BALANCE_DATA) && HAVE_DECL_BTRFS_BALANCE_DATA)) 3 # define BTRFS_BALANCE_DATA (1ULL << 0) 4 #endif 5 #if !(defined(BTRFS_BALANCE_SYSTEM) || (defined(HAVE_DECL_BTRFS_BALANCE_SYSTEM) && HAVE_DECL_BTRFS_BALANCE_SYSTEM)) 6 # define BTRFS_BALANCE_SYSTEM (1ULL << 1) 7 #endif 8 #if !(defined(BTRFS_BALANCE_METADATA) || (defined(HAVE_DECL_BTRFS_BALANCE_METADATA) && HAVE_DECL_BTRFS_BALANCE_METADATA)) 9 # define BTRFS_BALANCE_METADATA (1ULL << 2) 10 #endif 11 #if !(defined(BTRFS_BALANCE_FORCE) || (defined(HAVE_DECL_BTRFS_BALANCE_FORCE) && HAVE_DECL_BTRFS_BALANCE_FORCE)) 12 # define BTRFS_BALANCE_FORCE (1ULL << 3) 13 #endif 14 #if !(defined(BTRFS_BALANCE_RESUME) || (defined(HAVE_DECL_BTRFS_BALANCE_RESUME) && HAVE_DECL_BTRFS_BALANCE_RESUME)) 15 # define BTRFS_BALANCE_RESUME (1ULL << 4) 16 #endif 17 18 #ifdef IN_MPERS 19 20 extern const struct xlat btrfs_balance_flags[]; 21 22 #else 23 24 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 25 static 26 # endif 27 const struct xlat btrfs_balance_flags[] = { 28 XLAT_TYPE(uint64_t, BTRFS_BALANCE_DATA), 29 XLAT_TYPE(uint64_t, BTRFS_BALANCE_SYSTEM), 30 XLAT_TYPE(uint64_t, BTRFS_BALANCE_METADATA), 31 XLAT_TYPE(uint64_t, BTRFS_BALANCE_FORCE), 32 XLAT_TYPE(uint64_t, BTRFS_BALANCE_RESUME), 33 XLAT_END 34 }; 35 36 #endif /* !IN_MPERS */ 37