ReactOS  0.4.14-dev-317-g96040ec
ext4_jbd2.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ext4_journal_get_write_access(handle, icb, bh)   __ext4_journal_get_write_access("", __LINE__, (icb), (handle), (bh))
 
#define ext4_forget(handle, icb, is_metadata, inode, bh, block_nr)
 
#define ext4_journal_get_create_access(handle, icb, bh)   __ext4_journal_get_create_access("", __LINE__, (icb), (handle), (bh))
 
#define ext4_handle_dirty_metadata(handle, icb, inode, bh)
 
#define ext4_journal_start_sb(icb, sb, type, nblocks)   __ext4_journal_start_sb((icb), (sb), __LINE__, (type), (nblocks), 0)
 
#define ext4_journal_start(icb, inode, type, nblocks)   __ext4_journal_start((icb), (inode), __LINE__, (type), (nblocks), 0)
 
#define ext4_journal_stop(icb, handle)   __ext4_journal_stop("", __LINE__, (icb), (handle))
 

Functions

void ext4_journal_abort_handle (const char *caller, unsigned int line, const char *err_fn, struct buffer_head *bh, handle_t *handle, int err)
 
int __ext4_handle_dirty_super (const char *where, unsigned int line, handle_t *handle, struct super_block *sb)
 
int __ext4_journal_get_write_access (const char *where, unsigned int line, void *icb, handle_t *handle, struct buffer_head *bh)
 
int __ext4_forget (const char *where, unsigned int line, void *icb, handle_t *handle, int is_metadata, struct inode *inode, struct buffer_head *bh, ext4_fsblk_t blocknr)
 
int __ext4_journal_get_create_access (const char *where, unsigned int line, void *icb, handle_t *handle, struct buffer_head *bh)
 
int __ext4_handle_dirty_metadata (const char *where, unsigned int line, void *icb, handle_t *handle, struct inode *inode, struct buffer_head *bh)
 
handle_t__ext4_journal_start_sb (void *icb, struct super_block *sb, unsigned int line, int type, int blocks, int rsv_blocks)
 
int __ext4_journal_stop (const char *where, unsigned int line, void *icb, handle_t *handle)
 
static handle_t__ext4_journal_start (void *icb, struct inode *inode, unsigned int line, int type, int blocks, int rsv_blocks)
 
static int ext4_journal_extend (void *icb, handle_t *handle, int nblocks)
 

Macro Definition Documentation

◆ ext4_forget

#define ext4_forget (   handle,
  icb,
  is_metadata,
  inode,
  bh,
  block_nr 
)
Value:
__ext4_forget("", __LINE__, (icb), (handle), (is_metadata), (inode), \
(bh), (block_nr))
int __ext4_forget(const char *where, unsigned int line, void *icb, handle_t *handle, int is_metadata, struct inode *inode, struct buffer_head *bh, ext4_fsblk_t blocknr)
Definition: ext4_jbd2.c:42
Definition: fs.h:78

Definition at line 30 of file ext4_jbd2.h.

◆ ext4_handle_dirty_metadata

#define ext4_handle_dirty_metadata (   handle,
  icb,
  inode,
  bh 
)
Value:
__ext4_handle_dirty_metadata("", __LINE__, (icb), (handle), (inode), \
(bh))
Definition: fs.h:78
int __ext4_handle_dirty_metadata(const char *where, unsigned int line, void *icb, handle_t *handle, struct inode *inode, struct buffer_head *bh)
Definition: ext4_jbd2.c:57

Definition at line 35 of file ext4_jbd2.h.

◆ ext4_journal_get_create_access

#define ext4_journal_get_create_access (   handle,
  icb,
  bh 
)    __ext4_journal_get_create_access("", __LINE__, (icb), (handle), (bh))

Definition at line 33 of file ext4_jbd2.h.

◆ ext4_journal_get_write_access

#define ext4_journal_get_write_access (   handle,
  icb,
  bh 
)    __ext4_journal_get_write_access("", __LINE__, (icb), (handle), (bh))

Definition at line 28 of file ext4_jbd2.h.

◆ ext4_journal_start

#define ext4_journal_start (   icb,
  inode,
  type,
  nblocks 
)    __ext4_journal_start((icb), (inode), __LINE__, (type), (nblocks), 0)

