Lines Matching refs:nbytes
92 uint32_t n, nbytes, nksize = 0; /* pacify gcc */ in __bt_split() local
182 nbytes = NBINTERNAL(bi->ksize); in __bt_split()
186 nbytes = NBINTERNAL(bl->ksize); in __bt_split()
199 if (n < nbytes) { in __bt_split()
201 bt_pfxsaved += nbytes - n; in __bt_split()
203 nbytes = n; in __bt_split()
211 nbytes = NRINTERNAL; in __bt_split()
218 if ((uint32_t)h->upper - (uint32_t)h->lower < nbytes + sizeof(indx_t)) { in __bt_split()
221 bt_root(t, h, &l, &r, &skip, nbytes) : in __bt_split()
222 bt_page(t, h, &l, &r, &skip, nbytes); in __bt_split()
237 h->linp[skip] = h->upper -= nbytes; in __bt_split()
239 memmove(dest, bi, nbytes); in __bt_split()
243 h->linp[skip] = h->upper -= nbytes; in __bt_split()
268 h->linp[skip] = h->upper -= nbytes; in __bt_split()
286 h->linp[skip] = h->upper -= nbytes; in __bt_split()
540 uint32_t nbytes; in bt_broot() local
551 nbytes = NBINTERNAL(0); in bt_broot()
552 h->linp[0] = h->upper = t->bt_psize - nbytes; in bt_broot()
559 nbytes = NBINTERNAL(bl->ksize); in bt_broot()
560 h->linp[1] = h->upper -= nbytes; in bt_broot()
578 nbytes = NBINTERNAL(bi->ksize); in bt_broot()
579 h->linp[1] = h->upper -= nbytes; in bt_broot()
581 memmove(dest, bi, nbytes); in bt_broot()
623 uint32_t nbytes; in bt_psplit() local
643 nbytes = (uint32_t)ilen; in bt_psplit()
649 nbytes = NBINTERNAL(bi->ksize); in bt_psplit()
654 nbytes = NBLEAF(bl); in bt_psplit()
659 nbytes = NRINTERNAL; in bt_psplit()
664 nbytes = NRLEAF(rl); in bt_psplit()
677 if ((skip <= off && used + nbytes + sizeof(indx_t) >= full) || in bt_psplit()
687 l->linp[off] = l->upper -= nbytes; in bt_psplit()
688 memmove((char *)(void *)l + l->upper, src, nbytes); in bt_psplit()
691 temp = nbytes + sizeof(indx_t); in bt_psplit()
750 nbytes = NBINTERNAL(bi->ksize); in bt_psplit()
754 nbytes = NBLEAF(bl); in bt_psplit()
758 nbytes = NRINTERNAL; in bt_psplit()
762 nbytes = NRLEAF(rl); in bt_psplit()
768 r->linp[off] = r->upper -= nbytes; in bt_psplit()
769 memmove((char *)(void *)r + r->upper, src, nbytes); in bt_psplit()