Lines Matching full:skip
67 * skip: index to leave open
82 u_int16_t skip; in __bt_split() local
90 * skip set to the offset which should be used. Additionally, l and r in __bt_split()
93 skip = argskip; in __bt_split()
95 bt_root(t, sp, &l, &r, &skip, ilen) : in __bt_split()
96 bt_page(t, sp, &l, &r, &skip, ilen); in __bt_split()
104 h->linp[skip] = h->upper -= ilen; in __bt_split()
152 skip = parent->index + 1; in __bt_split()
177 (h->prevpg != P_INVALID || skip > 1)) { in __bt_split()
207 bt_root(t, h, &l, &r, &skip, nbytes) : in __bt_split()
208 bt_page(t, h, &l, &r, &skip, nbytes); in __bt_split()
213 if (skip < (nxtindex = NEXTINDEX(h))) in __bt_split()
214 memmove(h->linp + skip + 1, h->linp + skip, in __bt_split()
215 (nxtindex - skip) * sizeof(indx_t)); in __bt_split()
223 h->linp[skip] = h->upper -= nbytes; in __bt_split()
224 dest = (char *)h + h->linp[skip]; in __bt_split()
229 h->linp[skip] = h->upper -= nbytes; in __bt_split()
230 dest = (char *)h + h->linp[skip]; in __bt_split()
246 if (skip > 0) in __bt_split()
247 dest = (char *)h + h->linp[skip - 1]; in __bt_split()
254 h->linp[skip] = h->upper -= nbytes; in __bt_split()
255 dest = (char *)h + h->linp[skip]; in __bt_split()
264 if (skip > 0) in __bt_split()
265 dest = (char *)h + h->linp[skip - 1]; in __bt_split()
272 h->linp[skip] = h->upper -= nbytes; in __bt_split()
273 dest = (char *)h + h->linp[skip]; in __bt_split()
326 * skip: pointer to index to leave open
333 bt_page(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen) in bt_page() argument
353 * a key to it (skip is NEXTINDEX()), it's likely that the data is in bt_page()
361 if (h->nextpg == P_INVALID && *skip == NEXTINDEX(h)) { in bt_page()
367 *skip = 0; in bt_page()
403 tp = bt_psplit(t, h, l, r, skip, ilen); in bt_page()
424 * skip: pointer to index to leave open
431 bt_root(BTREE *t, PAGE *h, PAGE **lp, PAGE **rp, indx_t *skip, size_t ilen) in bt_root() argument
454 tp = bt_psplit(t, h, l, r, skip, ilen); in bt_root()
598 indx_t full, half, nxt, off, skip, top, used; in bt_psplit() local
603 * Split the data to the left and right pages. Leave the skip index in bt_psplit()
609 skip = *pskip; in bt_psplit()
614 if (skip == off) { in bt_psplit()
649 if ((skip <= off && used + nbytes + sizeof(indx_t) >= full) || in bt_psplit()
656 if (skip != off) { in bt_psplit()
687 if (c->pg.index >= skip) in bt_psplit()
699 * Otherwise, adjust the skip index to reflect the new position on in bt_psplit()
702 if (skip <= off) { in bt_psplit()
703 skip = MAX_PAGE_OFFSET; in bt_psplit()
711 if (skip == nxt) { in bt_psplit()
713 skip = MAX_PAGE_OFFSET; in bt_psplit()
742 if (skip == top) in bt_psplit()