Home
last modified time | relevance | path

Searched refs:del_num (Results 1 – 3 of 3) sorted by relevance

/fs/reiserfs/
Dlbalance.c727 int first, int del_num);
736 int first, int del_num, int del_bytes) in leaf_delete_items() argument
742 RFALSE(del_num < 0, "10160: del_num can not be < 0. del_num==%d", in leaf_delete_items()
743 del_num); in leaf_delete_items()
745 || first + del_num > item_amount, in leaf_delete_items()
748 first + del_num, item_amount); in leaf_delete_items()
750 if (del_num == 0) in leaf_delete_items()
753 if (first == 0 && del_num == item_amount && del_bytes == -1) { in leaf_delete_items()
761 leaf_delete_items_entirely(cur_bi, first, del_num); in leaf_delete_items()
765 leaf_delete_items_entirely(cur_bi, first, del_num - 1); in leaf_delete_items()
[all …]
Dibalance.c197 int first_i, int del_num) in internal_delete_pointers_items() argument
206 RFALSE(del_num < 0, in internal_delete_pointers_items()
207 "negative number of items (%d) can not be deleted", del_num); in internal_delete_pointers_items()
208 RFALSE(first_p < 0 || first_p + del_num > B_NR_ITEMS(cur) + 1 in internal_delete_pointers_items()
212 "first key order %d < 0", first_p, first_p + del_num, in internal_delete_pointers_items()
214 if (del_num == 0) in internal_delete_pointers_items()
220 if (first_p == 0 && del_num == nr + 1) { in internal_delete_pointers_items()
227 RFALSE(first_i + del_num > B_NR_ITEMS(cur), in internal_delete_pointers_items()
230 first_i, del_num, first_i + del_num, cur, cur); in internal_delete_pointers_items()
235 memmove(dc, dc + del_num, (nr + 1 - first_p - del_num) * DC_SIZE); in internal_delete_pointers_items()
[all …]
Dreiserfs.h2770 int del_num, int del_bytes);