Home
last modified time | relevance | path

Searched refs:tb_path (Results 1 – 7 of 7) sorted by relevance

/fs/reiserfs/
Ddo_balan.c41 bi->bi_bh = PATH_PLAST_BUFFER(tb->tb_path); in buffer_info_init_tbS0()
42 bi->bi_parent = PATH_H_PPARENT(tb->tb_path, 0); in buffer_info_init_tbS0()
43 bi->bi_position = PATH_H_POSITION(tb->tb_path, 1); in buffer_info_init_tbS0()
79 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_when_delete_del()
80 int item_pos = PATH_LAST_POSITION(tb->tb_path); in balance_leaf_when_delete_del()
97 if (!PATH_H_POSITION(tb->tb_path, 1)) in balance_leaf_when_delete_del()
99 PATH_H_PPARENT(tb->tb_path, 0), 0); in balance_leaf_when_delete_del()
111 struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path); in balance_leaf_when_delete_cut()
112 int item_pos = PATH_LAST_POSITION(tb->tb_path); in balance_leaf_when_delete_cut()
114 int pos_in_item = tb->tb_path->pos_in_item; in balance_leaf_when_delete_cut()
[all …]
Dfix_node.c58 Sh = PATH_H_PBUFFER(tb->tb_path, h); in create_virtual_node()
218 RFALSE(!PATH_H_PPARENT(tb->tb_path, 0), in check_left()
304 RFALSE(!PATH_H_PPARENT(tb->tb_path, 0), in check_right()
420 max_node_size = MAX_CHILD_SIZE(PATH_H_PBUFFER(tb->tb_path, h)); in get_num_ver()
702 S0 = PATH_H_PBUFFER(tb->tb_path, 0); in are_leaves_removable()
801 pathrelse(tb->tb_path); in free_buffers_in_tb()
829 struct buffer_head *new_bh, *Sh = PATH_H_PBUFFER(tb->tb_path, h); in get_empty_nodes()
920 if ((f = PATH_H_PPARENT(tb->tb_path, h)) == NULL || in get_lfree()
925 order = PATH_H_B_ITEM_ORDER(tb->tb_path, h) - 1; in get_lfree()
943 if ((f = PATH_H_PPARENT(tb->tb_path, h)) == NULL || in get_rfree()
[all …]
Dibalance.c42 src_bi->bi_bh = PATH_H_PBUFFER(tb->tb_path, h); in internal_define_dest_src_infos()
43 src_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, h); in internal_define_dest_src_infos()
44 src_bi->bi_position = PATH_H_POSITION(tb->tb_path, h + 1); in internal_define_dest_src_infos()
58 dest_bi->bi_bh = PATH_H_PBUFFER(tb->tb_path, h); in internal_define_dest_src_infos()
59 dest_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, h); in internal_define_dest_src_infos()
61 dest_bi->bi_position = PATH_H_POSITION(tb->tb_path, h + 1); in internal_define_dest_src_infos()
73 dest_bi->bi_bh = PATH_H_PBUFFER(tb->tb_path, h); in internal_define_dest_src_infos()
74 dest_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, h); in internal_define_dest_src_infos()
75 dest_bi->bi_position = PATH_H_POSITION(tb->tb_path, h + 1); in internal_define_dest_src_infos()
82 src_bi->bi_bh = PATH_H_PBUFFER(tb->tb_path, h); in internal_define_dest_src_infos()
[all …]
Dlbalance.c642 src_bi->bi_bh = PATH_PLAST_BUFFER(tb->tb_path); in leaf_define_dest_src_infos()
643 src_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, 0); in leaf_define_dest_src_infos()
646 src_bi->bi_position = PATH_H_B_ITEM_ORDER(tb->tb_path, 0); in leaf_define_dest_src_infos()
656 src_bi->bi_bh = PATH_PLAST_BUFFER(tb->tb_path); in leaf_define_dest_src_infos()
657 src_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, 0); in leaf_define_dest_src_infos()
658 src_bi->bi_position = PATH_H_B_ITEM_ORDER(tb->tb_path, 0); in leaf_define_dest_src_infos()
692 src_bi->bi_bh = PATH_PLAST_BUFFER(tb->tb_path); in leaf_define_dest_src_infos()
693 src_bi->bi_parent = PATH_H_PPARENT(tb->tb_path, 0); in leaf_define_dest_src_infos()
694 src_bi->bi_position = PATH_H_B_ITEM_ORDER(tb->tb_path, 0); in leaf_define_dest_src_infos()
743 struct buffer_head *S0 = PATH_PLAST_BUFFER(tb->tb_path); in leaf_shift_left()
[all …]
Dprints.c655 tb->tb_mode, PATH_LAST_POSITION(tb->tb_path), in store_print_tb()
656 tb->tb_path->pos_in_item); in store_print_tb()
659 if (PATH_H_PATH_OFFSET(tb->tb_path, h) <= in store_print_tb()
660 tb->tb_path->path_length in store_print_tb()
661 && PATH_H_PATH_OFFSET(tb->tb_path, in store_print_tb()
663 tbSh = PATH_H_PBUFFER(tb->tb_path, h); in store_print_tb()
664 tbFh = PATH_H_PPARENT(tb->tb_path, h); in store_print_tb()
Dstree.c1167 struct item_head *p_le_ih = tp_item_head(tb->tb_path); in calc_deleted_bytes_number()
1186 (PATH_PLAST_BUFFER(tb->tb_path)->b_size); in calc_deleted_bytes_number()
1201 tb->tb_path = path; in init_tb_struct()
1791 p_le_ih = tp_item_head(s_cut_balance.tb_path); in reiserfs_cut_from_item()
1806 tp_item_head(s_cut_balance.tb_path); in reiserfs_cut_from_item()
Dreiserfs.h2408 struct treepath *tb_path; member
3336 .path = tb->tb_path, in reiserfs_new_form_blocknrs()