Lines Matching refs:nr_copy_pages
1560 static unsigned int nr_copy_pages; variable
1631 nr_copy_pages = 0; in swsusp_free()
2140 nr_copy_pages = copy_data_pages(©_bm, &orig_bm, &zero_bm); in swsusp_save()
2149 nr_zero_pages = nr_pages - nr_copy_pages; in swsusp_save()
2152 pr_info("Image created (%d pages copied, %d zero pages)\n", nr_copy_pages, nr_zero_pages); in swsusp_save()
2183 return nr_copy_pages + nr_meta_pages + 1; in snapshot_get_image_size()
2190 info->image_pages = nr_copy_pages; in init_header()
2243 if (handle->cur > nr_meta_pages + nr_copy_pages) in snapshot_read_next()
2349 nr_copy_pages = info->image_pages; in load_header()
2678 nr_pages = (nr_zero_pages + nr_copy_pages) - nr_highmem - allocated_unsafe_pages; in prepare_image()
2691 nr_pages = (nr_zero_pages + nr_copy_pages) - nr_highmem - allocated_unsafe_pages; in prepare_image()
2782 if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages + nr_zero_pages) in snapshot_write_next()
2867 if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages + nr_zero_pages) { in snapshot_write_finalize()
2876 return !(!nr_copy_pages || !last_highmem_page_copied() || in snapshot_image_loaded()
2877 handle->cur <= nr_meta_pages + nr_copy_pages + nr_zero_pages); in snapshot_image_loaded()