Lines Matching refs:del_num
207 int first_i, int del_num) in internal_delete_pointers_items() argument
216 RFALSE(del_num < 0, in internal_delete_pointers_items()
217 "negative number of items (%d) can not be deleted", del_num); in internal_delete_pointers_items()
218 RFALSE(first_p < 0 || first_p + del_num > B_NR_ITEMS(cur) + 1 in internal_delete_pointers_items()
222 "first key order %d < 0", first_p, first_p + del_num, in internal_delete_pointers_items()
224 if (del_num == 0) in internal_delete_pointers_items()
230 if (first_p == 0 && del_num == nr + 1) { in internal_delete_pointers_items()
237 RFALSE(first_i + del_num > B_NR_ITEMS(cur), in internal_delete_pointers_items()
240 first_i, del_num, first_i + del_num, cur, cur); in internal_delete_pointers_items()
245 memmove(dc, dc + del_num, (nr + 1 - first_p - del_num) * DC_SIZE); in internal_delete_pointers_items()
247 memmove(key, key + del_num, in internal_delete_pointers_items()
248 (nr - first_i - del_num) * KEY_SIZE + (nr + 1 - in internal_delete_pointers_items()
249 del_num) * DC_SIZE); in internal_delete_pointers_items()
252 set_blkh_nr_item(blkh, blkh_nr_item(blkh) - del_num); in internal_delete_pointers_items()
255 (del_num * (KEY_SIZE + DC_SIZE))); in internal_delete_pointers_items()
266 dc_size(t_dc) - (del_num * (KEY_SIZE + DC_SIZE))); in internal_delete_pointers_items()