Home
last modified time | relevance | path

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

/linux-5.19.10/fs/reiserfs/
Dlbalance.c316 int dest_before; in leaf_copy_items_entirely() local
345 dest_before = (last_first == LAST_TO_FIRST) ? 0 : nr; in leaf_copy_items_entirely()
348 ih = item_head(dest, dest_before); in leaf_copy_items_entirely()
355 memmove(ih + cpy_num, ih, (nr - dest_before) * IH_SIZE); in leaf_copy_items_entirely()
364 j = location = (dest_before == 0) ? dest->b_size : ih_location(ih - 1); in leaf_copy_items_entirely()
365 for (i = dest_before; i < nr + cpy_num; i++) { in leaf_copy_items_entirely()
366 location -= ih_item_len(ih + i - dest_before); in leaf_copy_items_entirely()
367 put_ih_location(ih + i - dest_before, location); in leaf_copy_items_entirely()
371 last_loc = ih_location(&ih[nr + cpy_num - 1 - dest_before]); in leaf_copy_items_entirely()