Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
blockcheck.h File Reference

Go to the source code of this file.

Data Structures

struct  ocfs2_blockcheck_stats
 

Functions

void ocfs2_compute_meta_ecc (struct super_block *sb, void *data, struct ocfs2_block_check *bc)
 
int ocfs2_validate_meta_ecc (struct super_block *sb, void *data, struct ocfs2_block_check *bc)
 
void ocfs2_compute_meta_ecc_bhs (struct super_block *sb, struct buffer_head **bhs, int nr, struct ocfs2_block_check *bc)
 
int ocfs2_validate_meta_ecc_bhs (struct super_block *sb, struct buffer_head **bhs, int nr, struct ocfs2_block_check *bc)
 
void ocfs2_block_check_compute (void *data, size_t blocksize, struct ocfs2_block_check *bc)
 
int ocfs2_block_check_validate (void *data, size_t blocksize, struct ocfs2_block_check *bc, struct ocfs2_blockcheck_stats *stats)
 
void ocfs2_block_check_compute_bhs (struct buffer_head **bhs, int nr, struct ocfs2_block_check *bc)
 
int ocfs2_block_check_validate_bhs (struct buffer_head **bhs, int nr, struct ocfs2_block_check *bc, struct ocfs2_blockcheck_stats *stats)
 
int ocfs2_blockcheck_stats_debugfs_install (struct ocfs2_blockcheck_stats *stats, struct dentry *parent)
 
void ocfs2_blockcheck_stats_debugfs_remove (struct ocfs2_blockcheck_stats *stats)
 
u32 ocfs2_hamming_encode (u32 parity, void *data, unsigned int d, unsigned int nr)
 
void ocfs2_hamming_fix (void *data, unsigned int d, unsigned int nr, unsigned int fix)
 
u32 ocfs2_hamming_encode_block (void *data, unsigned int blocksize)
 
void ocfs2_hamming_fix_block (void *data, unsigned int blocksize, unsigned int fix)
 

Function Documentation

void ocfs2_block_check_compute ( void data,
size_t  blocksize,
struct ocfs2_block_check bc 
)

Definition at line 391 of file blockcheck.c.

void ocfs2_block_check_compute_bhs ( struct buffer_head **  bhs,
int  nr,
struct ocfs2_block_check bc 
)

Definition at line 483 of file blockcheck.c.

int ocfs2_block_check_validate ( void data,
size_t  blocksize,
struct ocfs2_block_check bc,
struct ocfs2_blockcheck_stats stats 
)

Definition at line 420 of file blockcheck.c.

int ocfs2_block_check_validate_bhs ( struct buffer_head **  bhs,
int  nr,
struct ocfs2_block_check bc,
struct ocfs2_blockcheck_stats stats 
)

Definition at line 527 of file blockcheck.c.

int ocfs2_blockcheck_stats_debugfs_install ( struct ocfs2_blockcheck_stats stats,
struct dentry parent 
)

Definition at line 312 of file blockcheck.c.

void ocfs2_blockcheck_stats_debugfs_remove ( struct ocfs2_blockcheck_stats stats)

Definition at line 318 of file blockcheck.c.

void ocfs2_compute_meta_ecc ( struct super_block sb,
void data,
struct ocfs2_block_check bc 
)

Definition at line 606 of file blockcheck.c.

void ocfs2_compute_meta_ecc_bhs ( struct super_block sb,
struct buffer_head **  bhs,
int  nr,
struct ocfs2_block_check bc 
)

Definition at line 626 of file blockcheck.c.

u32 ocfs2_hamming_encode ( u32  parity,
void data,
unsigned int  d,
unsigned int  nr 
)

Definition at line 107 of file blockcheck.c.

u32 ocfs2_hamming_encode_block ( void data,
unsigned int  blocksize 
)

Definition at line 154 of file blockcheck.c.

void ocfs2_hamming_fix ( void data,
unsigned int  d,
unsigned int  nr,
unsigned int  fix 
)

Definition at line 166 of file blockcheck.c.

void ocfs2_hamming_fix_block ( void data,
unsigned int  blocksize,
unsigned int  fix 
)

Definition at line 222 of file blockcheck.c.

int ocfs2_validate_meta_ecc ( struct super_block sb,
void data,
struct ocfs2_block_check bc 
)

Definition at line 613 of file blockcheck.c.

int ocfs2_validate_meta_ecc_bhs ( struct super_block sb,
struct buffer_head **  bhs,
int  nr,
struct ocfs2_block_check bc 
)

Definition at line 634 of file blockcheck.c.