ReactOS
0.4.16-dev-424-ge4748fe
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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>
11
typedef
struct
{
12
UINT8
uuid
[16];
13
}
BTRFS_UUID
;
14
15
typedef
struct
_BTRFS_SUPER_BLOCK
{
16
UINT8
checksum
[32];
17
BTRFS_UUID
uuid
;
18
UINT64
sb_phys_addr
;
19
UINT64
flags
;
20
UINT64
magic
;
21
// Partial
22
}
BTRFS_SUPER_BLOCK
, *
PBTRFS_SUPER_BLOCK
;
23
#include <poppack.h>
24
25
C_ASSERT
(
FIELD_OFFSET
(
BTRFS_SUPER_BLOCK
,
uuid
) == 0x20);
26
C_ASSERT
(
FIELD_OFFSET
(
BTRFS_SUPER_BLOCK
, sb_phys_addr) == 0x30);
27
C_ASSERT
(
FIELD_OFFSET
(
BTRFS_SUPER_BLOCK
, magic) == 0x40);
28
29
#define BTRFS_MAGIC 0x4d5f53665248425f
30
#define BTRFS_SB_OFFSET 0x10000
31
#define BTRFS_SB_SIZE 0x1000
UINT64
unsigned long long UINT64
Definition:
ProcessorBind.h:155
UINT8
unsigned char UINT8
Definition:
ProcessorBind.h:189
BTRFS_SUPER_BLOCK
struct _BTRFS_SUPER_BLOCK BTRFS_SUPER_BLOCK
PBTRFS_SUPER_BLOCK
struct _BTRFS_SUPER_BLOCK * PBTRFS_SUPER_BLOCK
uuid
Definition:
msctf.idl:550
C_ASSERT
#define C_ASSERT(e)
Definition:
intsafe.h:73
BTRFS_UUID
Definition:
btrfs.h:139
_BTRFS_SUPER_BLOCK
Definition:
btrfs.h:15
_BTRFS_SUPER_BLOCK::magic
UINT64 magic
Definition:
btrfs.h:20
_BTRFS_SUPER_BLOCK::checksum
UINT8 checksum[32]
Definition:
btrfs.h:16
_BTRFS_SUPER_BLOCK::sb_phys_addr
UINT64 sb_phys_addr
Definition:
btrfs.h:18
_BTRFS_SUPER_BLOCK::flags
UINT64 flags
Definition:
btrfs.h:19
_BTRFS_SUPER_BLOCK::uuid
BTRFS_UUID uuid
Definition:
btrfs.h:17
FIELD_OFFSET
#define FIELD_OFFSET(t, f)
Definition:
typedefs.h:255
drivers
filesystems
fs_rec
btrfs.h
Generated on Mon Jan 6 2025 06:07:53 for ReactOS by
1.9.6