Lines Matching refs:fsi

1325 	int fsi, stblsize;  in dtSplitPage()  local
1398 fsi = rp->header.stblindex + stblsize; in dtSplitPage()
1399 rp->header.freelist = fsi; in dtSplitPage()
1400 rp->header.freecnt = rp->header.maxslot - fsi; in dtSplitPage()
1425 f = &rp->slot[fsi]; in dtSplitPage()
1426 for (fsi++; fsi < rp->header.maxslot; f++, fsi++) in dtSplitPage()
1427 f->next = fsi; in dtSplitPage()
1541 fsi = rp->header.freelist; in dtSplitPage()
1542 f = &rp->slot[fsi]; in dtSplitPage()
1543 for (fsi++; fsi < rp->header.maxslot; f++, fsi++) in dtSplitPage()
1544 f->next = fsi; in dtSplitPage()
1625 int fsi, last; in dtExtendPage() local
1757 fsi = oldstblindex; in dtExtendPage()
1758 f = &sp->slot[fsi]; in dtExtendPage()
1760 for (n = 0; n < oldstblsize; n++, fsi++, f++) { in dtExtendPage()
1762 last = fsi; in dtExtendPage()
1771 fsi = n = newstblindex + newstblsize; in dtExtendPage()
1772 f = &sp->slot[fsi]; in dtExtendPage()
1773 for (fsi++; fsi < sp->header.maxslot; f++, fsi++) in dtExtendPage()
1774 f->next = fsi; in dtExtendPage()
1778 fsi = sp->header.freelist; in dtExtendPage()
1779 if (fsi == -1) in dtExtendPage()
1783 f = &sp->slot[fsi]; in dtExtendPage()
1784 fsi = f->next; in dtExtendPage()
1785 } while (fsi != -1); in dtExtendPage()
1872 int fsi, stblsize, n; in dtSplitRoot() local
1945 fsi = n = DTROOTMAXSLOT + stblsize; in dtSplitRoot()
1946 f = &rp->slot[fsi]; in dtSplitRoot()
1947 for (fsi++; fsi < rp->header.maxslot; f++, fsi++) in dtSplitRoot()
1948 f->next = fsi; in dtSplitRoot()
1952 fsi = sp->header.freelist; in dtSplitRoot()
1953 if (fsi == -1) in dtSplitRoot()
1956 rp->header.freelist = fsi; in dtSplitRoot()
1959 f = &rp->slot[fsi]; in dtSplitRoot()
1960 fsi = f->next; in dtSplitRoot()
1961 } while (fsi != -1); in dtSplitRoot()
2032 fsi = DTENTRYSTART + 1; in dtSplitRoot()
2033 f = &sp->slot[fsi]; in dtSplitRoot()
2036 for (fsi++; fsi < DTROOTMAXSLOT; f++, fsi++) in dtSplitRoot()
2037 f->next = fsi; in dtSplitRoot()
2802 int fsi; in dtInitRoot() local
2866 fsi = 1; in dtInitRoot()
2867 f = &p->slot[fsi]; in dtInitRoot()
2870 for (fsi++; fsi < DTROOTMAXSLOT; f++, fsi++) in dtInitRoot()
2871 f->next = fsi; in dtInitRoot()
3878 int hsi, fsi, klen, len, nextindex; in dtInsertEntry() local
3892 hsi = fsi = p->header.freelist; in dtInsertEntry()
3893 h = &p->slot[fsi]; in dtInsertEntry()
3940 fsi = p->header.freelist; in dtInsertEntry()
3941 t = &p->slot[fsi]; in dtInsertEntry()
3946 if (fsi != xsi + 1) { in dtInsertEntry()
3959 lv->offset = fsi; in dtInsertEntry()
3968 xsi = fsi; in dtInsertEntry()
4232 int fsi; /* free entry slot index */ in dtDeleteEntry() local
4242 fsi = stbl[fi]; in dtDeleteEntry()
4249 lv->offset = fsi; in dtDeleteEntry()
4252 t = &p->slot[fsi]; in dtDeleteEntry()
4261 xsi = fsi; in dtDeleteEntry()
4300 p->header.freelist = fsi; in dtDeleteEntry()
4333 int fsi, xsi, n; in dtTruncateEntry() local
4355 fsi = si; in dtTruncateEntry()
4397 p->header.freelist = fsi; in dtTruncateEntry()
4409 int fsi; /* free entry slot index */ in dtLinelockFreelist() local
4417 fsi = p->header.freelist; in dtLinelockFreelist()
4424 lv->offset = fsi; in dtLinelockFreelist()
4427 xsi = fsi; in dtLinelockFreelist()
4429 t = &p->slot[fsi]; in dtLinelockFreelist()