Home
last modified time | relevance | path

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

/fs/reiserfs/
Dlbalance.c815 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()
[all …]
Dibalance.c207 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()
[all …]
Dreiserfs.h3225 int del_num, int del_bytes);