Lines Matching refs:nr_copy_pages
1511 static unsigned int nr_copy_pages; variable
1582 nr_copy_pages = 0; in swsusp_free()
2091 nr_copy_pages = copy_data_pages(©_bm, &orig_bm, &zero_bm); in swsusp_save()
2100 nr_zero_pages = nr_pages - nr_copy_pages; in swsusp_save()
2103 pr_info("Image created (%d pages copied, %d zero pages)\n", nr_copy_pages, nr_zero_pages); in swsusp_save()
2134 return nr_copy_pages + nr_meta_pages + 1; in snapshot_get_image_size()
2142 info->image_pages = nr_copy_pages; in init_header()
2195 if (handle->cur > nr_meta_pages + nr_copy_pages) in snapshot_read_next()
2301 nr_copy_pages = info->image_pages; in load_header()
2630 nr_pages = (nr_zero_pages + nr_copy_pages) - nr_highmem - allocated_unsafe_pages; in prepare_image()
2643 nr_pages = (nr_zero_pages + nr_copy_pages) - nr_highmem - allocated_unsafe_pages; in prepare_image()
2734 if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages + nr_zero_pages) in snapshot_write_next()
2815 if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages + nr_zero_pages) { in snapshot_write_finalize()
2823 return !(!nr_copy_pages || !last_highmem_page_copied() || in snapshot_image_loaded()
2824 handle->cur <= nr_meta_pages + nr_copy_pages + nr_zero_pages); in snapshot_image_loaded()