Lines Matching refs:vn_vi
76 vn->vn_vi = (struct virtual_item *)(tb->tb_vn + 1); in create_virtual_node()
77 memset(vn->vn_vi, 0, vn->vn_nr_item * sizeof(struct virtual_item)); in create_virtual_node()
86 vn->vn_vi[0].vi_type |= VI_TYPE_LEFT_MERGEABLE; in create_virtual_node()
94 struct virtual_item *vi = vn->vn_vi + new_num; in create_virtual_node()
125 vn->vn_vi[new_num].vi_item_len += tb->insert_size[0]; in create_virtual_node()
133 struct virtual_item *vi = vn->vn_vi + vn->vn_affected_item_num; in create_virtual_node()
157 vn->vn_vi[vn->vn_nr_item - 1].vi_type |= in create_virtual_node()
221 vi = vn->vn_vi; in check_left()
307 vi = vn->vn_vi + vn->vn_nr_item - 1; in check_right()
458 struct virtual_item *vi = vn->vn_vi + i; in get_num_ver()
566 op_unit_num(&vn->vn_vi[split_item_num]) - snum012[4] - in get_num_ver()
569 if (vn->vn_vi[split_item_num].vi_index != TYPE_DIRENTRY && in get_num_ver()
570 vn->vn_vi[split_item_num].vi_index != TYPE_INDIRECT) in get_num_ver()
594 op_unit_num(&vn->vn_vi[split_item_num]) - snum012[3] - in get_num_ver()
684 size = op_unit_num(&vn->vn_vi[to_left]); in is_leaf_removable()
706 if (vn->vn_vi[0].vi_type & VI_TYPE_LEFT_MERGEABLE) in are_leaves_removable()
709 if (vn->vn_vi[vn->vn_nr_item - 1]. in are_leaves_removable()