Lines Matching refs:nextindex
118 if (((P)->header.nextindex > \
633 for (base = 0, lim = p->header.nextindex; lim; lim >>= 1) { in dtSearch()
896 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - n + 1; in dtInsert()
1175 lp->header.nextindex-1, in dtSplitUp()
1269 ((sp->header.nextindex - in dtSplitUp()
1332 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local
1409 rp->header.nextindex = 0; in dtSplitPage()
1434 if (nextbn == 0 && split->index == sp->header.nextindex) { in dtSplitPage()
1503 nextindex = sp->header.nextindex; in dtSplitPage()
1504 for (nxt = off = 0; nxt < nextindex; ++off) { in dtSplitPage()
1555 sp->header.nextindex = nxt; in dtSplitPage()
1574 for (n = 0; n < rp->header.nextindex; n++) { in dtSplitPage()
1597 ((sp->header.nextindex - 1) >> L2DTSLOTSIZE) - n + 1; in dtSplitPage()
1698 for (n = 0; n < sp->header.nextindex; n++) { in dtExtendPage()
1738 sp->header.nextindex); in dtExtendPage()
1947 memcpy(stbl, sp->header.stbl, sp->header.nextindex); in dtSplitRoot()
1948 rp->header.nextindex = sp->header.nextindex; in dtSplitRoot()
1989 for (n = 0; n < rp->header.nextindex; n++) { in dtSplitRoot()
2041 sp->header.nextindex = 1; in dtSplitRoot()
2109 if (index == (p->header.nextindex - 1)) { in dtDelete()
2142 if (p->header.nextindex == 1) { in dtDelete()
2181 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - in dtDelete()
2192 if (DO_INDEX(ip) && index < p->header.nextindex) { in dtDelete()
2197 for (i = index; i < p->header.nextindex; i++) { in dtDelete()
2231 int index, nextindex; in dtDeleteUp() local
2308 nextindex = p->header.nextindex; in dtDeleteUp()
2315 if (nextindex == 1) { in dtDeleteUp()
2400 ((p->header.nextindex - 1) >> L2DTSLOTSIZE) - in dtDeleteUp()
2581 p->header.nextindex = 0; in dtInitRoot()
2641 for (i = 0; i < p->header.nextindex; i++) { in add_missing_indices()
2886 for (i = index; i < p->header.nextindex; i++) { in jfs_readdir()
3138 if (index < p->header.nextindex) in dtReadNext()
3193 while (pn >= p->header.nextindex) { in dtReadNext()
3194 pn -= p->header.nextindex; in dtReadNext()
3237 if (index >= p->header.nextindex) { in dtReadNext()
3601 int hsi, fsi, klen, len, nextindex; in dtInsertEntry() local
3715 nextindex = p->header.nextindex; in dtInsertEntry()
3716 if (index < nextindex) { in dtInsertEntry()
3717 memmove(stbl + index + 1, stbl + index, nextindex - index); in dtInsertEntry()
3727 for (n = index + 1; n <= nextindex; n++) { in dtInsertEntry()
3741 ++p->header.nextindex; in dtInsertEntry()
3789 for (di = 0; si < sp->header.nextindex; si++, di++) { in dtMoveEntry()
3936 dp->header.nextindex = di; in dtMoveEntry()
4030 si = p->header.nextindex; in dtDeleteEntry()
4034 p->header.nextindex--; in dtDeleteEntry()