Definition at line 46 of file ext4_jbd2.h.

◆ ext4_journal_start_sb

#define ext4_journal_start_sb (   icb,
  sb,
  type,
  nblocks 
)    __ext4_journal_start_sb((icb), (sb), __LINE__, (type), (nblocks), 0)

Definition at line 43 of file ext4_jbd2.h.

◆ ext4_journal_stop

#define ext4_journal_stop (   icb,
  handle 
)    __ext4_journal_stop("", __LINE__, (icb), (handle))

Definition at line 57 of file ext4_jbd2.h.

Function Documentation

◆ __ext4_forget()

int __ext4_forget ( const char where,
unsigned int  line,
void icb,
handle_t handle,
int  is_metadata,
struct inode inode,
struct buffer_head bh,
ext4_fsblk_t  blocknr 
)

Definition at line 42 of file ext4_jbd2.c.

45 {
46  int err = 0;
47  return err;
48 }
#define err(...)

◆ __ext4_handle_dirty_metadata()

int __ext4_handle_dirty_metadata ( const char where,
unsigned int  line,
void icb,
handle_t handle,
struct inode inode,
struct buffer_head bh 
)

Definition at line 57 of file ext4_jbd2.c.

60 {
61  int err = 0;
62 
64  return err;
65 }
void extents_mark_buffer_dirty(struct buffer_head *bh)
Definition: ext4_bh.c:39
#define err(...)

Referenced by __ext4_ext_dirty().

◆ __ext4_handle_dirty_super()

int __ext4_handle_dirty_super ( const char where,
unsigned int  line,
handle_t handle,
struct super_block sb 
)

Definition at line 67 of file ext4_jbd2.c.

69 {
70  return 0;
71 }

◆ __ext4_journal_get_create_access()

int __ext4_journal_get_create_access ( const char where,
unsigned int  line,
void icb,
handle_t handle,
struct buffer_head bh 
)

Definition at line 50 of file ext4_jbd2.c.

52 {
53  int err = 0;
54  return err;
55 }
#define err(...)

◆ __ext4_journal_get_write_access()

int __ext4_journal_get_write_access ( const char where,
unsigned int  line,
void icb,
handle_t handle,
struct buffer_head bh 
)

Definition at line 23 of file ext4_jbd2.c.

25 {
26  int err = 0;
27  return err;
28 }
#define err(...)

◆ __ext4_journal_start()

static handle_t* __ext4_journal_start ( void icb,
struct inode inode,
unsigned int  line,
int  type,
int  blocks,
int  rsv_blocks 
)
inlinestatic

Definition at line 49 of file ext4_jbd2.h.

52 {
54  rsv_blocks);
55 }
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
Definition: fs.h:78
handle_t * __ext4_journal_start_sb(void *icb, struct super_block *sb, unsigned int line, int type, int blocks, int rsv_blocks)
Definition: ext4_jbd2.c:6
Definition: parser.c:48
static int blocks
Definition: mkdosfs.c:527
struct super_block * i_sb
Definition: fs.h:96

◆ __ext4_journal_start_sb()

handle_t* __ext4_journal_start_sb ( void icb,
struct super_block sb,
unsigned int  line,
int  type,
int  blocks,
int  rsv_blocks 
)

Definition at line 6 of file ext4_jbd2.c.

8 {
9  return &no_journal;
10 }
static handle_t no_journal
Definition: ext4_jbd2.c:4

Referenced by __ext4_journal_start().

◆ __ext4_journal_stop()

int __ext4_journal_stop ( const char where,
unsigned int  line,
void icb,
handle_t handle 
)

Definition at line 12 of file ext4_jbd2.c.

13 {
14  return 0;
15 }

◆ ext4_journal_abort_handle()

void ext4_journal_abort_handle ( const char caller,
unsigned int  line,
const char err_fn,
struct buffer_head bh,
handle_t handle,
int  err 
)

Definition at line 17 of file ext4_jbd2.c.

20 {
21 }

◆ ext4_journal_extend()

static int ext4_journal_extend ( void icb,
handle_t handle,
int  nblocks 
)
inlinestatic

Definition at line 60 of file ext4_jbd2.h.

61 {
62  return 0;
63 }

Referenced by ext4_ext_try_to_merge_up().