Lines Matching refs:si
174 static int dtCompare(struct component_name * key, dtpage_t * p, int si);
176 static int ciCompare(struct component_name * key, dtpage_t * p, int si,
188 static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp,
1344 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local
1521 si = stbl[nxt]; in dtSplitPage()
1524 ldtentry = (struct ldtentry *) & sp->slot[si]; in dtSplitPage()
1533 idtentry = (struct idtentry *) & sp->slot[si]; in dtSplitPage()
3594 int si) in dtCompare() argument
3621 ih = (struct idtentry *) & p->slot[si]; in dtCompare()
3622 si = ih->next; in dtCompare()
3639 t = (struct dtslot *) & p->slot[si]; in dtCompare()
3649 si = t->next; in dtCompare()
3670 int si, /* entry slot index */ in ciCompare() argument
3704 lh = (struct ldtentry *) & p->slot[si]; in ciCompare()
3705 si = lh->next; in ciCompare()
3717 ih = (struct idtentry *) & p->slot[si]; in ciCompare()
3718 si = ih->next; in ciCompare()
3742 t = (struct dtslot *) & p->slot[si]; in ciCompare()
3759 si = t->next; in ciCompare()
3846 int si; in dtGetKey() local
3857 si = stbl[i]; in dtGetKey()
3859 lh = (struct ldtentry *) & p->slot[si]; in dtGetKey()
3860 si = lh->next; in dtGetKey()
3868 ih = (struct idtentry *) & p->slot[si]; in dtGetKey()
3869 si = ih->next; in dtGetKey()
3886 while (si >= 0) { in dtGetKey()
3888 t = &p->slot[si]; in dtGetKey()
3894 si = t->next; in dtGetKey()
4065 static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp, in dtMoveEntry() argument
4094 slv->offset = sstbl[si]; in dtMoveEntry()
4101 for (di = 0; si < sp->header.nextindex; si++, di++) { in dtMoveEntry()
4102 ssi = sstbl[si]; in dtMoveEntry()
4271 int si, freecnt; in dtDeleteEntry() local
4290 si = ((struct ldtentry *) t)->next; in dtDeleteEntry()
4292 si = ((struct idtentry *) t)->next; in dtDeleteEntry()
4293 t->next = si; in dtDeleteEntry()
4300 while (si >= 0) { in dtDeleteEntry()
4302 if (si != xsi + 1) { in dtDeleteEntry()
4315 lv->offset = si; in dtDeleteEntry()
4320 xsi = si; in dtDeleteEntry()
4323 t = &p->slot[si]; in dtDeleteEntry()
4325 si = t->next; in dtDeleteEntry()
4342 si = p->header.nextindex; in dtDeleteEntry()
4343 if (fi < si - 1) in dtDeleteEntry()
4344 memmove(&stbl[fi], &stbl[fi + 1], si - fi - 1); in dtDeleteEntry()
4366 int si, freecnt; in dtTruncateEntry() local
4386 si = ((struct idtentry *) t)->next; in dtTruncateEntry()
4391 fsi = si; in dtTruncateEntry()
4395 while (si >= 0) { in dtTruncateEntry()
4397 if (si != xsi + 1) { in dtTruncateEntry()
4410 lv->offset = si; in dtTruncateEntry()
4415 xsi = si; in dtTruncateEntry()
4418 t = &p->slot[si]; in dtTruncateEntry()
4420 si = t->next; in dtTruncateEntry()
4447 int si; in dtLinelockFreelist() local
4466 si = t->next; in dtLinelockFreelist()
4469 while (si < m && si >= 0) { in dtLinelockFreelist()
4471 if (si != xsi + 1) { in dtLinelockFreelist()
4484 lv->offset = si; in dtLinelockFreelist()
4489 xsi = si; in dtLinelockFreelist()
4491 t = &p->slot[si]; in dtLinelockFreelist()
4492 si = t->next; in dtLinelockFreelist()