Home
last modified time | relevance | path

Searched refs:MAX_CHILD_SIZE (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/fs/reiserfs/
Dfix_node.c90 vn->vn_size = MAX_CHILD_SIZE (Sh) - B_FREE_SPACE (Sh) + tb->insert_size[h]; in create_virtual_node()
390 max_node_size = MAX_CHILD_SIZE (PATH_H_PBUFFER (tb->tb_path, h)); in get_num_ver()
672 if (MAX_CHILD_SIZE (S0) + vn->vn_size <= rfree + lfree + ih_size) { in are_leaves_removable()
865 return (MAX_CHILD_SIZE(f) - dc_size(B_N_CHILD(f,order))); in get_lfree()
887 return (MAX_CHILD_SIZE(f) - dc_size( B_N_CHILD(f,order))); in get_rfree()
1164 lfree + rfree + sfree < MAX_CHILD_SIZE(Sh) + levbytes in can_node_be_removed()
1543 maxsize = MAX_CHILD_SIZE(Sh); in dc_check_balance_internal()
1715 maxsize = MAX_CHILD_SIZE(S0); /* maximal possible size of an item */ in dc_check_balance_leaf()
1944 …B_FREE_SPACE (p_s_bh) != MAX_CHILD_SIZE (p_s_bh) - dc_size(B_N_CHILD (p_s_tb->FL[0],n_child_positi… in get_neighbors()
1973 …RFALSE( ! n_h && B_FREE_SPACE (p_s_bh) != MAX_CHILD_SIZE (p_s_bh) - dc_size(B_N_CHILD (p_s_tb->FR[… in get_neighbors()
[all …]
Dibalance.c159 put_dc_size( &(new_dc[i]), MAX_CHILD_SIZE(bh[i]) - B_FREE_SPACE(bh[i])); in internal_insert_childs()
615 RFALSE( n || B_FREE_SPACE (tbSh) != MAX_CHILD_SIZE(tbSh) - DC_SIZE, in balance_internal_when_delete()
838 put_dc_size( dc, MAX_CHILD_SIZE(insert_ptr[k]) - B_FREE_SPACE (insert_ptr[k])); in balance_internal()
894 put_dc_size( dc, MAX_CHILD_SIZE(insert_ptr[insert_num-k-1]) - in balance_internal()
935 put_dc_size( dc, (MAX_CHILD_SIZE (tbSh_1) - B_FREE_SPACE (tbSh_1))); in balance_internal()
1019 put_dc_size( dc, (MAX_CHILD_SIZE(insert_ptr[insert_num-k-1]) - in balance_internal()
Ddo_balan.c1189 set_blkh_free_space( blkh, MAX_CHILD_SIZE(bi->bi_bh) ); in make_empty_node()
1402MAX_CHILD_SIZE (tb->L[0]) - dc_size(B_N_CHILD (tb->FL[0], get_left_neighbor_position (tb, 0)))) { in check_after_balance_leaf()
1409MAX_CHILD_SIZE (tb->R[0]) - dc_size(B_N_CHILD (tb->FR[0], get_right_neighbor_position (tb, 0)))) { in check_after_balance_leaf()
1416 (MAX_CHILD_SIZE (PATH_H_PBUFFER(tb->tb_path,0)) - in check_after_balance_leaf()
1420 int right = (MAX_CHILD_SIZE (PATH_H_PBUFFER(tb->tb_path,0)) - in check_after_balance_leaf()
1428 MAX_CHILD_SIZE (PATH_H_PBUFFER(tb->tb_path,0)), in check_after_balance_leaf()
/linux-2.4.37.9/include/linux/
Dreiserfs_fs.h1181 #define MAX_CHILD_SIZE(bh) ((int)( (bh)->b_size - BLKH_SIZE )) macro
1184 #define B_CHILD_SIZE(cur) (MAX_CHILD_SIZE(cur)-(B_FREE_SPACE(cur)))
1187 #define MAX_NR_KEY(bh) ( (MAX_CHILD_SIZE(bh)-DC_SIZE)/(KEY_SIZE+DC_SIZE) )