vn_nr_item 66 fs/reiserfs/fix_node.c vn->vn_nr_item = (vn->vn_size - DC_SIZE) / (DC_SIZE + KEY_SIZE); vn_nr_item 71 fs/reiserfs/fix_node.c vn->vn_nr_item = vn_nr_item 77 fs/reiserfs/fix_node.c memset(vn->vn_vi, 0, vn->vn_nr_item * sizeof(struct virtual_item)); vn_nr_item 78 fs/reiserfs/fix_node.c vn->vn_free_ptr += vn->vn_nr_item * sizeof(struct virtual_item); vn_nr_item 92 fs/reiserfs/fix_node.c for (new_num = 0; new_num < vn->vn_nr_item; new_num++) { vn_nr_item 157 fs/reiserfs/fix_node.c vn->vn_vi[vn->vn_nr_item - 1].vi_type |= vn_nr_item 211 fs/reiserfs/fix_node.c if (!cur_free || !vn->vn_nr_item) { vn_nr_item 230 fs/reiserfs/fix_node.c tb->lnum[0] = vn->vn_nr_item; vn_nr_item 242 fs/reiserfs/fix_node.c for (i = 0; i < vn->vn_nr_item; vn_nr_item 297 fs/reiserfs/fix_node.c if (!cur_free || !vn->vn_nr_item) { vn_nr_item 307 fs/reiserfs/fix_node.c vi = vn->vn_vi + vn->vn_nr_item - 1; vn_nr_item 316 fs/reiserfs/fix_node.c tb->rnum[h] = vn->vn_nr_item; vn_nr_item 328 fs/reiserfs/fix_node.c for (i = vn->vn_nr_item - 1; i >= 0; vn_nr_item 447 fs/reiserfs/fix_node.c end_item = vn->vn_nr_item - to - 1; vn_nr_item 665 fs/reiserfs/fix_node.c remain_items = vn->vn_nr_item; vn_nr_item 672 fs/reiserfs/fix_node.c set_parameters(tb, 0, to_left, vn->vn_nr_item - to_left, 0, vn_nr_item 705 fs/reiserfs/fix_node.c if (vn->vn_nr_item) { vn_nr_item 709 fs/reiserfs/fix_node.c if (vn->vn_vi[vn->vn_nr_item - 1]. vn_nr_item 763 fs/reiserfs/fix_node.c to_l = (MAX_NR_KEY(Sh)+1 - lpar + vn->vn_nr_item + 1) / 2 -\ vn_nr_item 783 fs/reiserfs/fix_node.c to_r = (MAX_NR_KEY(Sh)+1 - rpar + vn->vn_nr_item + 1) / 2 - (MAX_NR_KEY(Sh) + 1 - rpar);\ vn_nr_item 1434 fs/reiserfs/fix_node.c if (h && (tb->rnum[h] + tb->lnum[h] >= vn->vn_nr_item + 1)) { vn_nr_item 1447 fs/reiserfs/fix_node.c vn->vn_nr_item + 1) / 2 - (MAX_NR_KEY(Sh) + 1 - vn_nr_item 1449 fs/reiserfs/fix_node.c set_parameters(tb, h, vn->vn_nr_item + 1 - to_r, to_r, 0, NULL, vn_nr_item 1459 fs/reiserfs/fix_node.c (tb->lnum[h] >= vn->vn_nr_item + 1 || vn_nr_item 1460 fs/reiserfs/fix_node.c tb->rnum[h] >= vn->vn_nr_item + 1), vn_nr_item 1462 fs/reiserfs/fix_node.c RFALSE(!h && ((tb->lnum[h] >= vn->vn_nr_item && (tb->lbytes == -1)) || vn_nr_item 1463 fs/reiserfs/fix_node.c (tb->rnum[h] >= vn->vn_nr_item && (tb->rbytes == -1))), vn_nr_item 1483 fs/reiserfs/fix_node.c tb->s0num = vn->vn_nr_item; vn_nr_item 1524 fs/reiserfs/fix_node.c 0, -1, h ? vn->vn_nr_item : 0, -1, vn_nr_item 1552 fs/reiserfs/fix_node.c -1, h ? vn->vn_nr_item : 0, -1, vn_nr_item 1577 fs/reiserfs/fix_node.c h ? (vn->vn_nr_item - rpar) : (rpar - vn_nr_item 1608 fs/reiserfs/fix_node.c h ? (vn->vn_nr_item - rpar) : (rpar - vn_nr_item 1751 fs/reiserfs/fix_node.c if (vn->vn_nr_item > 0) { vn_nr_item 1779 fs/reiserfs/fix_node.c if (vn->vn_nr_item >= MIN_NR_KEY(Sh)) { vn_nr_item 1784 fs/reiserfs/fix_node.c if (vn->vn_nr_item == MIN_NR_KEY(Sh)) { vn_nr_item 1786 fs/reiserfs/fix_node.c if (tb->lnum[h] >= vn->vn_nr_item + 1) { vn_nr_item 1803 fs/reiserfs/fix_node.c if (tb->rnum[h] >= vn->vn_nr_item + 1) { vn_nr_item 1824 fs/reiserfs/fix_node.c if (tb->rnum[h] + tb->lnum[h] >= vn->vn_nr_item + 1) { vn_nr_item 1829 fs/reiserfs/fix_node.c tb->rnum[h] + vn->vn_nr_item + 1) / 2 - vn_nr_item 1831 fs/reiserfs/fix_node.c set_parameters(tb, h, vn->vn_nr_item + 1 - to_r, to_r, vn_nr_item 1846 fs/reiserfs/fix_node.c if (tb->lnum[h] >= vn->vn_nr_item + 1) vn_nr_item 1848 fs/reiserfs/fix_node.c || tb->rnum[h] < vn->vn_nr_item + 1 || !tb->FR[h]) { vn_nr_item 1864 fs/reiserfs/fix_node.c if (tb->rnum[h] >= vn->vn_nr_item + 1) { vn_nr_item 1879 fs/reiserfs/fix_node.c if (tb->rnum[h] + tb->lnum[h] >= vn->vn_nr_item + 1) { vn_nr_item 1884 fs/reiserfs/fix_node.c vn->vn_nr_item + 1) / 2 - (MAX_NR_KEY(Sh) + 1 - vn_nr_item 1886 fs/reiserfs/fix_node.c set_parameters(tb, h, vn->vn_nr_item + 1 - to_r, to_r, 0, NULL, vn_nr_item 1899 fs/reiserfs/fix_node.c (MAX_NR_KEY(Sh) + 1 - tb->lnum[h] + vn->vn_nr_item + vn_nr_item 1900 fs/reiserfs/fix_node.c 1) / 2 - (vn->vn_nr_item + 1); vn_nr_item 1906 fs/reiserfs/fix_node.c -((MAX_NR_KEY(Sh) + 1 - tb->rnum[h] + vn->vn_nr_item + vn_nr_item 1907 fs/reiserfs/fix_node.c 1) / 2 - (vn->vn_nr_item + 1)), 1, NULL, -1, -1); vn_nr_item 1986 fs/reiserfs/fix_node.c if (tb->lnum[0] >= vn->vn_nr_item && tb->lbytes == -1) vn_nr_item 1987 fs/reiserfs/fix_node.c if (is_left_neighbor_in_cache(tb, h) || ((tb->rnum[0] - ((tb->rbytes == -1) ? 0 : 1)) < vn->vn_nr_item) || /* S can not be merged with R */ vn_nr_item 1999 fs/reiserfs/fix_node.c if (tb->rnum[0] >= vn->vn_nr_item && tb->rbytes == -1) { vn_nr_item 2012 fs/reiserfs/fix_node.c tb->s0num = vn->vn_nr_item; vn_nr_item 2353 fs/reiserfs/reiserfs.h unsigned short vn_nr_item; /* number of items in virtual node */