• 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:highmem

27 #include <linux/highmem.h>
804 * count_free_highmem_pages - compute the total number of free highmem
821 * saveable_highmem_page - Determine whether a highmem page should be
848 * count_highmem_pages - compute the total number of saveable highmem
879 * saveable_page - Determine whether a non-highmem page should be included
910 * count_data_pages - compute the total number of saveable non-highmem
1038 * Numbers of normal and highmem page frames allocated for hibernation image
1051 * duplicated in @orig_bm and it is released. On highmem systems it is next
1052 * used for marking "safe" highmem pages, but it has to be reinitialized for
1156 unsigned long highmem,
1159 unsigned long alloc = __fraction(nr_pages, highmem, total);
1170 unsigned long highmem,
1277 unsigned long saveable, size, max_size, count, highmem, pages = 0;
1306 highmem = save_highmem;
1311 highmem += zone_page_state(zone, NR_FREE_PAGES);
1316 count += highmem;
1361 * highmem and non-highmem zones separately.
1363 pages_highmem = preallocate_image_highmem(highmem / 2);
1367 /* We have exhausted non-highmem pages, try highmem. */
1386 size = preallocate_highmem_fraction(alloc, highmem, count);
1416 * count_pages_for_highmem - compute the number of non-highmem pages
1417 * that will be necessary for creating copies of highmem pages.
1459 * get_highmem_buffer - if there are some highmem pages in the suspend
1470 * alloc_highmem_image_pages - allocate some highmem pages for the image.
1472 * highmem pages is lesser than that, allocate them all.
1502 * We first try to allocate as many highmem pages as there are
1503 * saveable highmem pages in the system. If that fails, we allocate
1504 * non-highmem pages for the copies of the remaining highmem ones.
1506 * In this approach it is likely that the copies of highmem pages will
1692 * highmem page (we may not be called again).
1816 /* struct highmem_pbe is used for creating the list of highmem pages that
1826 /* List of highmem PBEs needed for restoring the highmem pages that were
1834 * count_highmem_image_pages - compute the number of highmem pages in the
1856 * prepare_highmem_image - try to allocate as many highmem pages as
1857 * there are highmem image pages (@nr_highmem_p points to the variable
1858 * containing the number of highmem image pages). The pages that are
1863 * NOTE: This function should not be called if there are no highmem
1908 * get_highmem_page_buffer - for given highmem image page find the buffer
1912 * the page is to be made in the highmem, @buffer is returned. Otherwise,
1969 * copy_last_highmem_page - copy the contents of a highmem image from
2032 * later. On systems with high memory a list of "safe" highmem pages is
2045 /* If there is no highmem, the buffer will not be necessary */
2236 * to be a highmem page and its contents should be stored in the
2237 * highmem. Additionally, it releases the memory that will not be
2274 * restore_highmem - for each highmem page that was allocated before
2280 * again and restore the "before resume" highmem state.