Lines Matching refs:bi
593 struct buffer_info bi; in balance_internal_when_delete() local
598 bi.tb = tb; in balance_internal_when_delete()
599 bi.bi_bh = tbSh; in balance_internal_when_delete()
600 bi.bi_parent = PATH_H_PPARENT (tb->tb_path, h); in balance_internal_when_delete()
601 bi.bi_position = PATH_H_POSITION (tb->tb_path, h + 1); in balance_internal_when_delete()
603 internal_delete_childs (&bi, child_pos, -insert_num); in balance_internal_when_delete()
617 RFALSE( bi.bi_parent, "root has parent (%p)", bi.bi_parent); in balance_internal_when_delete()
762 struct buffer_info bi; in balance_internal() local
812 bi.tb = tb; in balance_internal()
813 bi.bi_bh = tb->L[h]; in balance_internal()
814 bi.bi_parent = tb->FL[h]; in balance_internal()
815 bi.bi_position = get_left_neighbor_position (tb, h); in balance_internal()
816 internal_insert_childs (&bi,/*tb->L[h], tb->S[h-1]->b_next*/ n + child_pos + 1, in balance_internal()
827 bi.tb = tb; in balance_internal()
828 bi.bi_bh = tb->L[h]; in balance_internal()
829 bi.bi_parent = tb->FL[h]; in balance_internal()
830 bi.bi_position = get_left_neighbor_position (tb, h); in balance_internal()
831 internal_insert_childs (&bi,/*tb->L[h], tb->S[h-1]->b_next,*/ n + child_pos + 1,k, in balance_internal()
868 bi.tb = tb; in balance_internal()
869 bi.bi_bh = tb->R[h]; in balance_internal()
870 bi.bi_parent = tb->FR[h]; in balance_internal()
871 bi.bi_position = get_right_neighbor_position (tb, h); in balance_internal()
872 …internal_insert_childs (&bi, /*tb->R[h],tb->S[h-1]->b_next*/ child_pos - n - insert_num + tb->rnum… in balance_internal()
884 bi.tb = tb; in balance_internal()
885 bi.bi_bh = tb->R[h]; in balance_internal()
886 bi.bi_parent = tb->FR[h]; in balance_internal()
887 bi.bi_position = get_right_neighbor_position (tb, h); in balance_internal()
888 …internal_insert_childs (&bi, /*tb->R[h], tb->R[h]->b_child,*/ 0, k, insert_key + 1, insert_ptr + 1… in balance_internal()
1041 bi.tb = tb; in balance_internal()
1042 bi.bi_bh = tbSh; in balance_internal()
1043 bi.bi_parent = PATH_H_PPARENT (tb->tb_path, h); in balance_internal()
1044 bi.bi_position = PATH_H_POSITION (tb->tb_path, h + 1); in balance_internal()
1046 &bi,/*tbSh,*/ in balance_internal()