Home
last modified time | relevance | path

Searched refs:saveable (Results 1 – 1 of 1) sorted by relevance

/kernel/power/
Dsnapshot.c1663 static unsigned long minimum_image_size(unsigned long saveable) in minimum_image_size() argument
1673 return saveable <= size ? 0 : saveable - size; in minimum_image_size()
1701 unsigned long saveable, size, max_size, count, highmem, pages = 0; in hibernate_preallocate_memory() local
1726 saveable = count_data_pages(); in hibernate_preallocate_memory()
1732 count = saveable; in hibernate_preallocate_memory()
1733 saveable += save_highmem; in hibernate_preallocate_memory()
1759 if (size >= saveable) { in hibernate_preallocate_memory()
1761 pages += preallocate_image_memory(saveable - pages, avail_normal); in hibernate_preallocate_memory()
1766 pages = minimum_image_size(saveable); in hibernate_preallocate_memory()
1785 shrink_all_memory(saveable - size); in hibernate_preallocate_memory()