Home
last modified time | relevance | path

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

/linux-3.4.99/fs/reiserfs/
Dlbalance.c289 int dest_before; in leaf_copy_items_entirely() local
315 dest_before = (last_first == LAST_TO_FIRST) ? 0 : nr; in leaf_copy_items_entirely()
318 ih = B_N_PITEM_HEAD(dest, dest_before); in leaf_copy_items_entirely()
325 memmove(ih + cpy_num, ih, (nr - dest_before) * IH_SIZE); in leaf_copy_items_entirely()
334 j = location = (dest_before == 0) ? dest->b_size : ih_location(ih - 1); in leaf_copy_items_entirely()
335 for (i = dest_before; i < nr + cpy_num; i++) { in leaf_copy_items_entirely()
336 location -= ih_item_len(ih + i - dest_before); in leaf_copy_items_entirely()
337 put_ih_location(ih + i - dest_before, location); in leaf_copy_items_entirely()
341 last_loc = ih_location(&(ih[nr + cpy_num - 1 - dest_before])); in leaf_copy_items_entirely()