Lines Matching refs:nextindex
132 if (((P)->header.nextindex > (((BN)==0)?DTROOTMAXSLOT:(P)->header.maxslot)) ||\
645 for (base = 0, lim = p->header.nextindex; lim; lim >>= 1) { in dtSearch()
908 ((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
1421 rp->header.nextindex = 0; in dtSplitPage()
1446 if (nextbn == 0 && split->index == sp->header.nextindex) { in dtSplitPage()
1515 nextindex = sp->header.nextindex; in dtSplitPage()
1516 for (nxt = off = 0; nxt < nextindex; ++off) { in dtSplitPage()
1567 sp->header.nextindex = nxt; in dtSplitPage()
1586 for (n = 0; n < rp->header.nextindex; n++) { in dtSplitPage()
1609 ((sp->header.nextindex - 1) >> L2DTSLOTSIZE) - n + 1; in dtSplitPage()
1710 for (n = 0; n < sp->header.nextindex; n++) { in dtExtendPage()
1750 sp->header.nextindex); in dtExtendPage()
1959 memcpy(stbl, sp->header.stbl, sp->header.nextindex); in dtSplitRoot()
1960 rp->header.nextindex = sp->header.nextindex; in dtSplitRoot()
2001 for (n = 0; n < rp->header.nextindex; n++) { in dtSplitRoot()
2053 sp->header.nextindex = 1; in dtSplitRoot()
2121 if (index == (p->header.nextindex - 1)) { in dtDelete()
2154 if (p->header.nextindex == 1) { in dtDelete()
2193 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - in dtDelete()
2204 if (DO_INDEX(ip) && index < p->header.nextindex) { in dtDelete()
2209 for (i = index; i < p->header.nextindex; i++) { in dtDelete()
2243 int index, nextindex; in dtDeleteUp() local
2320 nextindex = p->header.nextindex; in dtDeleteUp()
2327 if (nextindex == 1) { in dtDeleteUp()
2412 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - in dtDeleteUp()
2701 for (i = 0; i < p->header.nextindex; i++) { in dtSearchNode()
2891 p->header.nextindex = 0; in dtInitRoot()
2951 for (i = 0; i < p->header.nextindex; i++) { in add_missing_indices()
3203 for (i = index; i < p->header.nextindex; i++) { in jfs_readdir()
3456 if (index < p->header.nextindex) in dtReadNext()
3511 while (pn >= p->header.nextindex) { in dtReadNext()
3512 pn -= p->header.nextindex; in dtReadNext()
3555 if (index >= p->header.nextindex) { in dtReadNext()
3919 int hsi, fsi, klen, len, nextindex; in dtInsertEntry() local
4033 nextindex = p->header.nextindex; in dtInsertEntry()
4034 if (index < nextindex) { in dtInsertEntry()
4035 memmove(stbl + index + 1, stbl + index, nextindex - index); in dtInsertEntry()
4045 for (n = index + 1; n <= nextindex; n++) { in dtInsertEntry()
4059 ++p->header.nextindex; in dtInsertEntry()
4107 for (di = 0; si < sp->header.nextindex; si++, di++) { in dtMoveEntry()
4254 dp->header.nextindex = di; in dtMoveEntry()
4348 si = p->header.nextindex; in dtDeleteEntry()
4352 p->header.nextindex--; in dtDeleteEntry()