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

Go to the source code of this file.

Functions

int leaf_move_items (int shift_mode, struct tree_balance *tb, int mov_num, int mov_bytes, struct buffer_head *Snew)
 
int leaf_shift_left (struct tree_balance *tb, int shift_num, int shift_bytes)
 
int leaf_shift_right (struct tree_balance *tb, int shift_num, int shift_bytes)
 
void leaf_delete_items (struct buffer_info *cur_bi, int last_first, int first, int del_num, int del_bytes)
 
void leaf_insert_into_buf (struct buffer_info *bi, int before, struct item_head *inserted_item_ih, const char *inserted_item_body, int zeros_number)
 
void leaf_paste_in_buffer (struct buffer_info *bi, int affected_item_num, int pos_in_item, int paste_size, const char *body, int zeros_number)
 
void leaf_cut_from_buffer (struct buffer_info *bi, int cut_item_num, int pos_in_item, int cut_size)
 
void leaf_paste_entries (struct buffer_info *bi, int item_num, int before, int new_entry_count, struct reiserfs_de_head *new_dehs, const char *records, int paste_size)
 

Function Documentation

void leaf_cut_from_buffer ( struct buffer_info bi,
int  cut_item_num,
int  pos_in_item,
int  cut_size 
)

Definition at line 1032 of file lbalance.c.

void leaf_delete_items ( struct buffer_info cur_bi,
int  last_first,
int  first,
int  del_num,
int  del_bytes 
)

Definition at line 735 of file lbalance.c.

void leaf_insert_into_buf ( struct buffer_info bi,
int  before,
struct item_head inserted_item_ih,
const char inserted_item_body,
int  zeros_number 
)

Definition at line 798 of file lbalance.c.

int leaf_move_items ( int  shift_mode,
struct tree_balance tb,
int  mov_num,
int  mov_bytes,
struct buffer_head *  Snew 
)

Definition at line 638 of file lbalance.c.

void leaf_paste_entries ( struct buffer_info bi,
int  item_num,
int  before,
int  new_entry_count,
struct reiserfs_de_head new_dehs,
const char records,
int  paste_size 
)

Definition at line 1199 of file lbalance.c.

void leaf_paste_in_buffer ( struct buffer_info bi,
int  affected_item_num,
int  pos_in_item,
int  paste_size,
const char body,
int  zeros_number 
)

Definition at line 872 of file lbalance.c.

int leaf_shift_left ( struct tree_balance tb,
int  shift_num,
int  shift_bytes 
)

Definition at line 662 of file lbalance.c.

int leaf_shift_right ( struct tree_balance tb,
int  shift_num,
int  shift_bytes 
)

Definition at line 708 of file lbalance.c.