Searched refs:tree_balance (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/fs/reiserfs/ |
D | do_balan.c | 19 static inline void buffer_info_init_left(struct tree_balance *tb, in buffer_info_init_left() 28 static inline void buffer_info_init_right(struct tree_balance *tb, in buffer_info_init_right() 37 static inline void buffer_info_init_tbS0(struct tree_balance *tb, in buffer_info_init_tbS0() 46 static inline void buffer_info_init_bh(struct tree_balance *tb, in buffer_info_init_bh() 56 inline void do_balance_mark_leaf_dirty(struct tree_balance *tb, in do_balance_mark_leaf_dirty() 77 static void balance_leaf_when_delete_del(struct tree_balance *tb) in balance_leaf_when_delete_del() 109 static void balance_leaf_when_delete_cut(struct tree_balance *tb) in balance_leaf_when_delete_cut() 146 static int balance_leaf_when_delete_left(struct tree_balance *tb) in balance_leaf_when_delete_left() 239 static int balance_leaf_when_delete(struct tree_balance *tb, int flag) in balance_leaf_when_delete() 286 static unsigned int balance_leaf_insert_left(struct tree_balance *tb, in balance_leaf_insert_left() [all …]
|
D | fix_node.c | 51 static void create_virtual_node(struct tree_balance *tb, int h) in create_virtual_node() 194 static void check_left(struct tree_balance *tb, int h, int cur_free) in check_left() 280 static void check_right(struct tree_balance *tb, int h, int cur_free) in check_right() 374 static int get_num_ver(int mode, struct tree_balance *tb, int h, in get_num_ver() 621 static void set_parameters(struct tree_balance *tb, int h, int lnum, in set_parameters() 652 static int is_leaf_removable(struct tree_balance *tb) in is_leaf_removable() 696 static int are_leaves_removable(struct tree_balance *tb, int lfree, int rfree) in are_leaves_removable() 797 static void free_buffers_in_tb(struct tree_balance *tb) in free_buffers_in_tb() 827 static int get_empty_nodes(struct tree_balance *tb, int h) in get_empty_nodes() 915 static int get_lfree(struct tree_balance *tb, int h) in get_lfree() [all …]
|
D | ibalance.c | 12 int balance_internal(struct tree_balance *, 28 struct tree_balance *tb, in internal_define_dest_src_infos() 493 struct tree_balance *tb, in internal_shift_left() 534 static void internal_shift1_left(struct tree_balance *tb, in internal_shift1_left() 565 struct tree_balance *tb, in internal_shift_right() 609 static void internal_shift1_right(struct tree_balance *tb, in internal_shift1_right() 632 static void balance_internal_when_delete(struct tree_balance *tb, in balance_internal_when_delete() 760 static void replace_lkey(struct tree_balance *tb, int h, struct item_head *key) in replace_lkey() 775 static void replace_rkey(struct tree_balance *tb, int h, struct item_head *key) in replace_rkey() 803 int balance_internal(struct tree_balance *tb, in balance_internal()
|
D | reiserfs.h | 636 struct tree_balance *cur_tb; 2404 struct tree_balance { struct 2590 struct tree_balance *tb; 2596 static inline struct super_block *sb_from_tb(struct tree_balance *tb) in sb_from_tb() 3183 int fix_nodes(int n_op_mode, struct tree_balance *tb, 3185 void unfix_nodes(struct tree_balance *); 3200 void store_print_tb(struct tree_balance *tb); 3219 int leaf_move_items(int shift_mode, struct tree_balance *tb, int mov_num, 3221 int leaf_shift_left(struct tree_balance *tb, int shift_num, int shift_bytes); 3222 int leaf_shift_right(struct tree_balance *tb, int shift_num, int shift_bytes); [all …]
|
D | stree.c | 1164 static int calc_deleted_bytes_number(struct tree_balance *tb, char mode) in calc_deleted_bytes_number() 1191 struct tree_balance *tb, in init_tb_struct() 1198 memset(tb, '\0', sizeof(struct tree_balance)); in init_tb_struct() 1256 struct tree_balance s_del_balance; in reiserfs_delete_item() 1408 struct tree_balance tb; in reiserfs_delete_solid_item() 1652 struct tree_balance s_cut_balance; in reiserfs_cut_from_item() 2095 struct tree_balance s_paste_balance; in reiserfs_paste_into_item() 2190 struct tree_balance s_ins_balance; in reiserfs_insert_item()
|
D | lbalance.c | 629 static void leaf_define_dest_src_infos(int shift_mode, struct tree_balance *tb, in leaf_define_dest_src_infos() 715 int leaf_move_items(int shift_mode, struct tree_balance *tb, int mov_num, in leaf_move_items() 741 int leaf_shift_left(struct tree_balance *tb, int shift_num, int shift_bytes) in leaf_shift_left() 794 int leaf_shift_right(struct tree_balance *tb, int shift_num, int shift_bytes) in leaf_shift_right()
|
D | prints.c | 640 void store_print_tb(struct tree_balance *tb) in store_print_tb()
|
D | journal.c | 3949 extern struct tree_balance *cur_tb;
|