dest_bi 30 fs/reiserfs/ibalance.c struct buffer_info *dest_bi, dest_bi 34 fs/reiserfs/ibalance.c memset(dest_bi, 0, sizeof(struct buffer_info)); dest_bi 45 fs/reiserfs/ibalance.c dest_bi->tb = tb; dest_bi 46 fs/reiserfs/ibalance.c dest_bi->bi_bh = tb->L[h]; dest_bi 47 fs/reiserfs/ibalance.c dest_bi->bi_parent = tb->FL[h]; dest_bi 48 fs/reiserfs/ibalance.c dest_bi->bi_position = get_left_neighbor_position(tb, h); dest_bi 57 fs/reiserfs/ibalance.c dest_bi->tb = tb; dest_bi 58 fs/reiserfs/ibalance.c dest_bi->bi_bh = PATH_H_PBUFFER(tb->tb_path, h); dest_bi 59 fs/reiserfs/ibalance.c dest_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, h); dest_bi 61 fs/reiserfs/ibalance.c dest_bi->bi_position = PATH_H_POSITION(tb->tb_path, h + 1); dest_bi 72 fs/reiserfs/ibalance.c dest_bi->tb = tb; dest_bi 73 fs/reiserfs/ibalance.c dest_bi->bi_bh = PATH_H_PBUFFER(tb->tb_path, h); dest_bi 74 fs/reiserfs/ibalance.c dest_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, h); dest_bi 75 fs/reiserfs/ibalance.c dest_bi->bi_position = PATH_H_POSITION(tb->tb_path, h + 1); dest_bi 85 fs/reiserfs/ibalance.c dest_bi->tb = tb; dest_bi 86 fs/reiserfs/ibalance.c dest_bi->bi_bh = tb->R[h]; dest_bi 87 fs/reiserfs/ibalance.c dest_bi->bi_parent = tb->FR[h]; dest_bi 88 fs/reiserfs/ibalance.c dest_bi->bi_position = get_right_neighbor_position(tb, h); dest_bi 94 fs/reiserfs/ibalance.c dest_bi->tb = tb; dest_bi 95 fs/reiserfs/ibalance.c dest_bi->bi_bh = tb->L[h]; dest_bi 96 fs/reiserfs/ibalance.c dest_bi->bi_parent = tb->FL[h]; dest_bi 97 fs/reiserfs/ibalance.c dest_bi->bi_position = get_left_neighbor_position(tb, h); dest_bi 101 fs/reiserfs/ibalance.c dest_bi->tb = tb; dest_bi 102 fs/reiserfs/ibalance.c dest_bi->bi_bh = PATH_H_PBUFFER(tb->tb_path, h); dest_bi 103 fs/reiserfs/ibalance.c dest_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, h); dest_bi 104 fs/reiserfs/ibalance.c dest_bi->bi_position = PATH_H_POSITION(tb->tb_path, h + 1); dest_bi 108 fs/reiserfs/ibalance.c dest_bi->tb = tb; dest_bi 109 fs/reiserfs/ibalance.c dest_bi->bi_bh = tb->R[h]; dest_bi 110 fs/reiserfs/ibalance.c dest_bi->bi_parent = tb->FR[h]; dest_bi 111 fs/reiserfs/ibalance.c dest_bi->bi_position = get_right_neighbor_position(tb, h); dest_bi 298 fs/reiserfs/ibalance.c static void internal_copy_pointers_items(struct buffer_info *dest_bi, dest_bi 307 fs/reiserfs/ibalance.c struct buffer_head *dest = dest_bi->bi_bh; dest_bi 365 fs/reiserfs/ibalance.c do_balance_mark_internal_dirty(dest_bi->tb, dest, 0); dest_bi 371 fs/reiserfs/ibalance.c if (dest_bi->bi_parent) { dest_bi 373 fs/reiserfs/ibalance.c t_dc = B_N_CHILD(dest_bi->bi_parent, dest_bi->bi_position); dest_bi 378 fs/reiserfs/ibalance.c do_balance_mark_internal_dirty(dest_bi->tb, dest_bi->bi_parent, dest_bi 381 fs/reiserfs/ibalance.c check_internal(dest_bi->bi_parent); dest_bi 394 fs/reiserfs/ibalance.c static void internal_move_pointers_items(struct buffer_info *dest_bi, dest_bi 402 fs/reiserfs/ibalance.c internal_copy_pointers_items(dest_bi, src_bi->bi_bh, last_first, dest_bi 429 fs/reiserfs/ibalance.c static void internal_insert_key(struct buffer_info *dest_bi, dest_bi 434 fs/reiserfs/ibalance.c struct buffer_head *dest = dest_bi->bi_bh; dest_bi 468 fs/reiserfs/ibalance.c do_balance_mark_internal_dirty(dest_bi->tb, dest, 0); dest_bi 470 fs/reiserfs/ibalance.c if (dest_bi->bi_parent) { dest_bi 472 fs/reiserfs/ibalance.c t_dc = B_N_CHILD(dest_bi->bi_parent, dest_bi->bi_position); dest_bi 475 fs/reiserfs/ibalance.c do_balance_mark_internal_dirty(dest_bi->tb, dest_bi->bi_parent, dest_bi 496 fs/reiserfs/ibalance.c struct buffer_info dest_bi, src_bi; dest_bi 500 fs/reiserfs/ibalance.c internal_define_dest_src_infos(mode, tb, h, &dest_bi, &src_bi, dest_bi 510 fs/reiserfs/ibalance.c internal_insert_key(&dest_bi, B_NR_ITEMS(dest_bi.bi_bh), cf, dest_bi 523 fs/reiserfs/ibalance.c internal_move_pointers_items(&dest_bi, &src_bi, FIRST_TO_LAST, dest_bi 537 fs/reiserfs/ibalance.c struct buffer_info dest_bi, src_bi; dest_bi 542 fs/reiserfs/ibalance.c &dest_bi, &src_bi, &d_key_position, &cf); dest_bi 546 fs/reiserfs/ibalance.c internal_insert_key(&dest_bi, B_NR_ITEMS(dest_bi.bi_bh), cf, dest_bi 550 fs/reiserfs/ibalance.c internal_move_pointers_items(&dest_bi, &src_bi, FIRST_TO_LAST, dest_bi 568 fs/reiserfs/ibalance.c struct buffer_info dest_bi, src_bi; dest_bi 573 fs/reiserfs/ibalance.c internal_define_dest_src_infos(mode, tb, h, &dest_bi, &src_bi, dest_bi 583 fs/reiserfs/ibalance.c internal_insert_key(&dest_bi, 0, cf, d_key_position); dest_bi 586 fs/reiserfs/ibalance.c dest_bi.bi_bh != tb->R[h], dest_bi 599 fs/reiserfs/ibalance.c internal_move_pointers_items(&dest_bi, &src_bi, LAST_TO_FIRST, dest_bi 612 fs/reiserfs/ibalance.c struct buffer_info dest_bi, src_bi; dest_bi 617 fs/reiserfs/ibalance.c &dest_bi, &src_bi, &d_key_position, &cf); dest_bi 621 fs/reiserfs/ibalance.c internal_insert_key(&dest_bi, 0, cf, d_key_position); dest_bi 624 fs/reiserfs/ibalance.c internal_move_pointers_items(&dest_bi, &src_bi, LAST_TO_FIRST, dest_bi 1043 fs/reiserfs/ibalance.c struct buffer_info dest_bi, src_bi; dest_bi 1050 fs/reiserfs/ibalance.c dest_bi.tb = tb; dest_bi 1051 fs/reiserfs/ibalance.c dest_bi.bi_bh = S_new; dest_bi 1052 fs/reiserfs/ibalance.c dest_bi.bi_parent = NULL; dest_bi 1053 fs/reiserfs/ibalance.c dest_bi.bi_position = 0; dest_bi 1068 fs/reiserfs/ibalance.c internal_move_pointers_items(&dest_bi, &src_bi, dest_bi 1081 fs/reiserfs/ibalance.c internal_move_pointers_items(&dest_bi, &src_bi, dest_bi 1089 fs/reiserfs/ibalance.c internal_insert_childs(&dest_bi, dest_bi 1102 fs/reiserfs/ibalance.c internal_move_pointers_items(&dest_bi, &src_bi, dest_bi 1108 fs/reiserfs/ibalance.c internal_insert_childs(&dest_bi, /*S_new, */ 0, k, dest_bi 15 fs/reiserfs/lbalance.c static void leaf_copy_dir_entries(struct buffer_info *dest_bi, dest_bi 19 fs/reiserfs/lbalance.c struct buffer_head *dest = dest_bi->bi_bh; dest_bi 102 fs/reiserfs/lbalance.c leaf_insert_into_buf(dest_bi, dest_bi 108 fs/reiserfs/lbalance.c leaf_paste_in_buffer(dest_bi, dest_bi 119 fs/reiserfs/lbalance.c leaf_paste_entries(dest_bi, item_num_in_dest, dest_bi 134 fs/reiserfs/lbalance.c static int leaf_copy_boundary_item(struct buffer_info *dest_bi, dest_bi 138 fs/reiserfs/lbalance.c struct buffer_head *dest = dest_bi->bi_bh; dest_bi 168 fs/reiserfs/lbalance.c leaf_copy_dir_entries(dest_bi, src, FIRST_TO_LAST, 0, 0, dest_bi 187 fs/reiserfs/lbalance.c reiserfs_panic(sb_from_bi(dest_bi), dest_bi 199 fs/reiserfs/lbalance.c leaf_paste_in_buffer(dest_bi, dest_bi 235 fs/reiserfs/lbalance.c leaf_copy_dir_entries(dest_bi, src, LAST_TO_FIRST, dest_bi 296 fs/reiserfs/lbalance.c leaf_paste_in_buffer(dest_bi, 0, 0, bytes_or_entries, dest_bi 310 fs/reiserfs/lbalance.c static void leaf_copy_items_entirely(struct buffer_info *dest_bi, dest_bi 328 fs/reiserfs/lbalance.c RFALSE(!dest_bi, "vs-10120: can not copy negative amount of items"); dest_bi 330 fs/reiserfs/lbalance.c dest = dest_bi->bi_bh; dest_bi 392 fs/reiserfs/lbalance.c do_balance_mark_leaf_dirty(dest_bi->tb, dest, 0); dest_bi 394 fs/reiserfs/lbalance.c if (dest_bi->bi_parent) { dest_bi 396 fs/reiserfs/lbalance.c t_dc = B_N_CHILD(dest_bi->bi_parent, dest_bi->bi_position); dest_bi 405 fs/reiserfs/lbalance.c do_balance_mark_internal_dirty(dest_bi->tb, dest_bi->bi_parent, dest_bi 414 fs/reiserfs/lbalance.c static void leaf_item_bottle(struct buffer_info *dest_bi, dest_bi 418 fs/reiserfs/lbalance.c struct buffer_head *dest = dest_bi->bi_bh; dest_bi 431 fs/reiserfs/lbalance.c leaf_copy_dir_entries(dest_bi, src, FIRST_TO_LAST, dest_bi 455 fs/reiserfs/lbalance.c leaf_insert_into_buf(dest_bi, B_NR_ITEMS(dest), &n_ih, dest_bi 465 fs/reiserfs/lbalance.c leaf_copy_dir_entries(dest_bi, src, LAST_TO_FIRST, dest_bi 508 fs/reiserfs/lbalance.c leaf_insert_into_buf(dest_bi, 0, &n_ih, dest_bi 521 fs/reiserfs/lbalance.c static int leaf_copy_items(struct buffer_info *dest_bi, struct buffer_head *src, dest_bi 527 fs/reiserfs/lbalance.c dest = dest_bi->bi_bh; dest_bi 551 fs/reiserfs/lbalance.c i = leaf_copy_boundary_item(dest_bi, src, FIRST_TO_LAST, bytes); dest_bi 561 fs/reiserfs/lbalance.c leaf_copy_items_entirely(dest_bi, src, FIRST_TO_LAST, dest_bi 568 fs/reiserfs/lbalance.c leaf_copy_items_entirely(dest_bi, src, FIRST_TO_LAST, dest_bi 575 fs/reiserfs/lbalance.c leaf_item_bottle(dest_bi, src, FIRST_TO_LAST, dest_bi 591 fs/reiserfs/lbalance.c i = leaf_copy_boundary_item(dest_bi, src, LAST_TO_FIRST, bytes); dest_bi 603 fs/reiserfs/lbalance.c leaf_copy_items_entirely(dest_bi, src, LAST_TO_FIRST, dest_bi 610 fs/reiserfs/lbalance.c leaf_copy_items_entirely(dest_bi, src, LAST_TO_FIRST, dest_bi 617 fs/reiserfs/lbalance.c leaf_item_bottle(dest_bi, src, LAST_TO_FIRST, pos, dest_bi 630 fs/reiserfs/lbalance.c struct buffer_info *dest_bi, dest_bi 635 fs/reiserfs/lbalance.c memset(dest_bi, 0, sizeof(struct buffer_info)); dest_bi 647 fs/reiserfs/lbalance.c dest_bi->tb = tb; dest_bi 648 fs/reiserfs/lbalance.c dest_bi->bi_bh = tb->L[0]; dest_bi 649 fs/reiserfs/lbalance.c dest_bi->bi_parent = tb->FL[0]; dest_bi 650 fs/reiserfs/lbalance.c dest_bi->bi_position = get_left_neighbor_position(tb, 0); dest_bi 659 fs/reiserfs/lbalance.c dest_bi->tb = tb; dest_bi 660 fs/reiserfs/lbalance.c dest_bi->bi_bh = tb->R[0]; dest_bi 661 fs/reiserfs/lbalance.c dest_bi->bi_parent = tb->FR[0]; dest_bi 662 fs/reiserfs/lbalance.c dest_bi->bi_position = get_right_neighbor_position(tb, 0); dest_bi 671 fs/reiserfs/lbalance.c dest_bi->tb = tb; dest_bi 672 fs/reiserfs/lbalance.c dest_bi->bi_bh = tb->L[0]; dest_bi 673 fs/reiserfs/lbalance.c dest_bi->bi_parent = tb->FL[0]; dest_bi 674 fs/reiserfs/lbalance.c dest_bi->bi_position = get_left_neighbor_position(tb, 0); dest_bi 683 fs/reiserfs/lbalance.c dest_bi->tb = tb; dest_bi 684 fs/reiserfs/lbalance.c dest_bi->bi_bh = tb->R[0]; dest_bi 685 fs/reiserfs/lbalance.c dest_bi->bi_parent = tb->FR[0]; dest_bi 686 fs/reiserfs/lbalance.c dest_bi->bi_position = get_right_neighbor_position(tb, 0); dest_bi 695 fs/reiserfs/lbalance.c dest_bi->tb = tb; dest_bi 696 fs/reiserfs/lbalance.c dest_bi->bi_bh = Snew; dest_bi 697 fs/reiserfs/lbalance.c dest_bi->bi_parent = NULL; dest_bi 698 fs/reiserfs/lbalance.c dest_bi->bi_position = 0; dest_bi 706 fs/reiserfs/lbalance.c RFALSE(!src_bi->bi_bh || !dest_bi->bi_bh, dest_bi 708 fs/reiserfs/lbalance.c shift_mode, src_bi->bi_bh, dest_bi->bi_bh); dest_bi 719 fs/reiserfs/lbalance.c struct buffer_info dest_bi, src_bi; dest_bi 722 fs/reiserfs/lbalance.c leaf_define_dest_src_infos(shift_mode, tb, &dest_bi, &src_bi, dest_bi 726 fs/reiserfs/lbalance.c leaf_copy_items(&dest_bi, src_bi.bi_bh, first_last, mov_num,