Home | History | Annotate | Download | only in hash

Lines Matching defs:rbufp

576 	BUFHEAD *rbufp;
591 rbufp = __get_buf(hashp, __call_hash(hashp, kp, (int)size), NULL, 0);
592 if (!rbufp)
594 save_bufp = rbufp;
597 rbufp->flags |= BUF_PIN;
598 for (bp = (uint16_t *)(void *)rbufp->page, n = *bp++, ndx = 1; ndx < n;)
602 memcmp(kp, rbufp->page + *bp, size) == 0)
611 rbufp = __get_buf(hashp, (uint32_t)*bp, rbufp, 0);
612 if (!rbufp) {
617 bp = (uint16_t *)(void *)rbufp->page;
623 __find_bigpair(hashp, rbufp, ndx, kp, (int)size)) > 0)
626 bufp = rbufp;
630 rbufp = bufp;
633 rbufp = __get_buf(hashp, (uint32_t)pageno,
635 if (!rbufp) {
640 bp = (uint16_t *)(void *)rbufp->page;
654 if (__addel(hashp, rbufp, key, val)) {
674 bp = (uint16_t *)(void *)rbufp->page;
676 if (__big_return(hashp, rbufp, ndx, val, 0))
679 val->data = (uint8_t *)rbufp->page + (int)bp[ndx + 1];
684 if ((__delpair(hashp, rbufp, ndx)) ||
685 (__addel(hashp, rbufp, key, val))) {
691 if (__delpair(hashp, rbufp, ndx))
699 if (ndx != hashp->cndx - 2 || rbufp != hashp->cpage)