ReactOS 0.4.15-dev-8222-g9164419
btrfs.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS File System Recognizer
4 * FILE: drivers/filesystems/fs_rec/btrfs.h
5 * PURPOSE: BTRFS Header File
6 * PROGRAMMER: Peter Hater
7 * Pierre Schweitzer (pierre@reactos.org)
8 */
9
10#include <pshpack1.h>
11typedef struct {
14
15typedef struct _BTRFS_SUPER_BLOCK {
21 // Partial
23#include <poppack.h>
24
26C_ASSERT(FIELD_OFFSET(BTRFS_SUPER_BLOCK, sb_phys_addr) == 0x30);
28
29#define BTRFS_MAGIC 0x4d5f53665248425f
30#define BTRFS_SB_OFFSET 0x10000
31#define BTRFS_SB_SIZE 0x1000
unsigned long long UINT64
unsigned char UINT8
struct _BTRFS_SUPER_BLOCK BTRFS_SUPER_BLOCK
struct _BTRFS_SUPER_BLOCK * PBTRFS_SUPER_BLOCK
Definition: msctf.idl:550
#define C_ASSERT(e)
Definition: intsafe.h:73
u32_t magic(void)
UINT64 magic
Definition: btrfs.h:20
UINT8 checksum[32]
Definition: btrfs.h:16
UINT64 sb_phys_addr
Definition: btrfs.h:18
UINT64 flags
Definition: btrfs.h:19
BTRFS_UUID uuid
Definition: btrfs.h:17
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255