Lines Matching refs:dest

19 	struct buffer_head *dest = dest_bi->bi_bh;  in leaf_copy_dir_entries()  local
55 LAST_TO_FIRST) ? ((B_NR_ITEMS(dest)) ? 0 : -1) : (B_NR_ITEMS(dest) in leaf_copy_dir_entries()
66 leaf_key(dest, in leaf_copy_dir_entries()
104 LAST_TO_FIRST) ? 0 : B_NR_ITEMS(dest), in leaf_copy_dir_entries()
110 FIRST_TO_LAST) ? (B_NR_ITEMS(dest) - in leaf_copy_dir_entries()
117 (last_first == FIRST_TO_LAST) ? (B_NR_ITEMS(dest) - 1) : 0; in leaf_copy_dir_entries()
121 FIRST_TO_LAST) ? ih_entry_count(item_head(dest, in leaf_copy_dir_entries()
138 struct buffer_head *dest = dest_bi->bi_bh; in leaf_copy_boundary_item() local
144 dest_nr_item = B_NR_ITEMS(dest); in leaf_copy_boundary_item()
154 dih = item_head(dest, dest_nr_item - 1); in leaf_copy_boundary_item()
222 dih = item_head(dest, 0); in leaf_copy_boundary_item()
285 (bytes_or_entries / UNFM_P_SIZE) * dest->b_size, in leaf_copy_boundary_item()
288 (bytes_or_entries / UNFM_P_SIZE) * dest->b_size); in leaf_copy_boundary_item()
292 dest->b_size)); in leaf_copy_boundary_item()
314 struct buffer_head *dest; in leaf_copy_items_entirely() local
330 dest = dest_bi->bi_bh; in leaf_copy_items_entirely()
332 RFALSE(!dest, "vs-10130: can not copy negative amount of items"); in leaf_copy_items_entirely()
337 blkh = B_BLK_HEAD(dest); in leaf_copy_items_entirely()
348 ih = item_head(dest, dest_before); in leaf_copy_items_entirely()
352 B_FREE_SPACE(dest), cpy_num * 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()
379 memmove(dest->b_data + last_loc, in leaf_copy_items_entirely()
380 dest->b_data + last_loc + j - last_inserted_loc, in leaf_copy_items_entirely()
384 memcpy(dest->b_data + last_inserted_loc, in leaf_copy_items_entirely()
392 do_balance_mark_leaf_dirty(dest_bi->tb, dest, 0); in leaf_copy_items_entirely()
397 RFALSE(dc_block_number(t_dc) != dest->b_blocknr, in leaf_copy_items_entirely()
399 (long unsigned)dest->b_blocknr, in leaf_copy_items_entirely()
418 struct buffer_head *dest = dest_bi->bi_bh; in leaf_item_bottle() local
455 leaf_insert_into_buf(dest_bi, B_NR_ITEMS(dest), &n_ih, in leaf_item_bottle()
497 dest->b_size); in leaf_item_bottle()
524 struct buffer_head *dest; in leaf_copy_items() local
527 dest = dest_bi->bi_bh; in leaf_copy_items()
528 RFALSE(!dest || !src, "vs-10210: !dest || !src"); in leaf_copy_items()