Lines Matching refs:tbS0

79 	struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path);  in balance_leaf_when_delete_del()  local
83 struct item_head *ih = item_head(tbS0, item_pos); in balance_leaf_when_delete_del()
94 if (B_NR_ITEMS(tbS0)) { in balance_leaf_when_delete_del()
95 replace_key(tb, tb->CFL[0], tb->lkey[0], tbS0, 0); in balance_leaf_when_delete_del()
111 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_when_delete_cut() local
113 struct item_head *ih = item_head(tbS0, item_pos); in balance_leaf_when_delete_cut()
135 replace_key(tb, tb->CFL[0], tb->lkey[0], tbS0, 0); in balance_leaf_when_delete_cut()
148 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_when_delete_left() local
149 int n = B_NR_ITEMS(tbS0); in balance_leaf_when_delete_left()
171 reiserfs_invalidate_buffer(tb, tbS0); in balance_leaf_when_delete_left()
185 reiserfs_invalidate_buffer(tb, tbS0); in balance_leaf_when_delete_left()
196 reiserfs_invalidate_buffer(tb, tbS0); in balance_leaf_when_delete_left()
225 reiserfs_invalidate_buffer(tb, tbS0); in balance_leaf_when_delete_left()
241 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_when_delete() local
267 n = B_NR_ITEMS(tbS0); in balance_leaf_when_delete()
277 reiserfs_invalidate_buffer(tb, tbS0); in balance_leaf_when_delete()
417 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_paste_left_shift() local
422 if (is_direntry_le_ih(item_head(tbS0, tb->item_pos))) { in balance_leaf_paste_left_shift()
430 RFALSE(tb->pos_in_item != ih_item_len(item_head(tbS0, tb->item_pos)), in balance_leaf_paste_left_shift()
433 ih_item_len(item_head(tbS0, tb->item_pos)), tb->pos_in_item); in balance_leaf_paste_left_shift()
442 tbS0_pos_ih = item_head(tbS0, tb->item_pos); in balance_leaf_paste_left_shift()
443 tbS0_0_ih = item_head(tbS0, 0); in balance_leaf_paste_left_shift()
507 !op_is_left_mergeable(leaf_key(tbS0, 0), tbS0->b_size) || in balance_leaf_paste_left_shift()
508 !op_is_left_mergeable(left_delim_key, tbS0->b_size), in balance_leaf_paste_left_shift()
536 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_paste_left_whole() local
544 op_is_left_mergeable(leaf_key(tbS0, 0), tbS0->b_size)) { in balance_leaf_paste_left_whole()
626 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_insert_right() local
627 int n = B_NR_ITEMS(tbS0); in balance_leaf_insert_right()
711 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_paste_right_shift_dirent() local
717 entry_count = ih_entry_count(item_head(tbS0, tb->item_pos)); in balance_leaf_paste_right_shift_dirent()
762 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_paste_right_shift() local
769 if (is_direntry_le_ih(item_head(tbS0, tb->item_pos))) { in balance_leaf_paste_right_shift()
784 RFALSE(tb->pos_in_item != ih_item_len(item_head(tbS0, tb->item_pos)), in balance_leaf_paste_right_shift()
787 ih_item_len(item_head(tbS0, tb->item_pos))); in balance_leaf_paste_right_shift()
840 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_paste_right_whole() local
841 int n = B_NR_ITEMS(tbS0); in balance_leaf_paste_right_whole()
884 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_paste_right() local
885 int n = B_NR_ITEMS(tbS0); in balance_leaf_paste_right()
926 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_new_nodes_insert() local
927 int n = B_NR_ITEMS(tbS0); in balance_leaf_new_nodes_insert()
1016 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_new_nodes_paste_dirent() local
1017 struct item_head *aux_ih = item_head(tbS0, tb->item_pos); in balance_leaf_new_nodes_paste_dirent()
1071 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_new_nodes_paste_shift() local
1072 struct item_head *aux_ih = item_head(tbS0, tb->item_pos); in balance_leaf_new_nodes_paste_shift()
1089 RFALSE(tb->pos_in_item != ih_item_len(item_head(tbS0, tb->item_pos)) || in balance_leaf_new_nodes_paste_shift()
1145 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_new_nodes_paste_whole() local
1146 int n = B_NR_ITEMS(tbS0); in balance_leaf_new_nodes_paste_whole()
1152 struct item_head *ih_check = item_head(tbS0, tb->item_pos); in balance_leaf_new_nodes_paste_whole()
1197 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_new_nodes_paste() local
1198 int n = B_NR_ITEMS(tbS0); in balance_leaf_new_nodes_paste()
1264 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_finish_node_insert() local
1272 replace_key(tb, tb->CFL[0], tb->lkey[0], tbS0, 0); in balance_leaf_finish_node_insert()
1281 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_finish_node_paste_dirent() local
1282 struct item_head *pasted = item_head(tbS0, tb->item_pos); in balance_leaf_finish_node_paste_dirent()
1304 tbS0, 0); in balance_leaf_finish_node_paste_dirent()
1315 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_finish_node_paste() local
1317 struct item_head *pasted = item_head(tbS0, tb->item_pos); in balance_leaf_finish_node_paste()
1387 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf() local
1406 && is_indirect_le_ih(item_head(tbS0, tb->item_pos))) in balance_leaf()
1446 reiserfs_invalidate_buffer(tb, tbS0); in balance_leaf()