Lines Matching refs:page
70 #include "page.h"
98 * page previous to an overflow page that we are trying to find.
106 BUFHEAD *prev_bp, /* If prev_bp set, indicates a new overflow page. */
139 __get_page(hashp, bp->page, addr, !prev_bp, is_disk, 0))
152 * We need a buffer for this page. Either allocate one, or evict a resident
170 /* It is bad to overwrite the page under the cursor. */
197 if ((bp->page = (char *)calloc(1, hashp->BSIZE)) == NULL) {
207 * If this is an overflow page with addr 0, it's already been
215 shortp = (u_int16_t *)bp->page;
218 if ((bp->flags & BUF_MOD) && __put_page(hashp, bp->page,
222 * Update the pointer to this page (i.e. invalidate it).
258 shortp = (u_int16_t *)xbp->page;
263 xbp->page, xbp->addr, 0, 0))
282 * If prev_bp is set, this is an overflow page, hook it in to
316 * bfp->page = NULL;
333 __put_page(hashp, bp->page,
339 if (bp->page) {
340 (void)memset(bp->page, 0, hashp->BSIZE);
341 free(bp->page);