Lines Matching defs:prev_bp
95 * We are looking for a buffer with address "addr". If prev_bp is NULL, then
96 * address is a bucket index. If prev_bp is not NULL, then it points to the
99 * CAVEAT: The buffer header accessed via prev_bp's ovfl field may no longer
107 BUFHEAD *prev_bp,
108 int newpage /* If prev_bp set, indicates a new overflow page. */
118 if (prev_bp) {
119 bp = prev_bp->ovfl;
137 bp = newbuf(hashp, addr, prev_bp);
139 __get_page(hashp, bp->page, addr, !prev_bp, is_disk, 0))
141 if (!prev_bp)
158 newbuf(HTAB *hashp, uint32_t addr, BUFHEAD *prev_bp)
258 if (prev_bp) {
260 * If prev_bp is set, this is an overflow page, hook it in to
265 prev_bp->addr, (prev_bp->ovfl ? prev_bp->ovfl->addr : 0),
268 prev_bp->ovfl = bp;