Lines Matching refs:nbytes
86 u_int32_t n, nbytes, nksize; in __bt_split() local
174 nbytes = NBINTERNAL(bi->ksize); in __bt_split()
178 nbytes = NBINTERNAL(bl->ksize); in __bt_split()
188 if (n < nbytes) { in __bt_split()
190 bt_pfxsaved += nbytes - n; in __bt_split()
192 nbytes = n; in __bt_split()
200 nbytes = NRINTERNAL; in __bt_split()
207 if ((u_int32_t)(h->upper - h->lower) < nbytes + sizeof(indx_t)) { in __bt_split()
210 bt_root(t, h, &l, &r, &skip, nbytes) : in __bt_split()
211 bt_page(t, h, &l, &r, &skip, nbytes); in __bt_split()
226 h->linp[skip] = h->upper -= nbytes; in __bt_split()
228 memmove(dest, bi, nbytes); in __bt_split()
232 h->linp[skip] = h->upper -= nbytes; in __bt_split()
257 h->linp[skip] = h->upper -= nbytes; in __bt_split()
275 h->linp[skip] = h->upper -= nbytes; in __bt_split()
519 u_int32_t nbytes; in bt_broot() local
530 nbytes = NBINTERNAL(0); in bt_broot()
531 h->linp[0] = h->upper = t->bt_psize - nbytes; in bt_broot()
538 nbytes = NBINTERNAL(bl->ksize); in bt_broot()
539 __PAST_END(h->linp, 1) = h->upper -= nbytes; in bt_broot()
557 nbytes = NBINTERNAL(bi->ksize); in bt_broot()
558 __PAST_END(h->linp, 1) = h->upper -= nbytes; in bt_broot()
560 memmove(dest, bi, nbytes); in bt_broot()
602 u_int32_t nbytes; in bt_psplit() local
618 nbytes = ilen; in bt_psplit()
624 nbytes = NBINTERNAL(bi->ksize); in bt_psplit()
629 nbytes = NBLEAF(bl); in bt_psplit()
634 nbytes = NRINTERNAL; in bt_psplit()
639 nbytes = NRLEAF(rl); in bt_psplit()
652 if ((skip <= off && used + nbytes + sizeof(indx_t) >= full) || in bt_psplit()
662 l->linp[off] = l->upper -= nbytes; in bt_psplit()
663 memmove((char *)l + l->upper, src, nbytes); in bt_psplit()
666 used += nbytes + sizeof(indx_t); in bt_psplit()
721 nbytes = NBINTERNAL(bi->ksize); in bt_psplit()
725 nbytes = NBLEAF(bl); in bt_psplit()
729 nbytes = NRINTERNAL; in bt_psplit()
733 nbytes = NRLEAF(rl); in bt_psplit()
739 r->linp[off] = r->upper -= nbytes; in bt_psplit()
740 memmove((char *)r + r->upper, src, nbytes); in bt_psplit()