Searched refs:MAX_CHILD_SIZE (Results 1 – 4 of 4) sorted by relevance
89 MAX_CHILD_SIZE(Sh) - B_FREE_SPACE(Sh) + tb->insert_size[h]; in create_virtual_node()399 max_node_size = MAX_CHILD_SIZE(PATH_H_PBUFFER(tb->tb_path, h)); in get_num_ver()701 if (MAX_CHILD_SIZE(S0) + vn->vn_size <= rfree + lfree + ih_size) { in are_leaves_removable()870 return (MAX_CHILD_SIZE(f) - dc_size(B_N_CHILD(f, order))); in get_lfree()892 return (MAX_CHILD_SIZE(f) - dc_size(B_N_CHILD(f, order))); in get_rfree()1182 if (lfree + rfree + sfree < MAX_CHILD_SIZE(Sh) + levbytes in can_node_be_removed()1575 maxsize = MAX_CHILD_SIZE(Sh); in dc_check_balance_internal()1763 maxsize = MAX_CHILD_SIZE(S0); /* maximal possible size of an item */ in dc_check_balance_leaf()1990 MAX_CHILD_SIZE(bh) - in get_neighbors()2027 MAX_CHILD_SIZE(bh) - in get_neighbors()[all …]
150 MAX_CHILD_SIZE(bh[i]) - B_FREE_SPACE(bh[i])); in internal_insert_childs()619 MAX_CHILD_SIZE(tbSh) - DC_SIZE, in balance_internal_when_delete()847 MAX_CHILD_SIZE(insert_ptr[k]) - in balance_internal()910 MAX_CHILD_SIZE(insert_ptr in balance_internal()955 (MAX_CHILD_SIZE(tbSh_1) - B_FREE_SPACE(tbSh_1))); in balance_internal()1050 (MAX_CHILD_SIZE in balance_internal()
1658 set_blkh_free_space(blkh, MAX_CHILD_SIZE(bi->bi_bh)); in make_empty_node()1868 MAX_CHILD_SIZE(tb->L[0]) - in check_after_balance_leaf()1878 MAX_CHILD_SIZE(tb->R[0]) - in check_after_balance_leaf()1888 (MAX_CHILD_SIZE(PATH_H_PBUFFER(tb->tb_path, 0)) - in check_after_balance_leaf()1892 int right = (MAX_CHILD_SIZE(PATH_H_PBUFFER(tb->tb_path, 0)) - in check_after_balance_leaf()1901 MAX_CHILD_SIZE(PATH_H_PBUFFER(tb->tb_path, 0)), in check_after_balance_leaf()
1834 #define MAX_CHILD_SIZE(bh) ((int)( (bh)->b_size - BLKH_SIZE )) macro1837 #define B_CHILD_SIZE(cur) (MAX_CHILD_SIZE(cur)-(B_FREE_SPACE(cur)))1840 #define MAX_NR_KEY(bh) ( (MAX_CHILD_SIZE(bh)-DC_SIZE)/(KEY_SIZE+DC_SIZE) )