Home
last modified time | relevance | path

Searched refs:B_FREE_SPACE (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/fs/reiserfs/
Dibalance.c148 RFALSE( B_FREE_SPACE (cur) < count * (KEY_SIZE + DC_SIZE), in internal_insert_childs()
150 B_FREE_SPACE (cur), count * (KEY_SIZE + DC_SIZE)); in internal_insert_childs()
159 put_dc_size( &(new_dc[i]), MAX_CHILD_SIZE(bh[i]) - B_FREE_SPACE(bh[i])); in internal_insert_childs()
423 RFALSE( B_FREE_SPACE (dest) < KEY_SIZE, in internal_insert_key()
424 "no enough free space (%d) in dest buffer", B_FREE_SPACE (dest)); in internal_insert_key()
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()
895 B_FREE_SPACE (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()
1020 B_FREE_SPACE(insert_ptr[insert_num-k-1])) ); in balance_internal()
Dprints.c135 B_LEVEL (bh), B_NR_ITEMS (bh), B_FREE_SPACE (bh)); in sprintf_block_head()
694 if (B_FREE_SPACE (bh) != in check_internal_block_head()
Dfix_node.c90 vn->vn_size = MAX_CHILD_SIZE (Sh) - B_FREE_SPACE (Sh) + tb->insert_size[h]; in create_virtual_node()
1261 sfree = B_FREE_SPACE (Sh); in ip_check_balance()
1720 RFALSE( -levbytes >= maxsize - B_FREE_SPACE (S0), in dc_check_balance_leaf()
1944B_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()
1975 B_FREE_SPACE (p_s_bh), MAX_CHILD_SIZE (p_s_bh), in get_neighbors()
Ddo_balan.c1401 if (B_FREE_SPACE (tb->L[0]) != in check_after_balance_leaf()
1408 if (B_FREE_SPACE (tb->R[0]) != in check_after_balance_leaf()
1415 (B_FREE_SPACE (PATH_H_PBUFFER(tb->tb_path,0)) != in check_after_balance_leaf()
1419 int left = B_FREE_SPACE (PATH_H_PBUFFER(tb->tb_path,0)); in check_after_balance_leaf()
Dlbalance.c282 B_FREE_SPACE (dest), cpy_num * IH_SIZE); in leaf_copy_items_entirely()
/linux-2.4.37.9/include/linux/
Dreiserfs_fs.h782 #define B_FREE_SPACE(p_s_bh) (blkh_free_space(B_BLK_HEAD(p_s_bh))) macro
1184 #define B_CHILD_SIZE(cur) (MAX_CHILD_SIZE(cur)-(B_FREE_SPACE(cur)))
1959 PROC_INFO_ADD( sb, free_at[ ( level ) ], B_FREE_SPACE( bh ) ); \