Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
buffer_head_io.h File Reference
#include <linux/buffer_head.h>

Go to the source code of this file.

Macros

#define OCFS2_BH_IGNORE_CACHE   1
 
#define OCFS2_BH_READAHEAD   8
 

Functions

void ocfs2_end_buffer_io_sync (struct buffer_head *bh, int uptodate)
 
int ocfs2_write_block (struct ocfs2_super *osb, struct buffer_head *bh, struct ocfs2_caching_info *ci)
 
int ocfs2_read_blocks_sync (struct ocfs2_super *osb, u64 block, unsigned int nr, struct buffer_head *bhs[])
 
int ocfs2_read_blocks (struct ocfs2_caching_info *ci, u64 block, int nr, struct buffer_head *bhs[], int flags, int(*validate)(struct super_block *sb, struct buffer_head *bh))
 
int ocfs2_write_super_or_backup (struct ocfs2_super *osb, struct buffer_head *bh)
 

Macro Definition Documentation

#define OCFS2_BH_IGNORE_CACHE   1

Definition at line 55 of file buffer_head_io.h.

#define OCFS2_BH_READAHEAD   8

Definition at line 56 of file buffer_head_io.h.

Function Documentation

void ocfs2_end_buffer_io_sync ( struct buffer_head *  bh,
int  uptodate 
)
int ocfs2_read_blocks ( struct ocfs2_caching_info ci,
u64  block,
int  nr,
struct buffer_head *  bhs[],
int  flags,
int(*)(struct super_block *sb, struct buffer_head *bh)  validate 
)

Definition at line 177 of file buffer_head_io.c.

int ocfs2_read_blocks_sync ( struct ocfs2_super osb,
u64  block,
unsigned int  nr,
struct buffer_head *  bhs[] 
)

Definition at line 102 of file buffer_head_io.c.

int ocfs2_write_block ( struct ocfs2_super osb,
struct buffer_head *  bh,
struct ocfs2_caching_info ci 
)

Definition at line 53 of file buffer_head_io.c.

int ocfs2_write_super_or_backup ( struct ocfs2_super osb,
struct buffer_head *  bh 
)

Definition at line 393 of file buffer_head_io.c.