Searched refs:tree_balance (Results 1 – 8 of 8) sorted by relevance
/linux-3.4.99/fs/reiserfs/ |
D | do_balan.c | 24 static inline void buffer_info_init_left(struct tree_balance *tb, in buffer_info_init_left() 33 static inline void buffer_info_init_right(struct tree_balance *tb, in buffer_info_init_right() 42 static inline void buffer_info_init_tbS0(struct tree_balance *tb, in buffer_info_init_tbS0() 51 static inline void buffer_info_init_bh(struct tree_balance *tb, in buffer_info_init_bh() 61 inline void do_balance_mark_leaf_dirty(struct tree_balance *tb, in do_balance_mark_leaf_dirty() 101 static int balance_leaf_when_delete(struct tree_balance *tb, int flag) in balance_leaf_when_delete() 271 static int balance_leaf(struct tree_balance *tb, struct item_head *ih, /* item header of inserted i… in balance_leaf() 1665 struct buffer_head *get_FEB(struct tree_balance *tb) in get_FEB() 1689 static void store_thrown(struct tree_balance *tb, struct buffer_head *bh) in store_thrown() 1706 static void free_thrown(struct tree_balance *tb) in free_thrown() [all …]
|
D | fix_node.c | 78 static void create_virtual_node(struct tree_balance *tb, int h) in create_virtual_node() 203 static void check_left(struct tree_balance *tb, int h, int cur_free) in check_left() 283 static void check_right(struct tree_balance *tb, int h, int cur_free) in check_right() 366 static int get_num_ver(int mode, struct tree_balance *tb, int h, in get_num_ver() 585 static void set_parameters(struct tree_balance *tb, int h, int lnum, in set_parameters() 612 static int is_leaf_removable(struct tree_balance *tb) in is_leaf_removable() 654 static int are_leaves_removable(struct tree_balance *tb, int lfree, int rfree) in are_leaves_removable() 750 static void free_buffers_in_tb(struct tree_balance *tb) in free_buffers_in_tb() 779 static int get_empty_nodes(struct tree_balance *tb, int h) in get_empty_nodes() 854 static int get_lfree(struct tree_balance *tb, int h) in get_lfree() [all …]
|
D | ibalance.c | 12 int balance_internal(struct tree_balance *, 25 struct tree_balance *tb, in internal_define_dest_src_infos() 463 struct tree_balance *tb, in internal_shift_left() 500 static void internal_shift1_left(struct tree_balance *tb, in internal_shift1_left() 527 struct tree_balance *tb, in internal_shift_right() 567 static void internal_shift1_right(struct tree_balance *tb, in internal_shift1_right() 589 static void balance_internal_when_delete(struct tree_balance *tb, in balance_internal_when_delete() 711 static void replace_lkey(struct tree_balance *tb, int h, struct item_head *key) in replace_lkey() 726 static void replace_rkey(struct tree_balance *tb, int h, struct item_head *key) in replace_rkey() 740 int balance_internal(struct tree_balance *tb, /* tree_balance structure */ in balance_internal()
|
D | reiserfs.h | 490 struct tree_balance *cur_tb; /* 2055 struct tree_balance { struct 2155 struct tree_balance *tb; 2161 static inline struct super_block *sb_from_tb(struct tree_balance *tb) in sb_from_tb() 2722 int fix_nodes(int n_op_mode, struct tree_balance *tb, 2724 void unfix_nodes(struct tree_balance *); 2739 void store_print_tb(struct tree_balance *tb); 2758 int leaf_move_items(int shift_mode, struct tree_balance *tb, int mov_num, 2760 int leaf_shift_left(struct tree_balance *tb, int shift_num, int shift_bytes); 2761 int leaf_shift_right(struct tree_balance *tb, int shift_num, int shift_bytes); [all …]
|
D | stree.c | 1099 static int calc_deleted_bytes_number(struct tree_balance *tb, char mode) in calc_deleted_bytes_number() 1124 struct tree_balance *tb, in init_tb_struct() 1131 memset(tb, '\0', sizeof(struct tree_balance)); in init_tb_struct() 1188 struct tree_balance s_del_balance; in reiserfs_delete_item() 1328 struct tree_balance tb; in reiserfs_delete_solid_item() 1555 struct tree_balance s_cut_balance; in reiserfs_cut_from_item() 1956 struct tree_balance s_paste_balance; in reiserfs_paste_into_item() 2045 struct tree_balance s_ins_balance; in reiserfs_insert_item()
|
D | lbalance.c | 556 static void leaf_define_dest_src_infos(int shift_mode, struct tree_balance *tb, in leaf_define_dest_src_infos() 638 int leaf_move_items(int shift_mode, struct tree_balance *tb, int mov_num, in leaf_move_items() 662 int leaf_shift_left(struct tree_balance *tb, int shift_num, int shift_bytes) in leaf_shift_left() 708 int leaf_shift_right(struct tree_balance *tb, int shift_num, int shift_bytes) in leaf_shift_right()
|
D | prints.c | 613 void store_print_tb(struct tree_balance *tb) in store_print_tb()
|
D | journal.c | 3846 extern struct tree_balance *cur_tb;
|