ReactOS  0.4.14-dev-556-g4c5b21f
ext4.h File Reference
#include <linux/jbd.h>
#include <linux/ext3_fs.h>
#include <linux/ext4_jbd2.h>
#include <linux/ext4_ext.h>
Include dependency graph for ext4.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EXT4_GET_BLOCKS_CREATE   0x0001
 
#define EXT4_GET_BLOCKS_UNWRIT_EXT   0x0002
 
#define EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT
 
#define EXT4_GET_BLOCKS_DELALLOC_RESERVE   0x0004
 
#define EXT4_GET_BLOCKS_PRE_IO   0x0008
 
#define EXT4_GET_BLOCKS_CONVERT   0x0010
 
#define EXT4_GET_BLOCKS_IO_CREATE_EXT
 
#define EXT4_GET_BLOCKS_IO_CONVERT_EXT
 
#define EXT4_GET_BLOCKS_METADATA_NOFAIL   0x0020
 
#define EXT4_GET_BLOCKS_NO_NORMALIZE   0x0040
 
#define EXT4_GET_BLOCKS_KEEP_SIZE   0x0080
 
#define EXT4_GET_BLOCKS_NO_LOCK   0x0100
 
#define EXT4_GET_BLOCKS_NO_PUT_HOLE   0x0200
 
#define EXT4_GET_BLOCKS_CONVERT_UNWRITTEN   0x0400
 
#define EXT4_EX_NOCACHE   0x40000000
 
#define EXT4_EX_FORCE_CACHE   0x20000000
 
#define EXT4_FREE_BLOCKS_METADATA   0x0001
 
#define EXT4_FREE_BLOCKS_FORGET   0x0002
 
#define EXT4_FREE_BLOCKS_VALIDATED   0x0004
 
#define EXT4_FREE_BLOCKS_NO_QUOT_UPDATE   0x0008
 
#define EXT4_FREE_BLOCKS_NOFREE_FIRST_CLUSTER   0x0010
 
#define EXT4_FREE_BLOCKS_NOFREE_LAST_CLUSTER   0x0020
 
#define EXT4_MB_HINT_MERGE   0x0001
 
#define EXT4_MB_HINT_RESERVED   0x0002
 
#define EXT4_MB_HINT_METADATA   0x0004
 
#define EXT4_MB_HINT_FIRST   0x0008
 
#define EXT4_MB_HINT_BEST   0x0010
 
#define EXT4_MB_HINT_DATA   0x0020
 
#define EXT4_MB_HINT_NOPREALLOC   0x0040
 
#define EXT4_MB_HINT_GROUP_ALLOC   0x0080
 
#define EXT4_MB_HINT_GOAL_ONLY   0x0100
 
#define EXT4_MB_HINT_TRY_GOAL   0x0200
 
#define EXT4_MB_DELALLOC_RESERVED   0x0400
 
#define EXT4_MB_STREAM_ALLOC   0x0800
 
#define EXT4_MB_USE_ROOT_BLOCKS   0x1000
 
#define EXT4_MB_USE_RESERVED   0x2000
 
#define ext4_sb_info   ext3_sb_info
 
#define EXT4_I(i)   (i)
 

Typedefs

typedef unsigned __int16 uint16_t
 
typedef unsigned __int32 uint32_t
 
typedef unsigned __int64 uint64_t
 
typedef uint32_t ext4_lblk_t
 
typedef uint64_t ext4_fsblk_t
 

Functions

static struct ext4_sb_infoEXT4_SB (struct super_block *sb)
 

Macro Definition Documentation

◆ EXT4_EX_FORCE_CACHE

#define EXT4_EX_FORCE_CACHE   0x20000000

Definition at line 62 of file ext4.h.

◆ EXT4_EX_NOCACHE

#define EXT4_EX_NOCACHE   0x40000000

Definition at line 61 of file ext4.h.

◆ EXT4_FREE_BLOCKS_FORGET

#define EXT4_FREE_BLOCKS_FORGET   0x0002

Definition at line 68 of file ext4.h.

◆ EXT4_FREE_BLOCKS_METADATA

#define EXT4_FREE_BLOCKS_METADATA   0x0001

Definition at line 67 of file ext4.h.

◆ EXT4_FREE_BLOCKS_NO_QUOT_UPDATE

#define EXT4_FREE_BLOCKS_NO_QUOT_UPDATE   0x0008

Definition at line 70 of file ext4.h.

◆ EXT4_FREE_BLOCKS_NOFREE_FIRST_CLUSTER

#define EXT4_FREE_BLOCKS_NOFREE_FIRST_CLUSTER   0x0010

Definition at line 71 of file ext4.h.

◆ EXT4_FREE_BLOCKS_NOFREE_LAST_CLUSTER

#define EXT4_FREE_BLOCKS_NOFREE_LAST_CLUSTER   0x0020

Definition at line 72 of file ext4.h.

◆ EXT4_FREE_BLOCKS_VALIDATED

#define EXT4_FREE_BLOCKS_VALIDATED   0x0004

Definition at line 69 of file ext4.h.

◆ EXT4_GET_BLOCKS_CONVERT

#define EXT4_GET_BLOCKS_CONVERT   0x0010

Definition at line 32 of file ext4.h.

◆ EXT4_GET_BLOCKS_CONVERT_UNWRITTEN

#define EXT4_GET_BLOCKS_CONVERT_UNWRITTEN   0x0400

Definition at line 50 of file ext4.h.

◆ EXT4_GET_BLOCKS_CREATE

#define EXT4_GET_BLOCKS_CREATE   0x0001

Definition at line 20 of file ext4.h.

