Lines Matching refs:tbSh
637 struct buffer_head *tbSh = PATH_H_PBUFFER(tb->tb_path, h); in balance_internal_when_delete() local
644 bi.bi_bh = tbSh; in balance_internal_when_delete()
653 n = B_NR_ITEMS(tbSh); in balance_internal_when_delete()
661 || B_FREE_SPACE(tbSh) != in balance_internal_when_delete()
662 MAX_CHILD_SIZE(tbSh) - DC_SIZE, in balance_internal_when_delete()
690 reiserfs_invalidate_buffer(tb, tbSh); in balance_internal_when_delete()
704 reiserfs_invalidate_buffer(tb, tbSh); in balance_internal_when_delete()
717 reiserfs_invalidate_buffer(tb, tbSh); in balance_internal_when_delete()
750 reiserfs_invalidate_buffer(tb, tbSh); in balance_internal_when_delete()
811 struct buffer_head *tbSh = PATH_H_PBUFFER(tb->tb_path, h); in balance_internal() local
830 (tbSh) ? PATH_H_POSITION(tb->tb_path, in balance_internal()
907 dc = B_N_CHILD(tbSh, 0); in balance_internal()
913 do_balance_mark_internal_dirty(tb, tbSh, 0); in balance_internal()
929 n = B_NR_ITEMS(tbSh); /* number of items in S[h] */ in balance_internal()
994 RFALSE(!tbSh, "S[h] is equal NULL"); in balance_internal()
997 reiserfs_invalidate_buffer(tb, tbSh); in balance_internal()
1001 if (!tbSh) { in balance_internal()
1011 tbSh = get_FEB(tb); in balance_internal()
1012 blkh = B_BLK_HEAD(tbSh); in balance_internal()
1017 dc = B_N_CHILD(tbSh, 0); in balance_internal()
1025 do_balance_mark_internal_dirty(tb, tbSh, 0); in balance_internal()
1028 check_internal(tbSh); in balance_internal()
1033 tbSh; in balance_internal()
1036 PUT_SB_ROOT_BLOCK(tb->tb_sb, tbSh->b_blocknr); in balance_internal()
1055 src_bi.bi_bh = tbSh; in balance_internal()
1059 n = B_NR_ITEMS(tbSh); /* number of items in S[h] */ in balance_internal()
1065 memcpy(&new_insert_key, internal_key(tbSh, n - snum), in balance_internal()
1078 internal_key(tbSh, n + insert_num - snum), in balance_internal()
1143 n = B_NR_ITEMS(tbSh); /*number of items in S[h] */ in balance_internal()
1147 bi.bi_bh = tbSh; in balance_internal()