ReactOS  0.4.14-dev-323-g6fe6a88
btrfs.h File Reference
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for btrfs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  BTRFS_UUID
 
struct  _BTRFS_SUPER_BLOCK
 

Macros

#define BTRFS_MAGIC   0x4d5f53665248425f
 
#define BTRFS_SB_OFFSET   0x10000
 
#define BTRFS_SB_SIZE   0x1000
 

Typedefs

typedef struct _BTRFS_SUPER_BLOCK BTRFS_SUPER_BLOCK
 
typedef struct _BTRFS_SUPER_BLOCKPBTRFS_SUPER_BLOCK
 

Functions

 C_ASSERT (FIELD_OFFSET(BTRFS_SUPER_BLOCK, uuid)==0x20)
 
 C_ASSERT (FIELD_OFFSET(BTRFS_SUPER_BLOCK, sb_phys_addr)==0x30)
 
 C_ASSERT (FIELD_OFFSET(BTRFS_SUPER_BLOCK, magic)==0x40)
 

Macro Definition Documentation

◆ BTRFS_MAGIC

#define BTRFS_MAGIC   0x4d5f53665248425f

Definition at line 29 of file btrfs.h.

◆ BTRFS_SB_OFFSET

#define BTRFS_SB_OFFSET   0x10000

Definition at line 30 of file btrfs.h.

◆ BTRFS_SB_SIZE

#define BTRFS_SB_SIZE   0x1000

Definition at line 31 of file btrfs.h.

Typedef Documentation

◆ BTRFS_SUPER_BLOCK

◆ PBTRFS_SUPER_BLOCK

Function Documentation

◆ C_ASSERT() [1/3]

C_ASSERT ( FIELD_OFFSET(BTRFS_SUPER_BLOCK, uuid = =0x20)

◆ C_ASSERT() [2/3]

C_ASSERT ( FIELD_OFFSET(BTRFS_SUPER_BLOCK, sb_phys_addr)  = =0x30)

◆ C_ASSERT() [3/3]

C_ASSERT ( FIELD_OFFSET(BTRFS_SUPER_BLOCK, magic = =0x40)