• Home
  • Raw
  • Download

Lines Matching refs:src

135 				   struct buffer_head *src, int last_first,  in leaf_copy_boundary_item()  argument
153 ih = item_head(src, 0); in leaf_copy_boundary_item()
158 || (!op_is_left_mergeable(&ih->ih_key, src->b_size))) in leaf_copy_boundary_item()
168 leaf_copy_dir_entries(dest_bi, src, FIRST_TO_LAST, 0, 0, in leaf_copy_boundary_item()
201 bytes_or_entries, ih_item_body(src, ih), 0); in leaf_copy_boundary_item()
220 src_nr_item = B_NR_ITEMS(src); in leaf_copy_boundary_item()
221 ih = item_head(src, src_nr_item - 1); in leaf_copy_boundary_item()
224 if (!dest_nr_item || !op_is_left_mergeable(&dih->ih_key, src->b_size)) in leaf_copy_boundary_item()
235 leaf_copy_dir_entries(dest_bi, src, LAST_TO_FIRST, in leaf_copy_boundary_item()
258 le_ih_k_offset(ih) + op_bytes_number(ih, src->b_size), in leaf_copy_boundary_item()
297 ih_item_body(src, in leaf_copy_boundary_item()
311 struct buffer_head *src, int last_first, in leaf_copy_items_entirely() argument
324 RFALSE(B_NR_ITEMS(src) - first < cpy_num, in leaf_copy_items_entirely()
326 B_NR_ITEMS(src), cpy_num, first); in leaf_copy_items_entirely()
358 memcpy(ih, item_head(src, first), cpy_num * IH_SIZE); in leaf_copy_items_entirely()
385 item_body(src, (first + cpy_num - 1)), in leaf_copy_items_entirely()
415 struct buffer_head *src, int last_first, in leaf_item_bottle() argument
429 ih = item_head(src, item_num); in leaf_item_bottle()
431 leaf_copy_dir_entries(dest_bi, src, FIRST_TO_LAST, in leaf_item_bottle()
452 RFALSE(op_is_left_mergeable(&ih->ih_key, src->b_size), in leaf_item_bottle()
456 item_body(src, item_num), 0); in leaf_item_bottle()
463 ih = item_head(src, item_num); in leaf_item_bottle()
465 leaf_copy_dir_entries(dest_bi, src, LAST_TO_FIRST, in leaf_item_bottle()
509 item_body(src, item_num) + in leaf_item_bottle()
521 static int leaf_copy_items(struct buffer_info *dest_bi, struct buffer_head *src, in leaf_copy_items() argument
528 RFALSE(!dest || !src, "vs-10210: !dest || !src"); in leaf_copy_items()
531 RFALSE(B_NR_ITEMS(src) < cpy_num, in leaf_copy_items()
532 "vs-10230: No enough items: %d, req. %d", B_NR_ITEMS(src), in leaf_copy_items()
551 i = leaf_copy_boundary_item(dest_bi, src, FIRST_TO_LAST, bytes); in leaf_copy_items()
561 leaf_copy_items_entirely(dest_bi, src, FIRST_TO_LAST, in leaf_copy_items()
568 leaf_copy_items_entirely(dest_bi, src, FIRST_TO_LAST, in leaf_copy_items()
575 leaf_item_bottle(dest_bi, src, FIRST_TO_LAST, in leaf_copy_items()
580 src_nr_item = B_NR_ITEMS(src); in leaf_copy_items()
591 i = leaf_copy_boundary_item(dest_bi, src, LAST_TO_FIRST, bytes); in leaf_copy_items()
603 leaf_copy_items_entirely(dest_bi, src, LAST_TO_FIRST, in leaf_copy_items()
610 leaf_copy_items_entirely(dest_bi, src, LAST_TO_FIRST, in leaf_copy_items()
617 leaf_item_bottle(dest_bi, src, LAST_TO_FIRST, pos, in leaf_copy_items()