Lines Matching refs:page
43 hibernate_setup() in osfmk is called to allocate page bitmaps for all dram, and
44 page out any pages it wants to (currently zero, but probably some percentage of memory).
67 Each wired page is compressed and written and then each non-wired page. Compression and
83 - hibernate_kernel_entrypoint() removes pages occupied by the raw image from the page bitmaps.
196 static uint32_t gIOHibernateFreeRatio = 0; // free page target (percent)
334 // free page
349 uint32_t page = *pPage;
353 while ((bitmap = hibernate_page_bitmap_pin(list, &page)))
355 count = hibernate_page_bitmap_count(bitmap, TRUE, page);
358 page += count;
359 if (page <= bitmap->last_page)
363 *pPage = page;
365 count = hibernate_page_bitmap_count(bitmap, FALSE, page);
1702 IOItemCount page, count;
1772 for (page = 0; page < count; page++)
1774 HIBLOG("fileExtents[%d] %qx, %qx (%qx)\n", page,
1775 fileExtents[page].start, fileExtents[page].length,
1776 fileExtents[page].start + fileExtents[page].length);
1818 page = atop_32(sectHIBB);
1819 count = atop_32(round_page(sectHIBB + sectSizeHIB)) - page;
1820 header->restore1CodePage = page;
1827 for (page = 0; page < count; page++)
1894 for (page = 0; page < count; page += page_size)
1895 sum1 += hibernate_sum(src + page, page_size);
1937 page = atop_32(sectHIBB);
1938 count = atop_32(round_page(sectHIBB + sectSizeHIB)) - page;
1940 page, count,
1978 for (page = 0; page < count; page++)
2312 unsigned int page;
2328 for (page = 0; page < count; page++)