Lines Matching refs:si
161 static int dtCompare(struct component_name * key, dtpage_t * p, int si);
163 static int ciCompare(struct component_name * key, dtpage_t * p, int si,
175 static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp,
1332 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local
1509 si = stbl[nxt]; in dtSplitPage()
1512 ldtentry = (struct ldtentry *) & sp->slot[si]; in dtSplitPage()
1521 idtentry = (struct idtentry *) & sp->slot[si]; in dtSplitPage()
3580 int si) in dtCompare() argument
3607 ih = (struct idtentry *) & p->slot[si]; in dtCompare()
3608 si = ih->next; in dtCompare()
3625 t = (struct dtslot *) & p->slot[si]; in dtCompare()
3635 si = t->next; in dtCompare()
3656 int si, /* entry slot index */ in ciCompare() argument
3690 lh = (struct ldtentry *) & p->slot[si]; in ciCompare()
3691 si = lh->next; in ciCompare()
3703 ih = (struct idtentry *) & p->slot[si]; in ciCompare()
3704 si = ih->next; in ciCompare()
3728 t = (struct dtslot *) & p->slot[si]; in ciCompare()
3745 si = t->next; in ciCompare()
3832 int si; in dtGetKey() local
3843 si = stbl[i]; in dtGetKey()
3845 lh = (struct ldtentry *) & p->slot[si]; in dtGetKey()
3846 si = lh->next; in dtGetKey()
3854 ih = (struct idtentry *) & p->slot[si]; in dtGetKey()
3855 si = ih->next; in dtGetKey()
3872 while (si >= 0) { in dtGetKey()
3874 t = &p->slot[si]; in dtGetKey()
3880 si = t->next; in dtGetKey()
4051 static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp, in dtMoveEntry() argument
4080 slv->offset = sstbl[si]; in dtMoveEntry()
4087 for (di = 0; si < sp->header.nextindex; si++, di++) { in dtMoveEntry()
4088 ssi = sstbl[si]; in dtMoveEntry()
4257 int si, freecnt; in dtDeleteEntry() local
4276 si = ((struct ldtentry *) t)->next; in dtDeleteEntry()
4278 si = ((struct idtentry *) t)->next; in dtDeleteEntry()
4279 t->next = si; in dtDeleteEntry()
4286 while (si >= 0) { in dtDeleteEntry()
4288 if (si != xsi + 1) { in dtDeleteEntry()
4301 lv->offset = si; in dtDeleteEntry()
4306 xsi = si; in dtDeleteEntry()
4309 t = &p->slot[si]; in dtDeleteEntry()
4311 si = t->next; in dtDeleteEntry()
4328 si = p->header.nextindex; in dtDeleteEntry()
4329 if (fi < si - 1) in dtDeleteEntry()
4330 memmove(&stbl[fi], &stbl[fi + 1], si - fi - 1); in dtDeleteEntry()
4352 int si, freecnt; in dtTruncateEntry() local
4372 si = ((struct idtentry *) t)->next; in dtTruncateEntry()
4377 fsi = si; in dtTruncateEntry()
4381 while (si >= 0) { in dtTruncateEntry()
4383 if (si != xsi + 1) { in dtTruncateEntry()
4396 lv->offset = si; in dtTruncateEntry()
4401 xsi = si; in dtTruncateEntry()
4404 t = &p->slot[si]; in dtTruncateEntry()
4406 si = t->next; in dtTruncateEntry()
4433 int si; in dtLinelockFreelist() local
4452 si = t->next; in dtLinelockFreelist()
4455 while (si < m && si >= 0) { in dtLinelockFreelist()
4457 if (si != xsi + 1) { in dtLinelockFreelist()
4470 lv->offset = si; in dtLinelockFreelist()
4475 xsi = si; in dtLinelockFreelist()
4477 t = &p->slot[si]; in dtLinelockFreelist()
4478 si = t->next; in dtLinelockFreelist()