Lines Matching refs:tbS0
86 struct buffer_head * tbS0 = PATH_PLAST_BUFFER (tb->tb_path); in balance_leaf_when_delete() local
100 ih = B_N_PITEM_HEAD (tbS0, item_pos); in balance_leaf_when_delete()
112 bi.bi_bh = tbS0; in balance_leaf_when_delete()
118 if ( B_NR_ITEMS(tbS0) ) { in balance_leaf_when_delete()
119 replace_key(tb, tb->CFL[0],tb->lkey[0],tbS0,0); in balance_leaf_when_delete()
134 bi.bi_bh = tbS0; in balance_leaf_when_delete()
149 replace_key(tb, tb->CFL[0],tb->lkey[0],tbS0,0); in balance_leaf_when_delete()
167 n = B_NR_ITEMS(tbS0); in balance_leaf_when_delete()
183 reiserfs_invalidate_buffer (tb, tbS0); in balance_leaf_when_delete()
195 reiserfs_invalidate_buffer (tb, tbS0); in balance_leaf_when_delete()
206 reiserfs_invalidate_buffer (tb, tbS0); in balance_leaf_when_delete()
228 reiserfs_invalidate_buffer (tb, tbS0); in balance_leaf_when_delete()
236 reiserfs_invalidate_buffer (tb, tbS0); in balance_leaf_when_delete()
258 struct buffer_head * tbS0 = PATH_PLAST_BUFFER (tb->tb_path); in balance_leaf() local
290 if (flag != M_INSERT && is_indirect_le_ih (B_N_PITEM_HEAD (tbS0, item_pos))) in balance_leaf()
361 if ( is_direntry_le_ih (B_N_PITEM_HEAD (tbS0, item_pos))) { in balance_leaf()
409 RFALSE( pos_in_item != ih_item_len(B_N_PITEM_HEAD(tbS0, item_pos)), in balance_leaf()
411 ih_item_len(B_N_PITEM_HEAD(tbS0,item_pos)), pos_in_item); in balance_leaf()
427 ih_item_len(B_N_PITEM_HEAD(tbS0,item_pos))); in balance_leaf()
443 RFALSE (ih_item_len (B_N_PITEM_HEAD (tbS0, 0)), in balance_leaf()
445 RFALSE (comp_short_le_keys (B_N_PKEY (tbS0, 0), in balance_leaf()
454 version = ih_version (B_N_PITEM_HEAD (tbS0, 0)); in balance_leaf()
455 set_le_key_k_offset (version, B_N_PKEY (tbS0, 0), in balance_leaf()
456 le_key_k_offset (version, B_N_PKEY (tbS0, 0)) + temp_l); in balance_leaf()
472 (B_N_PKEY(tbS0,0), in balance_leaf()
476 (B_N_PKEY (tbS0, 0), tbS0->b_size) || in balance_leaf()
479 tbS0->b_size), in balance_leaf()
499 if ( ! item_pos && op_is_left_mergeable (B_N_PKEY (tbS0, 0), tbS0->b_size) ) in balance_leaf()
548 n = B_NR_ITEMS(tbS0); in balance_leaf()
629 if ( is_direntry_le_ih (B_N_PITEM_HEAD(tbS0, item_pos))) in balance_leaf()
635 entry_count = I_ENTRY_COUNT(B_N_PITEM_HEAD(tbS0, item_pos)); in balance_leaf()
683 RFALSE(pos_in_item != ih_item_len(B_N_PITEM_HEAD (tbS0, item_pos)), in balance_leaf()
685 pos_in_item, ih_item_len( B_N_PITEM_HEAD(tbS0,item_pos))); in balance_leaf()
811 reiserfs_invalidate_buffer(tb,tbS0); in balance_leaf()
836 n = B_NR_ITEMS(tbS0); in balance_leaf()
917 if ( is_direntry_le_ih (aux_ih = B_N_PITEM_HEAD(tbS0,item_pos))) { in balance_leaf()
959 RFALSE( pos_in_item != ih_item_len(B_N_PITEM_HEAD(tbS0,item_pos)) || in balance_leaf()
1017 struct item_head * ih = B_N_PITEM_HEAD(tbS0,item_pos); in balance_leaf()
1084 bi.bi_bh = tbS0; in balance_leaf()
1092 replace_key(tb, tb->CFL[0], tb->lkey[0],tbS0,0); in balance_leaf()
1100 pasted = B_N_PITEM_HEAD (tbS0, item_pos); in balance_leaf()
1111 bi.bi_bh = tbS0; in balance_leaf()
1125 replace_key(tb, tb->CFL[0], tb->lkey[0],tbS0,0); in balance_leaf()
1138 bi.bi_bh = tbS0; in balance_leaf()