Lines Matching refs:bi
663 static void leaf_delete_items_entirely (struct buffer_info * bi,
730 void leaf_insert_into_buf (struct buffer_info * bi, int before, in leaf_insert_into_buf() argument
735 struct buffer_head * bh = bi->bi_bh; in leaf_insert_into_buf()
793 do_balance_mark_leaf_dirty (bi->tb, bh, 1); in leaf_insert_into_buf()
795 if (bi->bi_parent) { in leaf_insert_into_buf()
797 t_dc = B_N_CHILD (bi->bi_parent, bi->bi_position); in leaf_insert_into_buf()
799 do_balance_mark_internal_dirty (bi->tb, bi->bi_parent, 0); in leaf_insert_into_buf()
806 void leaf_paste_in_buffer (struct buffer_info * bi, int affected_item_num, in leaf_paste_in_buffer() argument
811 struct buffer_head * bh = bi->bi_bh; in leaf_paste_in_buffer()
876 do_balance_mark_leaf_dirty (bi->tb, bh, 0); in leaf_paste_in_buffer()
878 if (bi->bi_parent) { in leaf_paste_in_buffer()
879 struct disk_child *t_dc = B_N_CHILD (bi->bi_parent, bi->bi_position); in leaf_paste_in_buffer()
881 do_balance_mark_internal_dirty (bi->tb, bi->bi_parent, 0); in leaf_paste_in_buffer()
961 void leaf_cut_from_buffer (struct buffer_info * bi, int cut_item_num, in leaf_cut_from_buffer() argument
965 struct buffer_head * bh = bi->bi_bh; in leaf_cut_from_buffer()
1040 do_balance_mark_leaf_dirty (bi->tb, bh, 0); in leaf_cut_from_buffer()
1042 if (bi->bi_parent) { in leaf_cut_from_buffer()
1044 t_dc = B_N_CHILD (bi->bi_parent, bi->bi_position); in leaf_cut_from_buffer()
1046 do_balance_mark_internal_dirty (bi->tb, bi->bi_parent, 0); in leaf_cut_from_buffer()
1052 static void leaf_delete_items_entirely (struct buffer_info * bi, in leaf_delete_items_entirely() argument
1055 struct buffer_head * bh = bi->bi_bh; in leaf_delete_items_entirely()
1076 make_empty_node (bi); in leaf_delete_items_entirely()
1078 do_balance_mark_leaf_dirty (bi->tb, bh, 0); in leaf_delete_items_entirely()
1105 do_balance_mark_leaf_dirty (bi->tb, bh, 0); in leaf_delete_items_entirely()
1107 if (bi->bi_parent) { in leaf_delete_items_entirely()
1108 struct disk_child *t_dc = B_N_CHILD (bi->bi_parent, bi->bi_position); in leaf_delete_items_entirely()
1111 do_balance_mark_internal_dirty (bi->tb, bi->bi_parent, 0); in leaf_delete_items_entirely()