23#define btrfs_crc32c(name, len) crc32c_le((u32)~1, name, len)
25#define BTRFS_SUPER_INFO_OFFSET (64 * 1024)
26#define BTRFS_SUPER_INFO_SIZE 4096
27#define BTRFS_MAX_LEAF_SIZE 4096
28#define BTRFS_BLOCK_SHIFT 12
29#define BTRFS_BLOCK_SIZE (1 << BTRFS_BLOCK_SHIFT)
31#define BTRFS_SUPER_MIRROR_MAX 3
32#define BTRFS_SUPER_MIRROR_SHIFT 12
33#define BTRFS_CSUM_SIZE 32
34#define BTRFS_FSID_SIZE 16
35#define BTRFS_LABEL_SIZE 256
36#define BTRFS_SYSTEM_CHUNK_ARRAY_SIZE 2048
37#define BTRFS_UUID_SIZE 16
39#define BTRFS_VOL_NAME_MAX 255
40#define BTRFS_NAME_MAX 255
42#define BTRFS_MAGIC "_BHRfS_M"
43#define BTRFS_MAGIC_L 8
44#define BTRFS_MAGIC_N 0x4d5f53665248425fULL
46#define BTRFS_SUPER_FLAG_METADUMP (1ULL << 33)
48#define BTRFS_DEV_ITEM_KEY 216
49#define BTRFS_CHUNK_ITEM_KEY 228
50#define BTRFS_ROOT_REF_KEY 156
51#define BTRFS_ROOT_ITEM_KEY 132
52#define BTRFS_EXTENT_DATA_KEY 108
53#define BTRFS_DIR_ITEM_KEY 84
54#define BTRFS_DIR_INDEX_KEY 96
55#define BTRFS_INODE_ITEM_KEY 1
56#define BTRFS_INODE_REF_KEY 12
58#define BTRFS_EXTENT_TREE_OBJECTID 2ULL
59#define BTRFS_FS_TREE_OBJECTID 5ULL
61#define BTRFS_FIRST_FREE_OBJECTID 256ULL
62#define BTRFS_LAST_FREE_OBJECTID -256ULL
63#define BTRFS_FIRST_CHUNK_TREE_OBJECTID 256ULL
65#define BTRFS_FILE_EXTENT_INLINE 0
66#define BTRFS_FILE_EXTENT_REG 1
67#define BTRFS_FILE_EXTENT_PREALLOC 2
69#define BTRFS_MAX_LEVEL 8
70#define BTRFS_MAX_CHUNK_ENTRIES 256
72#define BTRFS_DEV_ITEMS_OBJECTID 1ULL
74#define BTRFS_FT_REG_FILE 1
76#define BTRFS_FT_SYMLINK 7
77#define BTRFS_FT_XATTR 8
80#define BTRFS_COMPRESS_NONE 0
81#define BTRFS_COMPRESS_ZLIB 1
82#define BTRFS_COMPRESS_LZO 2
84#define ROOT_DIR_WORD 0x002f
const DEVVTBL * BtrFsMount(ULONG DeviceId)
struct btrfs_file_info * pbtrfs_file_info
struct _BTRFS_INFO * PBTRFS_INFO
#define BTRFS_SYSTEM_CHUNK_ARRAY_SIZE
struct btrfs_chunk_map_item * map
__u8 fsid[BTRFS_UUID_SIZE]
struct btrfs_timespec atime
struct btrfs_timespec ctime
struct btrfs_timespec otime
struct btrfs_timespec mtime
struct btrfs_item items[]
struct btrfs_key_ptr ptrs[]
u64 offsets[BTRFS_MAX_LEVEL]
int slots[BTRFS_MAX_LEVEL]
int itemsnr[BTRFS_MAX_LEVEL]
union tree_buf * tree_buf
struct btrfs_disk_key drop_progress
__u8 dev_uuid[BTRFS_UUID_SIZE]
__u64 uuid_tree_generation
struct btrfs_dev_item dev_item
__u32 sys_chunk_array_size
__u8 fsid[BTRFS_FSID_SIZE]
__u8 sys_chunk_array[BTRFS_SYSTEM_CHUNK_ARRAY_SIZE]
__u64 chunk_root_generation
char label[BTRFS_LABEL_SIZE]