Lines Matching refs:nextindex
130 if (((P)->header.nextindex > (((BN)==0)?DTROOTMAXSLOT:(P)->header.maxslot)) ||\
640 for (base = 0, lim = p->header.nextindex; lim; lim >>= 1) { in dtSearch()
903 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - n + 1; in dtInsert()
1166 lp->header.nextindex-1, in dtSplitUp()
1260 ((sp->header.nextindex - in dtSplitUp()
1320 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local
1390 rp->header.nextindex = 0; in dtSplitPage()
1415 if (nextbn == 0 && split->index == sp->header.nextindex) { in dtSplitPage()
1484 nextindex = sp->header.nextindex; in dtSplitPage()
1485 for (nxt = off = 0; nxt < nextindex; ++off) { in dtSplitPage()
1536 sp->header.nextindex = nxt; in dtSplitPage()
1555 for (n = 0; n < rp->header.nextindex; n++) { in dtSplitPage()
1578 ((sp->header.nextindex - 1) >> L2DTSLOTSIZE) - n + 1; in dtSplitPage()
1681 for (n = 0; n < sp->header.nextindex; n++) { in dtExtendPage()
1724 sp->header.nextindex); in dtExtendPage()
1935 memcpy(stbl, sp->header.stbl, sp->header.nextindex); in dtSplitRoot()
1936 rp->header.nextindex = sp->header.nextindex; in dtSplitRoot()
1977 for (n = 0; n < rp->header.nextindex; n++) { in dtSplitRoot()
2029 sp->header.nextindex = 1; in dtSplitRoot()
2098 if (index == (p->header.nextindex - 1)) { in dtDelete()
2131 if (p->header.nextindex == 1) { in dtDelete()
2170 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - in dtDelete()
2181 if (DO_INDEX(ip) && index < p->header.nextindex) { in dtDelete()
2186 for (i = index; i < p->header.nextindex; i++) { in dtDelete()
2220 int index, nextindex; in dtDeleteUp() local
2295 nextindex = p->header.nextindex; in dtDeleteUp()
2302 if (nextindex == 1) { in dtDeleteUp()
2385 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - in dtDeleteUp()
2673 for (i = 0; i < p->header.nextindex; i++) { in dtSearchNode()
2863 p->header.nextindex = 0; in dtInitRoot()
2928 for (i = 0; i < p->header.nextindex; i++) { in add_missing_indices()
3171 for (i = index; i < p->header.nextindex; i++) { in jfs_readdir()
3418 if (index < p->header.nextindex) in dtReadNext()
3473 while (pn >= p->header.nextindex) { in dtReadNext()
3474 pn -= p->header.nextindex; in dtReadNext()
3517 if (index >= p->header.nextindex) { in dtReadNext()
3878 int hsi, fsi, klen, len, nextindex; in dtInsertEntry() local
3991 nextindex = p->header.nextindex; in dtInsertEntry()
3992 if (index < nextindex) { in dtInsertEntry()
3993 memmove(stbl + index + 1, stbl + index, nextindex - index); in dtInsertEntry()
4003 for (n = index + 1; n <= nextindex; n++) { in dtInsertEntry()
4017 ++p->header.nextindex; in dtInsertEntry()
4065 for (di = 0; si < sp->header.nextindex; si++, di++) { in dtMoveEntry()
4212 dp->header.nextindex = di; in dtMoveEntry()
4306 si = p->header.nextindex; in dtDeleteEntry()
4310 p->header.nextindex--; in dtDeleteEntry()
4585 lastindex = p->header.nextindex - 1; in dtDisplayTree()
4708 bn, p->header.flag, p->header.nextindex); in dtDisplayPage()
4712 for (i = 0, j = 1; i < p->header.nextindex; i++, j++) { in dtDisplayPage()