Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
do_balan.c File Reference
#include <asm/uaccess.h>
#include <linux/time.h>
#include "reiserfs.h"
#include <linux/buffer_head.h>
#include <linux/kernel.h>

Go to the source code of this file.

Macros

#define do_balance_mark_internal_dirty   do_balance_mark_leaf_dirty
 
#define do_balance_mark_sb_dirty   do_balance_mark_leaf_dirty
 

Functions

void do_balance_mark_leaf_dirty (struct tree_balance *tb, struct buffer_head *bh, int flag)
 
void make_empty_node (struct buffer_info *bi)
 
struct buffer_head * get_FEB (struct tree_balance *tb)
 
void reiserfs_invalidate_buffer (struct tree_balance *tb, struct buffer_head *bh)
 
void replace_key (struct tree_balance *tb, struct buffer_head *dest, int n_dest, struct buffer_head *src, int n_src)
 
int get_left_neighbor_position (struct tree_balance *tb, int h)
 
int get_right_neighbor_position (struct tree_balance *tb, int h)
 
void do_balance (struct tree_balance *tb, struct item_head *ih, const char *body, int flag)
 

Macro Definition Documentation

#define do_balance_mark_internal_dirty   do_balance_mark_leaf_dirty

Definition at line 68 of file do_balan.c.

#define do_balance_mark_sb_dirty   do_balance_mark_leaf_dirty

Definition at line 69 of file do_balan.c.

Function Documentation

void do_balance ( struct tree_balance tb,
struct item_head ih,
const char body,
int  flag 
)

Definition at line 2008 of file do_balan.c.

void do_balance_mark_leaf_dirty ( struct tree_balance tb,
struct buffer_head *  bh,
int  flag 
)
inline

Definition at line 61 of file do_balan.c.

struct buffer_head* get_FEB ( struct tree_balance tb)
read

Definition at line 1665 of file do_balan.c.

int get_left_neighbor_position ( struct tree_balance tb,
int  h 
)

Definition at line 1763 of file do_balan.c.

int get_right_neighbor_position ( struct tree_balance tb,
int  h 
)

Definition at line 1777 of file do_balan.c.

void make_empty_node ( struct buffer_info bi)

Definition at line 1650 of file do_balan.c.

void reiserfs_invalidate_buffer ( struct tree_balance tb,
struct buffer_head *  bh 
)

Definition at line 1724 of file do_balan.c.

void replace_key ( struct tree_balance tb,
struct buffer_head *  dest,
int  n_dest,
struct buffer_head *  src,
int  n_src 
)

Definition at line 1736 of file do_balan.c.