ReactOS 0.4.15-dev-7953-g1f49173
ext4_bh.c File Reference
#include <ext2fs.h>
#include <linux/module.h>
#include <linux/errno.h>
Include dependency graph for ext4_bh.c:

Go to the source code of this file.

Functions

struct buffer_headextents_bread (struct super_block *sb, sector_t block)
 
struct buffer_headextents_bwrite (struct super_block *sb, sector_t block)
 
void extents_mark_buffer_dirty (struct buffer_head *bh)
 
void extents_brelse (struct buffer_head *bh)
 
void extents_bforget (struct buffer_head *bh)
 

Function Documentation

◆ extents_bforget()

void extents_bforget ( struct buffer_head bh)

Definition at line 64 of file ext4_bh.c.

65{
66 clear_buffer_uptodate(bh);
67 bforget(bh);
68}
static void bforget(struct buffer_head *bh)
Definition: module.h:969

Referenced by ext4_fs_put_xattr_ref().

◆ extents_bread()

struct buffer_head * extents_bread ( struct super_block sb,
sector_t  block 
)

Definition at line 15 of file ext4_bh.c.

16{
17 return sb_getblk(sb, block);
18}
superblock * sb
Definition: btrfs.c:4261
static struct buffer_head * sb_getblk(struct super_block *sb, sector_t block)
Definition: module.h:976
static unsigned int block
Definition: xmlmemory.c:101

Referenced by __read_extent_tree_block(), and ext4_fs_get_xattr_ref().

◆ extents_brelse()

◆ extents_bwrite()

struct buffer_head * extents_bwrite ( struct super_block sb,
sector_t  block 
)

Definition at line 27 of file ext4_bh.c.

28{
29 return sb_getblk_zero(sb, block);
30
31}
static struct buffer_head * sb_getblk_zero(struct super_block *sb, sector_t block)
Definition: module.h:982

Referenced by ext4_ext_grow_indepth(), ext4_ext_split(), and ext4_xattr_try_alloc_block().

◆ extents_mark_buffer_dirty()

void extents_mark_buffer_dirty ( struct buffer_head bh)

Definition at line 39 of file ext4_bh.c.

40{
41 set_buffer_dirty(bh);
42}

Referenced by __ext4_handle_dirty_metadata(), and ext4_xattr_write_to_disk().