Lines Matching defs:tb
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()
938 static int get_rfree(struct tree_balance *tb, int h) in get_rfree()
959 static int is_left_neighbor_in_cache(struct tree_balance *tb, int h) in is_left_neighbor_in_cache()
1023 static int get_far_parent(struct tree_balance *tb, in get_far_parent()
1172 static int get_parents(struct tree_balance *tb, int h) in get_parents()
1274 struct tree_balance *tb, int h) in can_node_be_removed()
1324 static int ip_check_balance(struct tree_balance *tb, int h) in ip_check_balance()
1726 static int dc_check_balance_internal(struct tree_balance *tb, int h) in dc_check_balance_internal()
1925 static int dc_check_balance_leaf(struct tree_balance *tb, int h) in dc_check_balance_leaf()
2031 static int dc_check_balance(struct tree_balance *tb, int h) in dc_check_balance()
2062 struct tree_balance *tb, in check_balance()
2090 static int get_direct_parent(struct tree_balance *tb, int h) in get_direct_parent()
2151 static int get_neighbors(struct tree_balance *tb, int h) in get_neighbors()
2265 static int get_mem_for_virtual_node(struct tree_balance *tb) in get_mem_for_virtual_node()
2364 static int wait_tb_buffers_until_unlocked(struct tree_balance *tb) in wait_tb_buffers_until_unlocked()
2546 int fix_nodes(int op_mode, struct tree_balance *tb, in fix_nodes()
2778 void unfix_nodes(struct tree_balance *tb) in unfix_nodes()