1 /* Generated by ./xlat/gen.sh from ./xlat/btrfs_tree_objectids.in; do not edit. */ 2 #if !(defined(BTRFS_ROOT_TREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_ROOT_TREE_OBJECTID) && HAVE_DECL_BTRFS_ROOT_TREE_OBJECTID)) 3 # define BTRFS_ROOT_TREE_OBJECTID 1ULL 4 #endif 5 #if !(defined(BTRFS_EXTENT_TREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_EXTENT_TREE_OBJECTID) && HAVE_DECL_BTRFS_EXTENT_TREE_OBJECTID)) 6 # define BTRFS_EXTENT_TREE_OBJECTID 2ULL 7 #endif 8 #if !(defined(BTRFS_CHUNK_TREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_CHUNK_TREE_OBJECTID) && HAVE_DECL_BTRFS_CHUNK_TREE_OBJECTID)) 9 # define BTRFS_CHUNK_TREE_OBJECTID 3ULL 10 #endif 11 #if !(defined(BTRFS_DEV_TREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_DEV_TREE_OBJECTID) && HAVE_DECL_BTRFS_DEV_TREE_OBJECTID)) 12 # define BTRFS_DEV_TREE_OBJECTID 4ULL 13 #endif 14 #if !(defined(BTRFS_FS_TREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_FS_TREE_OBJECTID) && HAVE_DECL_BTRFS_FS_TREE_OBJECTID)) 15 # define BTRFS_FS_TREE_OBJECTID 5ULL 16 #endif 17 #if !(defined(BTRFS_ROOT_TREE_DIR_OBJECTID) || (defined(HAVE_DECL_BTRFS_ROOT_TREE_DIR_OBJECTID) && HAVE_DECL_BTRFS_ROOT_TREE_DIR_OBJECTID)) 18 # define BTRFS_ROOT_TREE_DIR_OBJECTID 6ULL 19 #endif 20 #if !(defined(BTRFS_CSUM_TREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_CSUM_TREE_OBJECTID) && HAVE_DECL_BTRFS_CSUM_TREE_OBJECTID)) 21 # define BTRFS_CSUM_TREE_OBJECTID 7ULL 22 #endif 23 #if !(defined(BTRFS_QUOTA_TREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_QUOTA_TREE_OBJECTID) && HAVE_DECL_BTRFS_QUOTA_TREE_OBJECTID)) 24 # define BTRFS_QUOTA_TREE_OBJECTID 8ULL 25 #endif 26 #if !(defined(BTRFS_UUID_TREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_UUID_TREE_OBJECTID) && HAVE_DECL_BTRFS_UUID_TREE_OBJECTID)) 27 # define BTRFS_UUID_TREE_OBJECTID 9ULL 28 #endif 29 #if !(defined(BTRFS_FREE_SPACE_TREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_FREE_SPACE_TREE_OBJECTID) && HAVE_DECL_BTRFS_FREE_SPACE_TREE_OBJECTID)) 30 # define BTRFS_FREE_SPACE_TREE_OBJECTID 10ULL 31 #endif 32 #if !(defined(BTRFS_FIRST_FREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_FIRST_FREE_OBJECTID) && HAVE_DECL_BTRFS_FIRST_FREE_OBJECTID)) 33 # define BTRFS_FIRST_FREE_OBJECTID 256ULL 34 #endif 35 #if !(defined(BTRFS_LAST_FREE_OBJECTID) || (defined(HAVE_DECL_BTRFS_LAST_FREE_OBJECTID) && HAVE_DECL_BTRFS_LAST_FREE_OBJECTID)) 36 # define BTRFS_LAST_FREE_OBJECTID -256ULL 37 #endif 38 #if !(defined(UINT64_MAX) || (defined(HAVE_DECL_UINT64_MAX) && HAVE_DECL_UINT64_MAX)) 39 # define UINT64_MAX -1ULL 40 #endif 41 42 #ifdef IN_MPERS 43 44 extern const struct xlat btrfs_tree_objectids[]; 45 46 #else 47 48 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 49 static 50 # endif 51 const struct xlat btrfs_tree_objectids[] = { 52 XLAT_TYPE(uint64_t, BTRFS_ROOT_TREE_OBJECTID), 53 XLAT_TYPE(uint64_t, BTRFS_EXTENT_TREE_OBJECTID), 54 XLAT_TYPE(uint64_t, BTRFS_CHUNK_TREE_OBJECTID), 55 XLAT_TYPE(uint64_t, BTRFS_DEV_TREE_OBJECTID), 56 XLAT_TYPE(uint64_t, BTRFS_FS_TREE_OBJECTID), 57 XLAT_TYPE(uint64_t, BTRFS_ROOT_TREE_DIR_OBJECTID), 58 XLAT_TYPE(uint64_t, BTRFS_CSUM_TREE_OBJECTID), 59 XLAT_TYPE(uint64_t, BTRFS_QUOTA_TREE_OBJECTID), 60 XLAT_TYPE(uint64_t, BTRFS_UUID_TREE_OBJECTID), 61 XLAT_TYPE(uint64_t, BTRFS_FREE_SPACE_TREE_OBJECTID), 62 XLAT_TYPE(uint64_t, BTRFS_FIRST_FREE_OBJECTID), 63 XLAT_TYPE(uint64_t, BTRFS_LAST_FREE_OBJECTID), 64 XLAT_TYPE(uint64_t, UINT64_MAX), 65 XLAT_END 66 }; 67 68 #endif /* !IN_MPERS */ 69