• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/power/

Lines Matching defs:saveable

848  *	count_highmem_pages - compute the total number of saveable highmem
910 * count_data_pages - compute the total number of saveable non-highmem
1043 * Memory bitmap used for marking saveable pages (during hibernation) or
1049 * will contain copies of saveable pages. During restore it is initially used
1226 * @saveable: Number of saveable pages in the system.
1234 * [number of saveable pages] - [number of pages that can be freed in theory]
1240 static unsigned long minimum_image_size(unsigned long saveable)
1251 return saveable <= size ? 0 : saveable - size;
1270 * the preallocation of memory is continued until the total number of saveable
1277 unsigned long saveable, size, max_size, count, highmem, pages = 0;
1296 /* Count the number of saveable data pages. */
1298 saveable = count_data_pages();
1304 count = saveable;
1305 saveable += save_highmem;
1319 /* Compute the maximum number of saveable pages to leave in memory. */
1325 * If the maximum is not less than the current number of saveable pages
1328 if (size >= saveable) {
1330 pages += preallocate_image_memory(saveable - pages, avail_normal);
1335 pages = minimum_image_size(saveable);
1354 shrink_all_memory(saveable - size);
1357 * The number of saveable pages in memory was too high, so apply some
1375 * size is the desired number of saveable pages to leave in
1382 * There are approximately max_size saveable pages at this point
1395 * We only need as many page frames for the image as there are saveable
1503 * saveable highmem pages in the system. If that fails, we allocate