Lines Matching refs:nbytes

83 	u_int32_t n, nbytes, nksize;  in __bt_split()  local
171 nbytes = NBINTERNAL(bi->ksize); in __bt_split()
175 nbytes = NBINTERNAL(bl->ksize); in __bt_split()
185 if (n < nbytes) { in __bt_split()
187 bt_pfxsaved += nbytes - n; in __bt_split()
189 nbytes = n; in __bt_split()
197 nbytes = NRINTERNAL; in __bt_split()
204 if ((u_int32_t)(h->upper - h->lower) < nbytes + sizeof(indx_t)) { 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()
223 h->linp[skip] = h->upper -= nbytes; in __bt_split()
225 memmove(dest, bi, nbytes); in __bt_split()
229 h->linp[skip] = h->upper -= nbytes; in __bt_split()
254 h->linp[skip] = h->upper -= nbytes; in __bt_split()
272 h->linp[skip] = h->upper -= nbytes; in __bt_split()
516 u_int32_t nbytes; in bt_broot() local
527 nbytes = NBINTERNAL(0); in bt_broot()
528 h->linp[0] = h->upper = t->bt_psize - nbytes; in bt_broot()
535 nbytes = NBINTERNAL(bl->ksize); in bt_broot()
536 __PAST_END(h->linp, 1) = h->upper -= nbytes; in bt_broot()
554 nbytes = NBINTERNAL(bi->ksize); in bt_broot()
555 __PAST_END(h->linp, 1) = h->upper -= nbytes; in bt_broot()
557 memmove(dest, bi, nbytes); in bt_broot()
599 u_int32_t nbytes; in bt_psplit() local
615 nbytes = ilen; in bt_psplit()
621 nbytes = NBINTERNAL(bi->ksize); in bt_psplit()
626 nbytes = NBLEAF(bl); in bt_psplit()
631 nbytes = NRINTERNAL; in bt_psplit()
636 nbytes = NRLEAF(rl); in bt_psplit()
649 if ((skip <= off && used + nbytes + sizeof(indx_t) >= full) || in bt_psplit()
659 l->linp[off] = l->upper -= nbytes; in bt_psplit()
660 memmove((char *)l + l->upper, src, nbytes); in bt_psplit()
663 used += nbytes + sizeof(indx_t); in bt_psplit()
718 nbytes = NBINTERNAL(bi->ksize); in bt_psplit()
722 nbytes = NBLEAF(bl); in bt_psplit()
726 nbytes = NRINTERNAL; in bt_psplit()
730 nbytes = NRLEAF(rl); in bt_psplit()
736 r->linp[off] = r->upper -= nbytes; in bt_psplit()
737 memmove((char *)r + r->upper, src, nbytes); in bt_psplit()