Lines Matching refs:page
68 #include "page.h"
96 * page previous to an overflow page that we are trying to find.
104 BUFHEAD *prev_bp, /* If prev_bp set, indicates a new overflow page. */
137 __get_page(hashp, bp->page, addr, !prev_bp, is_disk, 0))
150 * We need a buffer for this page. Either allocate one, or evict a resident
168 /* It is bad to overwrite the page under the cursor. */
195 if ((bp->page = (char *)calloc(1, hashp->BSIZE)) == NULL) {
205 * If this is an overflow page with addr 0, it's already been
213 shortp = (u_int16_t *)bp->page;
216 if ((bp->flags & BUF_MOD) && __put_page(hashp, bp->page,
220 * Update the pointer to this page (i.e. invalidate it).
256 shortp = (u_int16_t *)xbp->page;
261 xbp->page, xbp->addr, 0, 0))
280 * If prev_bp is set, this is an overflow page, hook it in to
314 * bfp->page = NULL;
331 __put_page(hashp, bp->page,
337 if (bp->page) {
338 (void)memset(bp->page, 0, hashp->BSIZE);
339 free(bp->page);