Home
last modified time | relevance | path

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

/fs/reiserfs/
Dfix_node.c62 MAX_CHILD_SIZE(Sh) - B_FREE_SPACE(Sh) + tb->insert_size[h]; in create_virtual_node()
421 max_node_size = MAX_CHILD_SIZE(PATH_H_PBUFFER(tb->tb_path, h)); in get_num_ver()
750 if (MAX_CHILD_SIZE(S0) + vn->vn_size <= rfree + lfree + ih_size) { in are_leaves_removable()
933 return (MAX_CHILD_SIZE(f) - dc_size(B_N_CHILD(f, order))); in get_lfree()
956 return (MAX_CHILD_SIZE(f) - dc_size(B_N_CHILD(f, order))); in get_rfree()
1287 if (lfree + rfree + sfree < MAX_CHILD_SIZE(Sh) + levbytes in can_node_be_removed()
1743 maxsize = MAX_CHILD_SIZE(Sh); in dc_check_balance_internal()
1956 maxsize = MAX_CHILD_SIZE(S0); /* maximal possible size of an item */ in dc_check_balance_leaf()
2198 MAX_CHILD_SIZE(bh) - in get_neighbors()
2235 MAX_CHILD_SIZE(bh) - in get_neighbors()
[all …]
Dibalance.c158 MAX_CHILD_SIZE(bh[i]) - B_FREE_SPACE(bh[i])); in internal_insert_childs()
662 MAX_CHILD_SIZE(tbSh) - DC_SIZE, in balance_internal_when_delete()
909 MAX_CHILD_SIZE(insert_ptr[k]) - in balance_internal()
975 MAX_CHILD_SIZE(insert_ptr in balance_internal()
1020 (MAX_CHILD_SIZE(tbSh_1) - B_FREE_SPACE(tbSh_1))); in balance_internal()
1121 (MAX_CHILD_SIZE in balance_internal()
Ddo_balan.c1487 set_blkh_free_space(blkh, MAX_CHILD_SIZE(bi->bi_bh)); in make_empty_node()
1697 MAX_CHILD_SIZE(tb->L[0]) - in check_after_balance_leaf()
1707 MAX_CHILD_SIZE(tb->R[0]) - in check_after_balance_leaf()
1717 (MAX_CHILD_SIZE(PATH_H_PBUFFER(tb->tb_path, 0)) - in check_after_balance_leaf()
1721 int right = (MAX_CHILD_SIZE(PATH_H_PBUFFER(tb->tb_path, 0)) - in check_after_balance_leaf()
1730 MAX_CHILD_SIZE(PATH_H_PBUFFER(tb->tb_path, 0)), in check_after_balance_leaf()
Dreiserfs.h2057 #define MAX_CHILD_SIZE(bh) ((int)( (bh)->b_size - BLKH_SIZE )) macro
2060 #define B_CHILD_SIZE(cur) (MAX_CHILD_SIZE(cur)-(B_FREE_SPACE(cur)))
2063 #define MAX_NR_KEY(bh) ( (MAX_CHILD_SIZE(bh)-DC_SIZE)/(KEY_SIZE+DC_SIZE) )