Lines Matching refs:prev_bp
90 * We are looking for a buffer with address "addr". If prev_bp is NULL, then
91 * address is a bucket index. If prev_bp is not NULL, then it points to the
94 * CAVEAT: The buffer header accessed via prev_bp's ovfl field may no longer
100 BUFHEAD *prev_bp, /* If prev_bp set, indicates a new overflow page. */
110 if (prev_bp) {
111 bp = prev_bp->ovfl;
131 bp = newbuf(hashp, addr, prev_bp);
133 __get_page(hashp, bp->page, addr, !prev_bp, is_disk, 0))
135 if (!prev_bp)
152 newbuf(HTAB *hashp, u_int32_t addr, BUFHEAD *prev_bp)
171 /* If prev_bp is part of bp overflow, create a new buffer. */
172 if (hashp->nbufs == 0 && prev_bp && bp->ovfl) {
176 if (ovfl == prev_bp) {
274 if (prev_bp) {
276 * If prev_bp is set, this is an overflow page, hook it in to
281 prev_bp->addr, (prev_bp->ovfl ? prev_bp->ovfl->addr : 0),
284 prev_bp->ovfl = bp;