Lines Matching refs:pages
457 size_t pages, pagesize, pagelen;
491 * - Control pages
543 * if set, randomly truncates all pages (except
553 * Count the maximum number of pages we will need and allocate
556 pages = 0;
561 pages += (P2ROUNDUP(pp->ssp_len, pagesize) /
565 if ((scratch = mmap(NULL, pages * pagesize,
569 "failed to mmap() pages for truncation");
578 pages = P2ROUNDUP(pp->ssp_len, pagesize) / pagesize;
580 pp->ssp_mmap_len = pages * pagesize;
590 (void) munmap(pp->ssp_mmap_base + pages * pagesize,
592 scratch += (pages + 1) * pagesize;