Lines Matching defs:pages

30  *	3. Tag kernel pages into corresponding bitmap
133 * Allocate pages for buffers used in writing out the statefile
215 * Remember how many pages we plan to save to statefile.
217 * Untag those pages that will not be saved to statefile.
229 * Some pages contain volatile data (cpr_buf and storage area for
232 * bitmaps. Now tag them into the volatile bitmaps. The pages in
242 * statefile_size = all the headers + total pages +
243 * number of pages used by the bitmaps.
342 * pages *before* dumping them because the disk driver makes
344 * pages referenced in the bitmaps are dumped out later as
349 CPR_DEBUG(CPR_DEBUG7, "%s untag %ld sens pages\n", str, spages);
378 * sanity check to verify the right number of pages were dumped
402 * - writes the remaining user pages
403 * - writes the kernel pages
443 * sensitive pages are saved
453 * is quiesced. Let's call the kernel pages that tend to be affected
454 * 'sensitive kpages' here. To avoid saving inconsistent pages, we
455 * will allocate some storage space to save the clean sensitive pages
457 * much memory left at this stage, the sensitive pages will be
509 * a page-count from each range is accumulated at arg->pages.
516 cwip->pages += cpr_count_pages(base, size,
524 * a page-count from each range is accumulated at arg->pages.
563 prom_printf("walked %d sub-ranges, total pages %ld\n",
566 mapflag, bitfunc, cwinfo.pages);
569 return (cwinfo.pages);
576 * arg->pages.
583 cwip->pages += cpr_count_pages(base, size,
608 prom_printf("walked %d sub-ranges, total pages %ld\n",
611 mapflag, bitfunc, cwinfo.pages);
614 return (cwinfo.pages);
662 * Count pages within each kernel segment; call cpr_sparse_seg_check()
673 pgcnt_t pages;
676 pages = 0;
679 pages += (ste->st_fcn)(mapflag, bitfunc, segp);
681 pages += cpr_count_pages(segp->s_base,
686 return (pages);
691 * count kernel pages within kas and any special ranges
699 * Some pages need to be taken care of differently.
700 * eg: panicbuf pages of sun4m are not in kas but they need
701 * to be saved. On sun4u, the physical pages of panicbuf are
708 CPR_DEBUG(CPR_DEBUG7, "\ncpr_count_kpages: %ld pages, 0x%lx bytes\n",
798 * Go thru all pages and pick up any page not caught during the invalidation
799 * stage. This is also used to save pages with cow lock or phys page lock held
827 CPR_DEBUG(CPR_DEBUG7, "cpr_count_upages: %ld pages, 0x%lx bytes\n",
835 * try compressing pages based on cflag,
842 cpr_compress_pages(cpd_t *dp, pgcnt_t pages, int cflag)
848 nbytes = mmu_ptob(pages);
920 CPR_DEBUG(CPR_DEBUG3, "mapped-in %ld pages, vaddr 0x%p, pfn 0x%lx\n",
941 * Unmap the pages for tlb and vac flushing
1179 CPR_DEBUG(CPR_DEBUG7, "cpr_count_vpages: %ld pages, 0x%lx bytes\n",