Lines Matching refs:rbufp
575 BUFHEAD *rbufp; in hash_access() local
589 rbufp = __get_buf(hashp, __call_hash(hashp, kp, size), NULL, 0); in hash_access()
590 if (!rbufp) in hash_access()
592 save_bufp = rbufp; in hash_access()
595 rbufp->flags |= BUF_PIN; in hash_access()
596 for (bp = (u_int16_t *)rbufp->page, n = *bp++, ndx = 1; ndx < n;) in hash_access()
600 memcmp(kp, rbufp->page + *bp, size) == 0) in hash_access()
609 rbufp = __get_buf(hashp, *bp, rbufp, 0); in hash_access()
610 if (!rbufp) { in hash_access()
615 bp = (u_int16_t *)rbufp->page; in hash_access()
621 __find_bigpair(hashp, rbufp, ndx, kp, size)) > 0) in hash_access()
624 bufp = rbufp; in hash_access()
628 rbufp = bufp; in hash_access()
631 rbufp = __get_buf(hashp, pageno, bufp, 0); in hash_access()
632 if (!rbufp) { in hash_access()
637 bp = (u_int16_t *)rbufp->page; in hash_access()
651 if (__addel(hashp, rbufp, key, val)) { in hash_access()
671 bp = (u_int16_t *)rbufp->page; in hash_access()
673 if (__big_return(hashp, rbufp, ndx, val, 0)) in hash_access()
676 val->data = (u_char *)rbufp->page + (int)bp[ndx + 1]; in hash_access()
681 if ((__delpair(hashp, rbufp, ndx)) || in hash_access()
682 (__addel(hashp, rbufp, key, val))) { in hash_access()
688 if (__delpair(hashp, rbufp, ndx)) in hash_access()