◆ EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT

#define EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT
Value:
EXT4_GET_BLOCKS_CREATE)
#define EXT4_GET_BLOCKS_UNWRIT_EXT
Definition: ext4.h:22

Definition at line 23 of file ext4.h.

◆ EXT4_GET_BLOCKS_DELALLOC_RESERVE

#define EXT4_GET_BLOCKS_DELALLOC_RESERVE   0x0004

Definition at line 27 of file ext4.h.

◆ EXT4_GET_BLOCKS_IO_CONVERT_EXT

#define EXT4_GET_BLOCKS_IO_CONVERT_EXT
Value:
EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT)
#define EXT4_GET_BLOCKS_CONVERT
Definition: ext4.h:32

Definition at line 36 of file ext4.h.

◆ EXT4_GET_BLOCKS_IO_CREATE_EXT

#define EXT4_GET_BLOCKS_IO_CREATE_EXT
Value:
EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT)
#define EXT4_GET_BLOCKS_PRE_IO
Definition: ext4.h:31

Definition at line 33 of file ext4.h.

◆ EXT4_GET_BLOCKS_KEEP_SIZE

#define EXT4_GET_BLOCKS_KEEP_SIZE   0x0080

Definition at line 44 of file ext4.h.

◆ EXT4_GET_BLOCKS_METADATA_NOFAIL

#define EXT4_GET_BLOCKS_METADATA_NOFAIL   0x0020

Definition at line 40 of file ext4.h.

◆ EXT4_GET_BLOCKS_NO_LOCK

#define EXT4_GET_BLOCKS_NO_LOCK   0x0100

Definition at line 46 of file ext4.h.

◆ EXT4_GET_BLOCKS_NO_NORMALIZE

#define EXT4_GET_BLOCKS_NO_NORMALIZE   0x0040

Definition at line 42 of file ext4.h.

◆ EXT4_GET_BLOCKS_NO_PUT_HOLE

#define EXT4_GET_BLOCKS_NO_PUT_HOLE   0x0200

Definition at line 48 of file ext4.h.

◆ EXT4_GET_BLOCKS_PRE_IO

#define EXT4_GET_BLOCKS_PRE_IO   0x0008

Definition at line 31 of file ext4.h.

◆ EXT4_GET_BLOCKS_UNWRIT_EXT

#define EXT4_GET_BLOCKS_UNWRIT_EXT   0x0002

Definition at line 22 of file ext4.h.

◆ EXT4_I

#define EXT4_I (   i)    (i)

Definition at line 117 of file ext4.h.

◆ EXT4_MB_DELALLOC_RESERVED

#define EXT4_MB_DELALLOC_RESERVED   0x0400

Definition at line 102 of file ext4.h.

◆ EXT4_MB_HINT_BEST

#define EXT4_MB_HINT_BEST   0x0010

Definition at line 90 of file ext4.h.

◆ EXT4_MB_HINT_DATA

#define EXT4_MB_HINT_DATA   0x0020

Definition at line 92 of file ext4.h.

◆ EXT4_MB_HINT_FIRST

#define EXT4_MB_HINT_FIRST   0x0008

Definition at line 88 of file ext4.h.

◆ EXT4_MB_HINT_GOAL_ONLY

#define EXT4_MB_HINT_GOAL_ONLY   0x0100

Definition at line 98 of file ext4.h.

◆ EXT4_MB_HINT_GROUP_ALLOC

#define EXT4_MB_HINT_GROUP_ALLOC   0x0080

Definition at line 96 of file ext4.h.

◆ EXT4_MB_HINT_MERGE

#define EXT4_MB_HINT_MERGE   0x0001

Definition at line 82 of file ext4.h.

◆ EXT4_MB_HINT_METADATA

#define EXT4_MB_HINT_METADATA   0x0004

Definition at line 86 of file ext4.h.

◆ EXT4_MB_HINT_NOPREALLOC

#define EXT4_MB_HINT_NOPREALLOC   0x0040

Definition at line 94 of file ext4.h.

◆ EXT4_MB_HINT_RESERVED

#define EXT4_MB_HINT_RESERVED   0x0002

Definition at line 84 of file ext4.h.

◆ EXT4_MB_HINT_TRY_GOAL

#define EXT4_MB_HINT_TRY_GOAL   0x0200

Definition at line 100 of file ext4.h.

◆ EXT4_MB_STREAM_ALLOC

#define EXT4_MB_STREAM_ALLOC   0x0800

Definition at line 104 of file ext4.h.

◆ EXT4_MB_USE_RESERVED

#define EXT4_MB_USE_RESERVED   0x2000

Definition at line 108 of file ext4.h.

◆ EXT4_MB_USE_ROOT_BLOCKS

#define EXT4_MB_USE_ROOT_BLOCKS   0x1000

Definition at line 106 of file ext4.h.

◆ ext4_sb_info

#define ext4_sb_info   ext3_sb_info

Definition at line 111 of file ext4.h.

Typedef Documentation

◆ ext4_fsblk_t

Definition at line 13 of file ext4.h.

◆ ext4_lblk_t

Definition at line 12 of file ext4.h.

◆ uint16_t

Definition at line 8 of file ext4.h.

◆ uint32_t

Definition at line 9 of file ext4.h.

◆ uint64_t

Definition at line 10 of file ext4.h.

Function Documentation

◆ EXT4_SB()

static struct ext4_sb_info* EXT4_SB ( struct super_block sb)
inlinestatic

Definition at line 113 of file ext4.h.

114 {
115  return sb->s_fs_info;
116 }
superblock * sb
Definition: btrfs.c:4137