Lines Matching refs:del_num
815 int first, int del_num);
828 int first, int del_num, int del_bytes) in leaf_delete_items() argument
834 RFALSE(del_num < 0, "10160: del_num can not be < 0. del_num==%d", in leaf_delete_items()
835 del_num); in leaf_delete_items()
837 || first + del_num > item_amount, in leaf_delete_items()
840 first + del_num, item_amount); in leaf_delete_items()
842 if (del_num == 0) in leaf_delete_items()
845 if (first == 0 && del_num == item_amount && del_bytes == -1) { in leaf_delete_items()
853 leaf_delete_items_entirely(cur_bi, first, del_num); in leaf_delete_items()
860 leaf_delete_items_entirely(cur_bi, first, del_num - 1); in leaf_delete_items()
876 del_num - 1); in leaf_delete_items()
1241 int first, int del_num) in leaf_delete_items_entirely() argument
1251 RFALSE(del_num < 0, "10215: del_num less than 0 (%d)", del_num); in leaf_delete_items_entirely()
1253 if (del_num == 0) in leaf_delete_items_entirely()
1259 RFALSE(first < 0 || first + del_num > nr, in leaf_delete_items_entirely()
1260 "10220: first=%d, number=%d, there is %d items", first, del_num, in leaf_delete_items_entirely()
1263 if (first == 0 && del_num == nr) { in leaf_delete_items_entirely()
1278 last_removed_loc = ih_location(&ih[del_num - 1]); in leaf_delete_items_entirely()
1284 memmove(ih, ih + del_num, (nr - first - del_num) * IH_SIZE); in leaf_delete_items_entirely()
1287 for (i = first; i < nr - del_num; i++) in leaf_delete_items_entirely()
1293 set_blkh_nr_item(blkh, blkh_nr_item(blkh) - del_num); in leaf_delete_items_entirely()
1296 IH_SIZE * del_num)); in leaf_delete_items_entirely()
1305 IH_SIZE * del_num)); in leaf_delete_items_entirely()