• Home
  • Raw
  • Download

Lines Matching refs:nextindex

131 		if (((P)->header.nextindex > (((BN)==0)?DTROOTMAXSLOT:(P)->header.maxslot)) ||\
644 for (base = 0, lim = p->header.nextindex; lim; lim >>= 1) { in dtSearch()
907 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - n + 1; in dtInsert()
1187 lp->header.nextindex-1, in dtSplitUp()
1281 ((sp->header.nextindex - in dtSplitUp()
1344 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local
1420 rp->header.nextindex = 0; in dtSplitPage()
1445 if (nextbn == 0 && split->index == sp->header.nextindex) { in dtSplitPage()
1514 nextindex = sp->header.nextindex; in dtSplitPage()
1515 for (nxt = off = 0; nxt < nextindex; ++off) { in dtSplitPage()
1566 sp->header.nextindex = nxt; in dtSplitPage()
1585 for (n = 0; n < rp->header.nextindex; n++) { in dtSplitPage()
1608 ((sp->header.nextindex - 1) >> L2DTSLOTSIZE) - n + 1; in dtSplitPage()
1709 for (n = 0; n < sp->header.nextindex; n++) { in dtExtendPage()
1749 sp->header.nextindex); in dtExtendPage()
1956 memcpy(stbl, sp->header.stbl, sp->header.nextindex); in dtSplitRoot()
1957 rp->header.nextindex = sp->header.nextindex; in dtSplitRoot()
1998 for (n = 0; n < rp->header.nextindex; n++) { in dtSplitRoot()
2050 sp->header.nextindex = 1; in dtSplitRoot()
2118 if (index == (p->header.nextindex - 1)) { in dtDelete()
2151 if (p->header.nextindex == 1) { in dtDelete()
2190 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - in dtDelete()
2201 if (DO_INDEX(ip) && index < p->header.nextindex) { in dtDelete()
2206 for (i = index; i < p->header.nextindex; i++) { in dtDelete()
2240 int index, nextindex; in dtDeleteUp() local
2317 nextindex = p->header.nextindex; in dtDeleteUp()
2324 if (nextindex == 1) { in dtDeleteUp()
2409 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - in dtDeleteUp()
2698 for (i = 0; i < p->header.nextindex; i++) { in dtSearchNode()
2888 p->header.nextindex = 0; in dtInitRoot()
2948 for (i = 0; i < p->header.nextindex; i++) { in add_missing_indices()
3191 for (i = index; i < p->header.nextindex; i++) { in jfs_readdir()
3438 if (index < p->header.nextindex) in dtReadNext()
3493 while (pn >= p->header.nextindex) { in dtReadNext()
3494 pn -= p->header.nextindex; in dtReadNext()
3537 if (index >= p->header.nextindex) { in dtReadNext()
3901 int hsi, fsi, klen, len, nextindex; in dtInsertEntry() local
4015 nextindex = p->header.nextindex; in dtInsertEntry()
4016 if (index < nextindex) { in dtInsertEntry()
4017 memmove(stbl + index + 1, stbl + index, nextindex - index); in dtInsertEntry()
4027 for (n = index + 1; n <= nextindex; n++) { in dtInsertEntry()
4041 ++p->header.nextindex; in dtInsertEntry()
4089 for (di = 0; si < sp->header.nextindex; si++, di++) { in dtMoveEntry()
4236 dp->header.nextindex = di; in dtMoveEntry()
4330 si = p->header.nextindex; in dtDeleteEntry()
4334 p->header.nextindex--; in dtDeleteEntry()