Lines Matching refs:entry_count
722 int entry_count; in balance_leaf_paste_right_shift_dirent() local
726 entry_count = ih_entry_count(item_head(tbS0, tb->item_pos)); in balance_leaf_paste_right_shift_dirent()
729 if (entry_count - tb->rbytes < tb->pos_in_item) { in balance_leaf_paste_right_shift_dirent()
732 RFALSE(tb->rbytes - 1 >= entry_count || !tb->insert_size[0], in balance_leaf_paste_right_shift_dirent()
734 "rbytes=%d, entry_count=%d", tb->rbytes, entry_count); in balance_leaf_paste_right_shift_dirent()
744 paste_entry_position = tb->pos_in_item - entry_count + in balance_leaf_paste_right_shift_dirent()
1029 int entry_count = ih_entry_count(aux_ih); in balance_leaf_new_nodes_paste_dirent() local
1032 if (entry_count - tb->sbytes[i] < tb->pos_in_item && in balance_leaf_new_nodes_paste_dirent()
1033 tb->pos_in_item <= entry_count) { in balance_leaf_new_nodes_paste_dirent()
1038 RFALSE(tb->sbytes[i] - 1 >= entry_count, in balance_leaf_new_nodes_paste_dirent()
1040 tb->sbytes[i] - 1, entry_count); in balance_leaf_new_nodes_paste_dirent()
1055 leaf_paste_in_buffer(&bi, 0, tb->pos_in_item - entry_count + in balance_leaf_new_nodes_paste_dirent()
1060 leaf_paste_entries(&bi, 0, tb->pos_in_item - entry_count + in balance_leaf_new_nodes_paste_dirent()