Home | History | Annotate | Download | only in btree

Lines Matching refs:indx_t

55 static PAGE	*bt_page(BTREE *, PAGE *, PAGE **, PAGE **, indx_t *, size_t);
57 static PAGE *bt_psplit(BTREE *, PAGE *, PAGE *, PAGE *, indx_t *, size_t);
58 static PAGE *bt_root(BTREE *, PAGE *, PAGE **, PAGE **, indx_t *, size_t);
90 indx_t nxtindex;
113 _DBFIT(ilen, indx_t);
114 h->upper -= (indx_t)ilen;
218 if ((uint32_t)h->upper - (uint32_t)h->lower < nbytes + sizeof(indx_t)) {
229 (nxtindex - skip) * sizeof(indx_t));
230 h->lower += sizeof(indx_t);
347 bt_page(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
380 r->lower = BTDATAOFF + sizeof(indx_t);
448 bt_root(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen)
502 _DBFIT(sz, indx_t);
503 h->linp[0] = h->upper = (indx_t)sz;
513 h->lower = BTDATAOFF + 2 * sizeof(indx_t);
589 h->lower = BTDATAOFF + 2 * sizeof(indx_t);
614 bt_psplit(BTREE *t, PAGE *h, PAGE *l, PAGE *r, indx_t *pskip, size_t ilen)
622 indx_t full, half, nxt, off, skip, top, used;
636 _DBFIT(temp, indx_t);
637 full = (indx_t)temp;
677 if ((skip <= off && used + nbytes + sizeof(indx_t) >= full) ||
691 temp = nbytes + sizeof(indx_t);
692 _DBFIT(temp, indx_t);
693 used += (indx_t)temp;
706 temp = (off + 1) * sizeof(indx_t);
707 _DBFIT(temp, indx_t);
708 l->lower += (indx_t)temp;
771 temp = off * sizeof(indx_t);
772 _DBFIT(temp, indx_t);
773 r->lower += (indx_t)temp;
777 r->lower += sizeof(indx_t);
827 indx_t nxt, top;