ReactOS
0.4.16-dev-927-g467dec4
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
m
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
_
a
b
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
ext.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/ext.h
5
* PURPOSE: EXT Header File
6
* PROGRAMMER: Pierre Schweitzer (pierre@reactos.org)
7
*/
8
9
#include <pshpack1.h>
10
typedef
struct
_EXT_SUPER_BLOCK
{
11
ULONG
InodesCount
;
12
ULONG
BlocksCount
;
13
ULONG
ReservedBlocksCount
;
14
ULONG
FreeBlocksCount
;
15
ULONG
FreeInodesCount
;
16
ULONG
FirstDataBlock
;
17
ULONG
LogBlockSize
;
18
LONG
LogFragSize
;
19
ULONG
BlocksPerGroup
;
20
ULONG
FragsPerGroup
;
21
ULONG
InodesPerGroup
;
22
ULONG
MountTime
;
23
ULONG
WriteTime
;
24
USHORT
MountCount
;
25
SHORT
MaxMountCount
;
26
USHORT
Magic
;
27
USHORT
State
;
28
USHORT
Errors
;
29
USHORT
MinorRevLevel
;
30
ULONG
LastCheck
;
31
ULONG
CheckInterval
;
32
ULONG
CreatorOS
;
33
ULONG
RevLevel
;
34
USHORT
DefResUid
;
35
USHORT
DefResGid
;
36
// Partial
37
}
EXT_SUPER_BLOCK
, *
PEXT_SUPER_BLOCK
;
38
#include <poppack.h>
39
40
C_ASSERT
(
FIELD_OFFSET
(
EXT_SUPER_BLOCK
, FreeInodesCount) == 0x10);
41
C_ASSERT
(
FIELD_OFFSET
(
EXT_SUPER_BLOCK
, BlocksPerGroup) == 0x20);
42
C_ASSERT
(
FIELD_OFFSET
(
EXT_SUPER_BLOCK
, WriteTime) == 0x30);
43
C_ASSERT
(
FIELD_OFFSET
(
EXT_SUPER_BLOCK
, LastCheck) == 0x40);
44
C_ASSERT
(
FIELD_OFFSET
(
EXT_SUPER_BLOCK
, DefResUid) == 0x50);
45
46
#define EXT_SUPER_MAGIC 0xEF53
47
#define EXT_SB_OFFSET 0x400
48
#define EXT_SB_SIZE 0x400
PEXT_SUPER_BLOCK
struct _ExtSuperBlock * PEXT_SUPER_BLOCK
EXT_SUPER_BLOCK
struct _ExtSuperBlock EXT_SUPER_BLOCK
C_ASSERT
#define C_ASSERT(e)
Definition:
intsafe.h:73
SHORT
short SHORT
Definition:
pedump.c:59
LONG
long LONG
Definition:
pedump.c:60
USHORT
unsigned short USHORT
Definition:
pedump.c:61
_EXT_SUPER_BLOCK
Definition:
ext.h:10
_EXT_SUPER_BLOCK::FreeInodesCount
ULONG FreeInodesCount
Definition:
ext.h:15
_EXT_SUPER_BLOCK::CheckInterval
ULONG CheckInterval
Definition:
ext.h:31
_EXT_SUPER_BLOCK::FreeBlocksCount
ULONG FreeBlocksCount
Definition:
ext.h:14
_EXT_SUPER_BLOCK::Errors
USHORT Errors
Definition:
ext.h:28
_EXT_SUPER_BLOCK::CreatorOS
ULONG CreatorOS
Definition:
ext.h:32
_EXT_SUPER_BLOCK::FirstDataBlock
ULONG FirstDataBlock
Definition:
ext.h:16
_EXT_SUPER_BLOCK::DefResUid
USHORT DefResUid
Definition:
ext.h:34
_EXT_SUPER_BLOCK::WriteTime
ULONG WriteTime
Definition:
ext.h:23
_EXT_SUPER_BLOCK::LastCheck
ULONG LastCheck
Definition:
ext.h:30
_EXT_SUPER_BLOCK::InodesPerGroup
ULONG InodesPerGroup
Definition:
ext.h:21
_EXT_SUPER_BLOCK::MountCount
USHORT MountCount
Definition:
ext.h:24
_EXT_SUPER_BLOCK::LogBlockSize
ULONG LogBlockSize
Definition:
ext.h:17
_EXT_SUPER_BLOCK::MountTime
ULONG MountTime
Definition:
ext.h:22
_EXT_SUPER_BLOCK::InodesCount
ULONG InodesCount
Definition:
ext.h:11
_EXT_SUPER_BLOCK::State
USHORT State
Definition:
ext.h:27
_EXT_SUPER_BLOCK::FragsPerGroup
ULONG FragsPerGroup
Definition:
ext.h:20
_EXT_SUPER_BLOCK::LogFragSize
LONG LogFragSize
Definition:
ext.h:18
_EXT_SUPER_BLOCK::MaxMountCount
SHORT MaxMountCount
Definition:
ext.h:25
_EXT_SUPER_BLOCK::Magic
USHORT Magic
Definition:
ext.h:26
_EXT_SUPER_BLOCK::BlocksPerGroup
ULONG BlocksPerGroup
Definition:
ext.h:19
_EXT_SUPER_BLOCK::BlocksCount
ULONG BlocksCount
Definition:
ext.h:12
_EXT_SUPER_BLOCK::MinorRevLevel
USHORT MinorRevLevel
Definition:
ext.h:29
_EXT_SUPER_BLOCK::ReservedBlocksCount
ULONG ReservedBlocksCount
Definition:
ext.h:13
_EXT_SUPER_BLOCK::RevLevel
ULONG RevLevel
Definition:
ext.h:33
_EXT_SUPER_BLOCK::DefResGid
USHORT DefResGid
Definition:
ext.h:35
_ExtSuperBlock
Definition:
ext.h:53
FIELD_OFFSET
#define FIELD_OFFSET(t, f)
Definition:
typedefs.h:255
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
drivers
filesystems
fs_rec
ext.h
Generated on Sun Mar 30 2025 06:05:48 for ReactOS by
1.9.6