Home
last modified time | relevance | path

Searched refs:vn_nr_item (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/fs/reiserfs/
Dfix_node.c94 vn->vn_nr_item = (vn->vn_size - DC_SIZE) / (DC_SIZE + KEY_SIZE); in create_virtual_node()
99 …vn->vn_nr_item = B_NR_ITEMS (Sh) + ((vn->vn_mode == M_INSERT)? 1 : 0) - ((vn->vn_mode == M_DELETE)… in create_virtual_node()
103 memset (vn->vn_vi, 0, vn->vn_nr_item * sizeof (struct virtual_item)); in create_virtual_node()
104 vn->vn_free_ptr += vn->vn_nr_item * sizeof (struct virtual_item); in create_virtual_node()
115 for (new_num = 0; new_num < vn->vn_nr_item; new_num ++) { in create_virtual_node()
171 vn->vn_vi[vn->vn_nr_item-1].vi_type |= VI_TYPE_RIGHT_MERGEABLE; in create_virtual_node()
212 if (!cur_free || !vn->vn_nr_item) { in check_left()
229 tb->lnum[0] = vn->vn_nr_item; in check_left()
242 for (i = 0; i < vn->vn_nr_item; i ++, ih_size = IH_SIZE, d_size = 0, vi ++) { in check_left()
291 if (!cur_free || !vn->vn_nr_item) { in check_right()
[all …]
Dprints.c355 vn->vn_nr_item, vn->vn_size, in print_virtual_node()
357 (vn->vn_vi[vn->vn_nr_item - 1].vi_type & VI_TYPE_RIGHT_MERGEABLE) ? "right mergeable" : "", in print_virtual_node()
361 for (i = 0; i < vn->vn_nr_item; i ++, vi ++) in print_virtual_node()
/linux-2.4.37.9/include/linux/
Dreiserfs_fs.h1370 unsigned short vn_nr_item; /* number of items in virtual node */ member