Lines Matching refs:before
901 void leaf_insert_into_buf(struct buffer_info *bi, int before, in leaf_insert_into_buf() argument
927 ih = item_head(bh, before); in leaf_insert_into_buf()
930 last_loc = nr ? ih_location(&ih[nr - before - 1]) : bh->b_size; in leaf_insert_into_buf()
931 unmoved_loc = before ? ih_location(ih - 1) : bh->b_size; in leaf_insert_into_buf()
948 memmove(ih + 1, ih, IH_SIZE * (nr - before)); in leaf_insert_into_buf()
952 for (i = before; i < nr + 1; i++) { in leaf_insert_into_buf()
953 unmoved_loc -= ih_item_len(&ih[i - before]); in leaf_insert_into_buf()
954 put_ih_location(&ih[i - before], unmoved_loc); in leaf_insert_into_buf()
1316 int before, in leaf_paste_entries() argument
1338 RFALSE(ih_entry_count(ih) < before, in leaf_paste_entries()
1340 ih_entry_count(ih), before); in leaf_paste_entries()
1351 (before ? deh_location(&deh[before - 1]) in leaf_paste_entries()
1355 for (i = ih_entry_count(ih) - 1; i >= before; i--) in leaf_paste_entries()
1361 for (i = 0; i < before; i++) in leaf_paste_entries()
1376 deh += before; in leaf_paste_entries()
1395 if (!before) { in leaf_paste_entries()